From 256384875e2ef7bc3ee9c16a924a66b2da0f79d9 Mon Sep 17 00:00:00 2001 From: Andrei Giurgiu Date: Thu, 17 Jun 2021 10:51:11 -0700 Subject: [PATCH 1/6] Add TypingNotification options for setting SenderDisplay Name --- .../azure-communication-chat/README.md | 9 +- .../chat/ChatThreadAsyncClient.java | 52 +++- .../communication/chat/ChatThreadClient.java | 31 ++- .../chat/implementation/ChatThreadsImpl.java | 261 +++++++++++------- .../models/SendTypingNotificationOptions.java | 41 +++ .../communication/chat/ReadmeSamples.java | 5 +- .../chat/ChatThreadAsyncClientTest.java | 27 ++ .../chat/ChatThreadClientTest.java | 26 ++ ...hreadWithoutSettingRepeatabilityID[1].json | 79 +++--- ...ntTest.canCreateThreadWithResponse[1].json | 63 ++--- ...hatAsyncClientTest.canCreateThread[1].json | 61 ++-- ...st.canDeleteChatThreadWithResponse[1].json | 77 +++--- ...syncClientTest.canDeleteChatThread[1].json | 77 +++--- ...cClientTest.canGetChatThreadClient[1].json | 47 ++-- ...nGetExistingChatThreadWithResponse[1].json | 79 +++--- ...lientTest.canGetExistingChatThread[1].json | 79 +++--- ....canListChatThreadsWithMaxPageSize[1].json | 47 ++-- ...AsyncClientTest.canListChatThreads[1].json | 47 ++-- ...alidParticipantsOnCreateChatThread[1].json | 4 +- ...ncClientTest.canRepeatCreateThread[1].json | 95 +++---- ....cannotCreateThreadWithNullOptions[1].json | 47 ++-- ...eThreadWithResponseWithNullOptions[1].json | 47 ++-- ...t.cannotDeleteChatThreadWithNullId[1].json | 47 ++-- ...teChatThreadWithResponseWithNullId[1].json | 47 ++-- ...ntTest.canCreateThreadWithResponse[1].json | 63 ++--- .../ChatClientTest.canCreateThread[1].json | 63 ++--- ...st.canDeleteChatThreadWithResponse[1].json | 77 +++--- ...ChatClientTest.canDeleteChatThread[1].json | 77 +++--- ...tClientTest.canGetChatThreadClient[1].json | 47 ++-- ....canListChatThreadsWithMaxPageSize[1].json | 93 +++---- .../ChatClientTest.canListChatThreads[1].json | 93 +++---- ...st.canAddListAndRemoveMembersAsync[1].json | 121 ++++---- ...stAndRemoveMembersWithOptionsAsync[1].json | 121 ++++---- ...tAndRemoveMembersWithResponseAsync[1].json | 121 ++++---- ...stWithContextAndRemoveMembersAsync[1].json | 79 +++--- ....canAddListWithContextMembersAsync[1].json | 93 +++---- ...tTest.canAddSingleParticipantAsync[1].json | 78 +++--- ...SingleParticipantWithResponseAsync[1].json | 78 +++--- ...nDeleteExistingMessageWithResponse[1].json | 95 +++---- ...lientTest.canDeleteExistingMessage[1].json | 95 +++---- ...entTest.canListMessagesWithOptions[1].json | 63 ++--- ...eadAsyncClientTest.canListMessages[1].json | 63 ++--- ...est.canListReadReceiptsWithContext[1].json | 4 +- ...est.canListReadReceiptsWithOptions[1].json | 4 +- ...syncClientTest.canListReadReceipts[1].json | 4 +- ...est.canSendReadReceiptWithResponse[1].json | 95 +++---- ...AsyncClientTest.canSendReadReceipt[1].json | 95 +++---- ...ientTest.canSendThenGetHtmlMessage[1].json | 97 ++++--- ....canSendThenGetMessageWithResponse[1].json | 97 ++++--- ...ncClientTest.canSendThenGetMessage[1].json | 97 ++++--- ...endThenListReadReceiptsWithOptions[1].json | 63 ++--- ...ndThenListReadReceiptsWithResponse[1].json | 63 ++--- ...ntTest.canSendThenListReadReceipts[1].json | 63 ++--- ...nSendTypingNotificationWithOptions[1].json | 121 ++++++++ ...otificationWithResponseWithOptions[1].json | 121 ++++++++ ...SendTypingNotificationWithResponse[1].json | 80 +++--- ...ientTest.canSendTypingNotification[1].json | 80 +++--- ...nUpdateExistingMessageWithResponse[1].json | 111 ++++---- ...lientTest.canUpdateExistingMessage[1].json | 63 ++--- ...ntTest.canUpdateThreadWithResponse[1].json | 93 +++---- ...eadAsyncClientTest.canUpdateThread[1].json | 63 ++--- ...nnotAddParticipantsWithNullOptions[1].json | 63 ++--- ...cipantsWithResponseWithNullOptions[1].json | 63 ++--- ...ientTest.cannotDeleteMessageNullId[1].json | 63 ++--- ...notDeleteMessageWithRepsonseNullId[1].json | 63 ++--- ...cClientTest.cannotGetMessageNullId[1].json | 63 ++--- ....cannotGetMessageWithReponseNullId[1].json | 63 ++--- ...articipantWithNullUserWithResponse[1].json | 63 ++--- ...annotRemoveParticipantWithNullUser[1].json | 63 ++--- ...t.cannotSendMessageWithNullOptions[1].json | 63 ++--- ...MessageWithResponseWithNullOptions[1].json | 61 ++-- ...otSendReadReceiptWithNullMessageId[1].json | 63 ++--- ...ceiptWithResponseWithNullMessageId[1].json | 63 ++--- ...ientTest.cannotUpdateMessageNullId[1].json | 63 ++--- ...notUpdateMessageWithResponseNullId[1].json | 63 ++--- ...st.cannotUpdateThreadWithNullTopic[1].json | 63 ++--- ...ateThreadWithResponseWithNullTopic[1].json | 63 ++--- ...ntTest.throwsExceptionOnBadRequest[1].json | 4 +- ...ddListAndRemoveMembersWithResponse[1].json | 181 ++++++------ ...stAndRemoveParticipantsWithOptions[1].json | 197 +++++++------ ...tAndRemoveParticipantsWithResponse[1].json | 109 ++++---- ...st.canAddListAndRemoveParticipants[1].json | 181 ++++++------ ...anAddSingleParticipantWithResponse[1].json | 138 +++++---- ...ClientTest.canAddSingleParticipant[1].json | 138 +++++---- ...nDeleteExistingMessageWithResponse[1].json | 125 ++++----- ...lientTest.canDeleteExistingMessage[1].json | 125 ++++----- ...etChatThreadPropertiesWithResponse[1].json | 109 ++++---- ...entTest.canGetChatThreadProperties[1].json | 109 ++++---- ...est.canListMessagesWithOptionsSync[1].json | 145 +++++----- ...entTest.canListMessagesWithOptions[1].json | 145 +++++----- ...est.canListReadReceiptsWithContext[1].json | 4 +- ...readClientTest.canListReadReceipts[1].json | 4 +- ...dClientTest.canSendReadReceiptSync[1].json | 125 ++++----- ...canSendReadReceiptWithResponseSync[1].json | 125 ++++----- ....canSendThenGetMessageWithResponse[1].json | 127 ++++----- ...adClientTest.canSendThenGetMessage[1].json | 127 ++++----- ...endThenListReadReceiptsWithOptions[1].json | 141 +++++----- ...ndThenListReadReceiptsWithResponse[1].json | 141 +++++----- ...ntTest.canSendThenListReadReceipts[1].json | 141 +++++----- ...nSendTypingNotificationWithOptions[1].json | 169 ++++++++++++ ...otificationWithResponseWithOptions[1].json | 169 ++++++++++++ ...SendTypingNotificationWithResponse[1].json | 110 ++++---- ...ientTest.canSendTypingNotification[1].json | 110 ++++---- ...nUpdateExistingMessageWithResponse[1].json | 139 +++++----- ...lientTest.canUpdateExistingMessage[1].json | 141 +++++----- ...ntTest.canUpdateThreadWithResponse[1].json | 121 ++++---- ...atThreadClientTest.canUpdateThread[1].json | 123 ++++----- ...ntTest.throwsExceptionOnBadRequest[1].json | 4 +- .../swagger/README.md | 23 +- 109 files changed, 4792 insertions(+), 4293 deletions(-) create mode 100644 sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/models/SendTypingNotificationOptions.java create mode 100644 sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendTypingNotificationWithOptions[1].json create mode 100644 sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendTypingNotificationWithResponseWithOptions[1].json create mode 100644 sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendTypingNotificationWithOptions[1].json create mode 100644 sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendTypingNotificationWithResponseWithOptions[1].json diff --git a/sdk/communication/azure-communication-chat/README.md b/sdk/communication/azure-communication-chat/README.md index 9345aaed86720..9ddec34c46709 100644 --- a/sdk/communication/azure-communication-chat/README.md +++ b/sdk/communication/azure-communication-chat/README.md @@ -353,10 +353,15 @@ readReceiptsResponse.iterableByPage().forEach(resp -> { #### Send typing notification Use `sendTypingNotification` method to post a typing notification event to a chat thread, on behalf of a user. +`sendTypingNotificationOptions` is used to describe the typing notification request. - +- Use `senderDisplayName` to set the display name of the notification sender; + + ```Java -chatThreadClient.sendTypingNotification(); +SendTypingNotificationOptions options = new SendTypingNotificationOptions(); +options.setSenderDisplayName("Sender Display Name"); +chatThreadClient.sendTypingNotification(options); ``` diff --git a/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/ChatThreadAsyncClient.java b/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/ChatThreadAsyncClient.java index bf8d335fa0308..2e6e4454fa904 100644 --- a/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/ChatThreadAsyncClient.java +++ b/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/ChatThreadAsyncClient.java @@ -31,6 +31,7 @@ import com.azure.communication.chat.models.ListReadReceiptOptions; import com.azure.communication.chat.models.SendChatMessageOptions; import com.azure.communication.chat.models.SendChatMessageResult; +import com.azure.communication.chat.models.SendTypingNotificationOptions; import com.azure.communication.chat.models.UpdateChatMessageOptions; import com.azure.communication.chat.models.UpdateChatThreadOptions; import com.azure.communication.common.CommunicationIdentifier; @@ -734,7 +735,8 @@ Mono> deleteMessage(String chatMessageId, Context context) { @ServiceMethod(returns = ReturnType.SINGLE) public Mono sendTypingNotification() { try { - return withContext(context -> sendTypingNotification(context) + SendTypingNotificationOptions options = new SendTypingNotificationOptions(); + return withContext(context -> sendTypingNotification(options, context) .flatMap((Response res) -> { return Mono.empty(); })); @@ -753,7 +755,8 @@ public Mono sendTypingNotification() { @ServiceMethod(returns = ReturnType.SINGLE) public Mono> sendTypingNotificationWithResponse() { try { - return withContext(context -> sendTypingNotification(context)); + SendTypingNotificationOptions options = new SendTypingNotificationOptions(); + return withContext(context -> sendTypingNotification(options, context)); } catch (RuntimeException ex) { return monoError(logger, ex); } @@ -762,13 +765,54 @@ public Mono> sendTypingNotificationWithResponse() { /** * Posts a typing event to a thread, on behalf of a user. * + * @param options Options for sending the typing notification. + * @throws ChatErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono sendTypingNotification(SendTypingNotificationOptions options) { + try { + Objects.requireNonNull(options, "'options' cannot be null."); + return withContext(context -> sendTypingNotification(options, context) + .flatMap((Response res) -> { + return Mono.empty(); + })); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Posts a typing event to a thread, on behalf of a user. + * + * @param options Options for sending the typing notification. + * @throws ChatErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> sendTypingNotificationWithResponse(SendTypingNotificationOptions options) { + try { + Objects.requireNonNull(options, "'options' cannot be null."); + return withContext(context -> sendTypingNotification(options, context)); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Posts a typing event to a thread, on behalf of a user. + * + * @param options Options for sending the typing notification. * @param context The context to associate with this operation. * @return the completion. */ - Mono> sendTypingNotification(Context context) { + Mono> sendTypingNotification(SendTypingNotificationOptions options, Context context) { context = context == null ? Context.NONE : context; try { - return this.chatThreadClient.sendTypingNotificationWithResponseAsync(chatThreadId, context) + Objects.requireNonNull(options, "'options' cannot be null."); + return this.chatThreadClient.sendTypingNotificationWithResponseAsync(chatThreadId, options, context) .onErrorMap(CommunicationErrorResponseException.class, e -> translateException(e)); } catch (RuntimeException ex) { return monoError(logger, ex); diff --git a/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/ChatThreadClient.java b/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/ChatThreadClient.java index 7c9e973ca432a..1fa37cae36b8a 100644 --- a/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/ChatThreadClient.java +++ b/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/ChatThreadClient.java @@ -14,6 +14,7 @@ import com.azure.communication.chat.models.ListReadReceiptOptions; import com.azure.communication.chat.models.SendChatMessageOptions; import com.azure.communication.chat.models.SendChatMessageResult; +import com.azure.communication.chat.models.SendTypingNotificationOptions; import com.azure.communication.chat.models.UpdateChatMessageOptions; import com.azure.communication.common.CommunicationIdentifier; import com.azure.core.annotation.ReturnType; @@ -350,8 +351,8 @@ public void deleteMessage(String chatMessageId) { */ @ServiceMethod(returns = ReturnType.SINGLE) public Response sendTypingNotificationWithResponse(Context context) { - - return this.client.sendTypingNotification(context).block(); + SendTypingNotificationOptions options = new SendTypingNotificationOptions(); + return this.client.sendTypingNotification(options, context).block(); } /** @@ -365,6 +366,32 @@ public void sendTypingNotification() { this.client.sendTypingNotification().block(); } + /** + * Posts a typing event to a thread, on behalf of a user. + * + * @param options Options for sending the typing notification. + * @param context The context to associate with this operation. + * @throws ChatErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response sendTypingNotificationWithResponse(SendTypingNotificationOptions options, Context context) { + return this.client.sendTypingNotification(options, context).block(); + } + + /** + * Posts a typing event to a thread, on behalf of a user. + * + * @param options Options for sending the typing notification. + * @throws ChatErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void sendTypingNotification(SendTypingNotificationOptions options) { + this.client.sendTypingNotification(options).block(); + } + /** * Posts a read receipt event to a thread, on behalf of a user. * 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 0c3733a723321..2d1e4342aa2e2 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 @@ -18,6 +18,7 @@ import com.azure.communication.chat.implementation.models.SendReadReceiptRequest; import com.azure.communication.chat.models.SendChatMessageOptions; import com.azure.communication.chat.models.SendChatMessageResult; +import com.azure.communication.chat.models.SendTypingNotificationOptions; import com.azure.communication.chat.models.UpdateChatMessageOptions; import com.azure.communication.chat.models.UpdateChatThreadOptions; import com.azure.core.annotation.BodyParam; @@ -152,16 +153,6 @@ Mono> deleteChatMessage( @HeaderParam("Accept") String accept, Context context); - @Post("/chat/threads/{chatThreadId}/typing") - @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(CommunicationErrorResponseException.class) - Mono> sendTypingNotification( - @HostParam("endpoint") String endpoint, - @PathParam("chatThreadId") String chatThreadId, - @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, - Context context); - @Get("/chat/threads/{chatThreadId}/participants") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(CommunicationErrorResponseException.class) @@ -217,6 +208,17 @@ Mono> getChatThreadProperties( @HeaderParam("Accept") String accept, Context context); + @Post("/chat/threads/{chatThreadId}/typing") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(CommunicationErrorResponseException.class) + Mono> sendTypingNotification( + @HostParam("endpoint") String endpoint, + @PathParam("chatThreadId") String chatThreadId, + @QueryParam("api-version") String apiVersion, + @BodyParam("application/json") SendTypingNotificationOptions sendTypingNotificationRequest, + @HeaderParam("Accept") String accept, + Context context); + @Get("{nextLink}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(CommunicationErrorResponseException.class) @@ -1215,99 +1217,6 @@ public Response deleteChatMessageWithResponse(String chatThreadId, String return deleteChatMessageWithResponseAsync(chatThreadId, chatMessageId, context).block(); } - /** - * Posts a typing event to a thread, on behalf of a user. - * - * @param chatThreadId Id of the thread. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws CommunicationErrorResponseException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> sendTypingNotificationWithResponseAsync(String chatThreadId) { - final String accept = "application/json"; - return FluxUtil.withContext( - context -> - service.sendTypingNotification( - this.client.getEndpoint(), chatThreadId, this.client.getApiVersion(), accept, context)); - } - - /** - * Posts a typing event to a thread, on behalf of a user. - * - * @param chatThreadId Id of the thread. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws CommunicationErrorResponseException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> sendTypingNotificationWithResponseAsync(String chatThreadId, Context context) { - final String accept = "application/json"; - return service.sendTypingNotification( - this.client.getEndpoint(), chatThreadId, this.client.getApiVersion(), accept, context); - } - - /** - * Posts a typing event to a thread, on behalf of a user. - * - * @param chatThreadId Id of the thread. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws CommunicationErrorResponseException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono sendTypingNotificationAsync(String chatThreadId) { - return sendTypingNotificationWithResponseAsync(chatThreadId).flatMap((Response res) -> Mono.empty()); - } - - /** - * Posts a typing event to a thread, on behalf of a user. - * - * @param chatThreadId Id of the thread. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws CommunicationErrorResponseException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono sendTypingNotificationAsync(String chatThreadId, Context context) { - return sendTypingNotificationWithResponseAsync(chatThreadId, context) - .flatMap((Response res) -> Mono.empty()); - } - - /** - * Posts a typing event to a thread, on behalf of a user. - * - * @param chatThreadId Id of the thread. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws CommunicationErrorResponseException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public void sendTypingNotification(String chatThreadId) { - sendTypingNotificationAsync(chatThreadId).block(); - } - - /** - * Posts a typing event to a thread, on behalf of a user. - * - * @param chatThreadId Id of the thread. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws CommunicationErrorResponseException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response sendTypingNotificationWithResponse(String chatThreadId, Context context) { - return sendTypingNotificationWithResponseAsync(chatThreadId, context).block(); - } - /** * Gets the participants of a thread. * @@ -1959,6 +1868,152 @@ public Response getChatThreadPropertiesWithResponse(String return getChatThreadPropertiesWithResponseAsync(chatThreadId, context).block(); } + /** + * Posts a typing event to a thread, on behalf of a user. + * + * @param chatThreadId Id of the thread. + * @param sendTypingNotificationRequest Details of the typing notification request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> sendTypingNotificationWithResponseAsync( + String chatThreadId, SendTypingNotificationOptions sendTypingNotificationRequest) { + final String accept = "application/json"; + return FluxUtil.withContext( + context -> + service.sendTypingNotification( + this.client.getEndpoint(), + chatThreadId, + this.client.getApiVersion(), + sendTypingNotificationRequest, + accept, + context)); + } + + /** + * Posts a typing event to a thread, on behalf of a user. + * + * @param chatThreadId Id of the thread. + * @param sendTypingNotificationRequest Details of the typing notification request. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> sendTypingNotificationWithResponseAsync( + String chatThreadId, SendTypingNotificationOptions sendTypingNotificationRequest, Context context) { + final String accept = "application/json"; + return service.sendTypingNotification( + this.client.getEndpoint(), + chatThreadId, + this.client.getApiVersion(), + sendTypingNotificationRequest, + accept, + context); + } + + /** + * Posts a typing event to a thread, on behalf of a user. + * + * @param chatThreadId Id of the thread. + * @param sendTypingNotificationRequest Details of the typing notification request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono sendTypingNotificationAsync( + String chatThreadId, SendTypingNotificationOptions sendTypingNotificationRequest) { + return sendTypingNotificationWithResponseAsync(chatThreadId, sendTypingNotificationRequest) + .flatMap((Response res) -> Mono.empty()); + } + + /** + * Posts a typing event to a thread, on behalf of a user. + * + * @param chatThreadId Id of the thread. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono sendTypingNotificationAsync(String chatThreadId) { + final SendTypingNotificationOptions sendTypingNotificationRequest = null; + return sendTypingNotificationWithResponseAsync(chatThreadId, sendTypingNotificationRequest) + .flatMap((Response res) -> Mono.empty()); + } + + /** + * Posts a typing event to a thread, on behalf of a user. + * + * @param chatThreadId Id of the thread. + * @param sendTypingNotificationRequest Details of the typing notification request. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono sendTypingNotificationAsync( + String chatThreadId, SendTypingNotificationOptions sendTypingNotificationRequest, Context context) { + return sendTypingNotificationWithResponseAsync(chatThreadId, sendTypingNotificationRequest, context) + .flatMap((Response res) -> Mono.empty()); + } + + /** + * Posts a typing event to a thread, on behalf of a user. + * + * @param chatThreadId Id of the thread. + * @param sendTypingNotificationRequest Details of the typing notification request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void sendTypingNotification( + String chatThreadId, SendTypingNotificationOptions sendTypingNotificationRequest) { + sendTypingNotificationAsync(chatThreadId, sendTypingNotificationRequest).block(); + } + + /** + * Posts a typing event to a thread, on behalf of a user. + * + * @param chatThreadId Id of the thread. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void sendTypingNotification(String chatThreadId) { + final SendTypingNotificationOptions sendTypingNotificationRequest = null; + sendTypingNotificationAsync(chatThreadId, sendTypingNotificationRequest).block(); + } + + /** + * Posts a typing event to a thread, on behalf of a user. + * + * @param chatThreadId Id of the thread. + * @param sendTypingNotificationRequest Details of the typing notification request. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response sendTypingNotificationWithResponse( + String chatThreadId, SendTypingNotificationOptions sendTypingNotificationRequest, Context context) { + return sendTypingNotificationWithResponseAsync(chatThreadId, sendTypingNotificationRequest, context).block(); + } + /** * Get the next page of items. * diff --git a/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/models/SendTypingNotificationOptions.java b/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/models/SendTypingNotificationOptions.java new file mode 100644 index 0000000000000..1c537006f5710 --- /dev/null +++ b/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/models/SendTypingNotificationOptions.java @@ -0,0 +1,41 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.chat.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** Request payload for typing notifications. */ +@Fluent +public final class SendTypingNotificationOptions { + /* + * The display name of the typing notification sender. This property is + * used to populate sender name for push notifications. + */ + @JsonProperty(value = "senderDisplayName") + private String senderDisplayName; + + /** + * Get the senderDisplayName property: The display name of the typing notification sender. This property is used to + * populate sender name for push notifications. + * + * @return the senderDisplayName value. + */ + public String getSenderDisplayName() { + return this.senderDisplayName; + } + + /** + * Set the senderDisplayName property: The display name of the typing notification sender. This property is used to + * populate sender name for push notifications. + * + * @param senderDisplayName the senderDisplayName value to set. + * @return the SendTypingNotificationOptions object itself. + */ + public SendTypingNotificationOptions setSenderDisplayName(String senderDisplayName) { + this.senderDisplayName = senderDisplayName; + return this; + } +} diff --git a/sdk/communication/azure-communication-chat/src/samples/java/com/azure/communication/chat/ReadmeSamples.java b/sdk/communication/azure-communication-chat/src/samples/java/com/azure/communication/chat/ReadmeSamples.java index 4f6a95a6d01f2..0c5ae27bdc665 100644 --- a/sdk/communication/azure-communication-chat/src/samples/java/com/azure/communication/chat/ReadmeSamples.java +++ b/sdk/communication/azure-communication-chat/src/samples/java/com/azure/communication/chat/ReadmeSamples.java @@ -12,6 +12,7 @@ import com.azure.communication.chat.models.CreateChatThreadOptions; import com.azure.communication.chat.models.CreateChatThreadResult; import com.azure.communication.chat.models.SendChatMessageOptions; +import com.azure.communication.chat.models.SendTypingNotificationOptions; import com.azure.communication.chat.models.UpdateChatMessageOptions; import com.azure.communication.common.CommunicationUserIdentifier; import com.azure.communication.common.CommunicationTokenCredential; @@ -272,6 +273,8 @@ public void listReadReceipts() { public void sendTypingNotification() { ChatThreadClient chatThreadClient = getChatThreadClient(); - chatThreadClient.sendTypingNotification(); + SendTypingNotificationOptions options = new SendTypingNotificationOptions(); + options.setSenderDisplayName("Sender Display Name"); + chatThreadClient.sendTypingNotification(options); } } diff --git a/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatThreadAsyncClientTest.java b/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatThreadAsyncClientTest.java index addfd3ecfdd88..3c7d9ffafbafa 100644 --- a/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatThreadAsyncClientTest.java +++ b/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatThreadAsyncClientTest.java @@ -763,6 +763,33 @@ public void canSendTypingNotificationWithResponse(HttpClient httpClient) { .verifyComplete(); } + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void canSendTypingNotificationWithOptions(HttpClient httpClient) { + // Action & Assert + SendTypingNotificationOptions options = new SendTypingNotificationOptions(); + options.setSenderDisplayName("Sender"); + + setupTest(httpClient, "canSendTypingNotificationWithOptions"); + StepVerifier.create(chatThreadClient.sendTypingNotification(options)) + .verifyComplete(); + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void canSendTypingNotificationWithResponseWithOptions(HttpClient httpClient) { + // Action & Assert + SendTypingNotificationOptions options = new SendTypingNotificationOptions(); + options.setSenderDisplayName("Sender"); + + setupTest(httpClient, "canSendTypingNotificationWithResponseWithOptions"); + StepVerifier.create(chatThreadClient.sendTypingNotificationWithResponse(options)) + .assertNext(response -> { + assertEquals(200, response.getStatusCode()); + }) + .verifyComplete(); + } + @ParameterizedTest @MethodSource("com.azure.core.test.TestBase#getHttpClients") @DisabledIfEnvironmentVariable( diff --git a/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatThreadClientTest.java b/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatThreadClientTest.java index 3b96e61a6c68e..6cc7b9d8a9fa1 100644 --- a/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatThreadClientTest.java +++ b/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatThreadClientTest.java @@ -454,6 +454,32 @@ public void canSendTypingNotificationWithResponse(HttpClient httpClient) { chatThreadClient.sendTypingNotificationWithResponse(Context.NONE); } + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void canSendTypingNotificationWithOptions(HttpClient httpClient) { + // Arrange + setupTest(httpClient, "canSendTypingNotificationWithOptions"); + + SendTypingNotificationOptions options = new SendTypingNotificationOptions(); + options.setSenderDisplayName("Sender"); + + // Action & Assert + chatThreadClient.sendTypingNotification(options); + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void canSendTypingNotificationWithResponseWithOptions(HttpClient httpClient) { + // Arrange + setupTest(httpClient, "canSendTypingNotificationWithResponseWithOptions"); + + SendTypingNotificationOptions options = new SendTypingNotificationOptions(); + options.setSenderDisplayName("Sender"); + + // Action & Assert + chatThreadClient.sendTypingNotificationWithResponse(options, Context.NONE); + } + @ParameterizedTest @MethodSource("com.azure.core.test.TestBase#getHttpClients") @DisabledIfEnvironmentVariable( 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 d2a991694e049..2bc89ee3f6b7f 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "696b1a81-44f9-4da1-a831-c2b6faf36cf5", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:44 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:16 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "B7oZiEuGu0uqWWIN0Fqrxw.0", - "X-Azure-Ref" : "0HL7DYAAAAADXMxiZc2IoTYULKCZlZx3PWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-434b-28c5-593a0d00abaa\"}}", - "x-ms-client-request-id" : "696b1a81-44f9-4da1-a831-c2b6faf36cf5", + "X-Processing-Time" : "21ms", + "MS-CV" : "673rdKfDskO7ZrKQO8WlWA.0", + "X-Azure-Ref" : "0mYfLYAAAAADXWKU3FoRAQoKEBiK2CUFgV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-51fd-e3c7-593a0d00f758\"}}", + "x-ms-client-request-id" : "fc44eabc-5bfb-44aa-ac98-18a6e6104e8e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "b3bfe48e-bffe-4792-bfc1-5f4eb77a73cc", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:44 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:16 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "36ms", - "MS-CV" : "l/x28KH3J0Or4xCUnaJl+A.0", - "X-Azure-Ref" : "0HL7DYAAAAABZcYk4BF7RSaXALU0xK5YlWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-4391-28c5-593a0d00abab\"}}", - "x-ms-client-request-id" : "b3bfe48e-bffe-4792-bfc1-5f4eb77a73cc", + "X-Processing-Time" : "29ms", + "MS-CV" : "H4raQXj+PUSqwVF6yFKJ7Q.0", + "X-Azure-Ref" : "0mYfLYAAAAABaj6HOmrC2SpZM3Qitcs/FV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-5240-e3c7-593a0d00f759\"}}", + "x-ms-client-request-id" : "0526daf2-d684-4db1-8743-1591ecfe100a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-434b-28c5-593a0d00abaa/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-51fd-e3c7-593a0d00f758/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "031de8e2-186c-4b1d-9f68-50e75b0b621e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:44 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:17 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "FzNXWo9GlEKKtrIwe4yz5Q.0", - "X-Azure-Ref" : "0HL7DYAAAAABlGVxVPkc3T6eq6k450fFxWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:43.6572956+00:00\"}", - "x-ms-client-request-id" : "031de8e2-186c-4b1d-9f68-50e75b0b621e", + "X-Processing-Time" : "39ms", + "MS-CV" : "47EnU+lhEUeG3GAMgwR33w.0", + "X-Azure-Ref" : "0mYfLYAAAAADAKWR1bSJ6RIfIvohPTHHHV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:16.2297651+00:00\"}", + "x-ms-client-request-id" : "2877c8ad-aed5-4d2c-a72f-291023f6aedb", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "54b0c141-6c69-4ffb-b527-ce1f8a71b1ec", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "7347b3c7-7abd-415b-a44c-3a63cad126a6", "Content-Type" : "application/json" }, "Response" : { @@ -88,22 +85,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:45 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:17 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "605ms", - "MS-CV" : "aFXPZ7KjWUOfKMtWlKzx0w.0", - "X-Azure-Ref" : "0HL7DYAAAAABlQTdBam2yRY8TiLxpeWfnWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:FcaQxNc-yRSDDFrEXmwwuNafxXfEScBZdQ3s1KqFrZk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:44Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-434b-28c5-593a0d00abaa\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-434b-28c5-593a0d00abaa\"}}}}", + "X-Processing-Time" : "521ms", + "MS-CV" : "I7j/DSNnyUOrNBtX2pJ6IQ.0", + "X-Azure-Ref" : "0mYfLYAAAAAByDxKiFDmMQZA4QOT+m+eWV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:mHgLt3DoVhFMSWU5KM777RIWXVaGl09WR_nnsB6G2_I1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:17Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-51fd-e3c7-593a0d00f758\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-51fd-e3c7-593a0d00f758\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AFcaQxNc-yRSDDFrEXmwwuNafxXfEScBZdQ3s1KqFrZk1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AmHgLt3DoVhFMSWU5KM777RIWXVaGl09WR_nnsB6G2_I1@thread.v2" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "25af8dd9-1e08-4b4b-895a-c6d513c03356", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "5d628d54-1f34-44ab-865f-39c168baf3e6", "Content-Type" : "application/json" }, "Response" : { @@ -112,14 +109,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:45 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:18 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "484ms", - "MS-CV" : "6OM7AzzKE0G6q20Vi0AKaQ.0", - "X-Azure-Ref" : "0Hb7DYAAAAAAToCu9eQ8yQZBLC4iY67W3WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:yMOoDruRAZnDfCOJRP8Ph8cwTyxYhq9C2jsUxW3nWMs1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:45Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-434b-28c5-593a0d00abaa\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-434b-28c5-593a0d00abaa\"}}}}", + "X-Processing-Time" : "649ms", + "MS-CV" : "hHw8UbViE0qs4fH8yPrANg.0", + "X-Azure-Ref" : "0mYfLYAAAAADjcMOR6y94QpYAl5aQ243yV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:rEsPn3i3ME0Euf0K9z5kMkrkV0I6U2f-XN_9g93yM0s1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:17Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-51fd-e3c7-593a0d00f758\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-51fd-e3c7-593a0d00f758\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AyMOoDruRAZnDfCOJRP8Ph8cwTyxYhq9C2jsUxW3nWMs1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ArEsPn3i3ME0Euf0K9z5kMkrkV0I6U2f-XN_9g93yM0s1@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 d767db4cd5b18..9f6e1173499c3 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "7fb1c2ae-31be-46f1-b884-776d5f0eb2c3", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:40 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:12 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "IiPzisWMe0aaE/2CWOraMQ.0", - "X-Azure-Ref" : "0GL7DYAAAAACM5tswdJTZSYKieHCUrfW5WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-3567-99c6-593a0d00ab86\"}}", - "x-ms-client-request-id" : "7fb1c2ae-31be-46f1-b884-776d5f0eb2c3", + "X-Processing-Time" : "56ms", + "MS-CV" : "E8mIOmnppEaLmuqnrNjmIw.0", + "X-Azure-Ref" : "0lYfLYAAAAACgRHDelfV+TKLasTkxjnMzV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-43b1-f6c7-593a0d00d4dd\"}}", + "x-ms-client-request-id" : "98bfd48c-a222-49ae-9558-19072017b2d9", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "a2e941f2-3d55-469c-a4ef-5b30117f0cef", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:41 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:13 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "9t7unpORo0W6BgbwalKp2A.0", - "X-Azure-Ref" : "0GL7DYAAAAAAkPF2J2XUqR6PkhHEaQPmPWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-3607-f6c7-593a0d00ab7c\"}}", - "x-ms-client-request-id" : "a2e941f2-3d55-469c-a4ef-5b30117f0cef", + "X-Processing-Time" : "23ms", + "MS-CV" : "epDV/uYa3EKaLIIk1Vexeg.0", + "X-Azure-Ref" : "0lYfLYAAAAADXgYJl4R5IR4pYOyJ9TpztV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-43e8-e3c7-593a0d00f750\"}}", + "x-ms-client-request-id" : "e398ff56-6371-40fd-8691-435e67f72192", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-3567-99c6-593a0d00ab86/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-43b1-f6c7-593a0d00d4dd/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "edb429dd-5df0-4c3f-bfa0-b8177ce8ab04", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:41 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:13 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "ehT23P8BcEiydQWVL+XARA.0", - "X-Azure-Ref" : "0Gb7DYAAAAADB8USOQ9TbRLckUBVDCh9sWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:40.1948716+00:00\"}", - "x-ms-client-request-id" : "edb429dd-5df0-4c3f-bfa0-b8177ce8ab04", + "X-Processing-Time" : "61ms", + "MS-CV" : "uSQMhxAG6kSFIpX+PyPNew.0", + "X-Azure-Ref" : "0lYfLYAAAAACXMS2pPAUGRpw+0Gyi5W4UV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:12.5864151+00:00\"}", + "x-ms-client-request-id" : "945c5cdb-8593-4014-8052-c451de6ed6db", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "2bcdcb71-6759-451d-954a-aebc07fbada0", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "b50db882-b5bd-4826-87fe-59ca3034c7e8", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:41 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:14 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "604ms", - "MS-CV" : "OWn0dGRfSUWvRMrwqQfIdg.0", - "X-Azure-Ref" : "0Gb7DYAAAAABOEGvDWz4bTI0tFV6pB7PiWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:LmFBol0jc_V_xBsFtQNuF4ODAAmLs4ehVn0CUBbf9yA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:41Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-3567-99c6-593a0d00ab86\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-3567-99c6-593a0d00ab86\"}}}}", + "X-Processing-Time" : "749ms", + "MS-CV" : "my94FR2P0EemTmXpvFrjLQ.0", + "X-Azure-Ref" : "0lYfLYAAAAABc/QuzvUj8S5/kT9WsLEHkV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:2TydE8Fgis94todXJIA6EFuZRsyFsN7aef7nxmpKFzk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:13Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-43b1-f6c7-593a0d00d4dd\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-43b1-f6c7-593a0d00d4dd\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3ALmFBol0jc_V_xBsFtQNuF4ODAAmLs4ehVn0CUBbf9yA1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A2TydE8Fgis94todXJIA6EFuZRsyFsN7aef7nxmpKFzk1@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 ac79fcefaa0cb..fdd1b35cb0c58 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "799d32c9-158d-4347-a3ae-98b111f8880f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:42 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:14 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "25ms", - "MS-CV" : "fRMeGw0WqEmOJ0xbGH8iTg.0", - "X-Azure-Ref" : "0Gr7DYAAAAADogdVYIoZHS6C0PB2iqwczWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-3a4b-f6c7-593a0d00ab80\"}}", - "x-ms-client-request-id" : "799d32c9-158d-4347-a3ae-98b111f8880f", + "X-Processing-Time" : "30ms", + "MS-CV" : "WCRA+t+n3Ei529IbH6Z5FQ.0", + "X-Azure-Ref" : "0lofLYAAAAAAh/KVKWYiHSq99bg/jdVG5V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-49e4-e3c7-593a0d00f752\"}}", + "x-ms-client-request-id" : "04ed5946-8484-41f0-9892-adf5e31a5a72", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "157fdc83-ba0c-400f-b23d-3d3335ed8215", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:42 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:14 GMT", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "31ms", - "MS-CV" : "e9ugE2jV8Ue3d5gh1DE5gw.0", - "X-Azure-Ref" : "0Gr7DYAAAAABi5F/NAxooQp3M6A+TBZ/0WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-3a91-f6c7-593a0d00ab81\"}}", - "x-ms-client-request-id" : "157fdc83-ba0c-400f-b23d-3d3335ed8215", + "MS-CV" : "5HjieE7lhEKamCg7T9CG2Q.0", + "X-Azure-Ref" : "0l4fLYAAAAAA8K0sR5RKzQr7bFyXJMQSCV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-4a6f-e3c7-593a0d00f753\"}}", + "x-ms-client-request-id" : "eb895f85-0bf1-48e6-b630-bcdf4c5a49d0", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-3a4b-f6c7-593a0d00ab80/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-49e4-e3c7-593a0d00f752/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "eff849f7-665e-4a75-914f-a97053c09d1f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:42 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "49ms", - "MS-CV" : "bTO3GfzGE0GbNsB1o2mUvA.0", - "X-Azure-Ref" : "0Gr7DYAAAAACiuUOcFVoeS4It8s/NbiEvWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:41.449444+00:00\"}", - "x-ms-client-request-id" : "eff849f7-665e-4a75-914f-a97053c09d1f", + "X-Processing-Time" : "35ms", + "MS-CV" : "DtsMk9eToEeRDtqkckirGw.0", + "X-Azure-Ref" : "0l4fLYAAAAADQRDtHIRmdTqVHS0fu9X12V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:14.228671+00:00\"}", + "x-ms-client-request-id" : "f6dcad00-e8ca-4f37-8083-12ee697ad7d9", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "4e1e557d-40ac-4d61-9a10-5a4e5568cc32", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "bfbc78d0-8a3e-457d-82b2-7f6b9eeeaa30", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:43 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "614ms", - "MS-CV" : "b5rcGkZsGkKjxI/thxzlTQ.0", - "X-Azure-Ref" : "0Gr7DYAAAAABr2nlzVOIgTYWs4x3HfqkDWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:ui6rnQ7xBuWu7M_SSt9dpMirRa8QK53d0WwlEGUXnNo1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:42Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-3a4b-f6c7-593a0d00ab80\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-3a4b-f6c7-593a0d00ab80\"}}}}", + "X-Processing-Time" : "532ms", + "MS-CV" : "I7UuIx2Hw0qILgDaMzaFdQ.0", + "X-Azure-Ref" : "0l4fLYAAAAAAAV/IyQlD4TZKx8vgNTcYwV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:9UhagDbBwiDVhH2KJMZmd0ATk00qnVBFGehhR5T1t3M1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:15Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-49e4-e3c7-593a0d00f752\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-49e4-e3c7-593a0d00f752\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3Aui6rnQ7xBuWu7M_SSt9dpMirRa8QK53d0WwlEGUXnNo1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A9UhagDbBwiDVhH2KJMZmd0ATk00qnVBFGehhR5T1t3M1@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 fcdf66683c76b..6e0f67f077e5b 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "57770113-4f14-454b-9799-275e6a93d113", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:37 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:08 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "25ms", - "MS-CV" : "PLngddaFrUOqSLfdG2vVSw.0", - "X-Azure-Ref" : "0Fb7DYAAAAACE5WA+PopBS6JSUOYJIcbkWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-26ab-99c6-593a0d00ab80\"}}", - "x-ms-client-request-id" : "57770113-4f14-454b-9799-275e6a93d113", + "X-Processing-Time" : "36ms", + "MS-CV" : "ERU0VXNPj062oBVOWV9I6A.0", + "X-Azure-Ref" : "0kYfLYAAAAACL08o4uPi9RKiI0TYblsT+V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-33f0-f6c7-593a0d00d4da\"}}", + "x-ms-client-request-id" : "58b1915f-5e00-4ded-a583-211f3e0f88f2", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "9b6f976b-3f00-4a18-bc30-07d9d4e45615", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:37 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:09 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "rUPVqGojHU2ixwXJBQ4J7w.0", - "X-Azure-Ref" : "0Fb7DYAAAAAD3dtXI/rNpSajX+EHDQXXPWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-2701-99c6-593a0d00ab81\"}}", - "x-ms-client-request-id" : "9b6f976b-3f00-4a18-bc30-07d9d4e45615", + "X-Processing-Time" : "29ms", + "MS-CV" : "6VUkQoM2u0qU9CSXuRyhFA.0", + "X-Azure-Ref" : "0kYfLYAAAAADsUCcFNBEiTYmbXg7om/GRV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-3432-e3c7-593a0d00f74d\"}}", + "x-ms-client-request-id" : "d4e48944-05a8-4e71-a417-c5a567a1af08", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-26ab-99c6-593a0d00ab80/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-33f0-f6c7-593a0d00d4da/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "98126db3-e10c-417c-8ba5-e7075cd70733", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:37 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:09 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "1qQY0tXWQUaYS03j5oUnkw.0", - "X-Azure-Ref" : "0Fb7DYAAAAAB73QA4Ps9YSrxgQIWxrukoWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:36.3450635+00:00\"}", - "x-ms-client-request-id" : "98126db3-e10c-417c-8ba5-e7075cd70733", + "X-Processing-Time" : "74ms", + "MS-CV" : "PBozhcykNEKcam1nBsngPw.0", + "X-Azure-Ref" : "0kYfLYAAAAAAAk8KKn2UlTL5+T6jjNWM1V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:08.5730337+00:00\"}", + "x-ms-client-request-id" : "ea9258cc-c476-4e46-827a-5f9dd755b259", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "1a173158-dde1-40f2-a3d5-2972ca140f3e", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "10c78b86-b68e-4263-a353-0a25fce8cf17", "Content-Type" : "application/json" }, "Response" : { @@ -88,33 +85,33 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:38 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:10 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "673ms", - "MS-CV" : "rhCUYFmplUuuSz8vZ4Hw/A.0", - "X-Azure-Ref" : "0Fb7DYAAAAADxlv21Jz9WQKUiZj5ty3cyWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:_TEJTXz4PKxzLU6TiHbhBxixx-btM2oRmAxnKh_o3qA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:37Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-26ab-99c6-593a0d00ab80\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-26ab-99c6-593a0d00ab80\"}}}}", + "X-Processing-Time" : "1236ms", + "MS-CV" : "CB0jHxyAKk65MQ5N53feCQ.0", + "X-Azure-Ref" : "0kYfLYAAAAACanEWmsdA1RbmGqVTGnikfV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:mIQQk_9QqDZ92dBVoCGB4FgiH7gFuETxTn1KCI3bxvo1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:09Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-33f0-f6c7-593a0d00d4da\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-33f0-f6c7-593a0d00d4da\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3A_TEJTXz4PKxzLU6TiHbhBxixx-btM2oRmAxnKh_o3qA1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AmIQQk_9QqDZ92dBVoCGB4FgiH7gFuETxTn1KCI3bxvo1@thread.v2" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:_TEJTXz4PKxzLU6TiHbhBxixx-btM2oRmAxnKh_o3qA1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:mIQQk_9QqDZ92dBVoCGB4FgiH7gFuETxTn1KCI3bxvo1@thread.v2?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "0f900003-b87b-414f-a8c0-3f691d7f194b" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "45438f76-84b1-4953-9a4a-c7ee3eb53d0d" }, "Response" : { "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", - "X-Processing-Time" : "212ms", - "MS-CV" : "It3mIqHsmECGBFEFEfwlRw.0", + "X-Processing-Time" : "254ms", + "MS-CV" : "mecqXbjNFESL5YDD6s5a0Q.0", "retry-after" : "0", - "X-Azure-Ref" : "0Fr7DYAAAAABxba+JM1lWQJS32MNUS07CWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0kofLYAAAAADGCKjiMY71RI0FxSktl5b9V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:48:38 GMT" + "Date" : "Thu, 17 Jun 2021 17:34:10 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 8b135d66303f7..37f9edac29bbb 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "9883dafd-5c6e-41f2-9f01-adf530eff68a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:35 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:08 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "7genuWj4VUC27lyVOtd3yw.0", - "X-Azure-Ref" : "0E77DYAAAAAA9Sl1Q4419Qaxp8sHAUDnnWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-218e-99c6-593a0d00ab7d\"}}", - "x-ms-client-request-id" : "9883dafd-5c6e-41f2-9f01-adf530eff68a", + "X-Processing-Time" : "31ms", + "MS-CV" : "EsuGIa01fkKfrppvBk0zVA.0", + "X-Azure-Ref" : "0kIfLYAAAAADQYaI5kTuXTYIRJ7fzAHWGV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-2f7f-e3c7-593a0d00f748\"}}", + "x-ms-client-request-id" : "611afb58-586f-41b9-a20c-13497aa0c905", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "dc3fd71c-fd71-4f0d-8c94-b7cc136dad8c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:35 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:07 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "TQgD7WFUgUObd66Cg/E+9g.0", - "X-Azure-Ref" : "0E77DYAAAAACML16fdQaoQIzzJ8XrzWZrWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-21d5-99c6-593a0d00ab7e\"}}", - "x-ms-client-request-id" : "dc3fd71c-fd71-4f0d-8c94-b7cc136dad8c", + "X-Processing-Time" : "32ms", + "MS-CV" : "5RSdDGjrzUik6FskYr+GqQ.0", + "X-Azure-Ref" : "0kIfLYAAAAAC8P2nJ6tOqTLvAk7CIorKOV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-2fc1-f6c7-593a0d00d4d9\"}}", + "x-ms-client-request-id" : "3f71d0da-cd3c-4a68-a9a0-2af694d70a4a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-218e-99c6-593a0d00ab7d/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-2f7f-e3c7-593a0d00f748/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "fa5d61f5-a86f-47b3-81ee-22694136e14c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:36 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:08 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "1Vezbrxh5kuTOfdN3eM8ug.0", - "X-Azure-Ref" : "0E77DYAAAAAAAs0oV1uzbQbqqx1F2pbPbWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:35.0267706+00:00\"}", - "x-ms-client-request-id" : "fa5d61f5-a86f-47b3-81ee-22694136e14c", + "X-Processing-Time" : "50ms", + "MS-CV" : "Me4DLl+wr0W4/HBzgSMkUg.0", + "X-Azure-Ref" : "0kIfLYAAAAADEL5qP3WM9SJBi4vIvQG/jV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:07.4127647+00:00\"}", + "x-ms-client-request-id" : "95ddd63b-f55f-4196-a2a9-4a617eca9041", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "199d6892-9da3-41ee-865f-3b5603438a6d", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "bcb15423-d2da-4c55-9d9a-362c076cd661", "Content-Type" : "application/json" }, "Response" : { @@ -88,33 +85,33 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:36 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:08 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "630ms", - "MS-CV" : "OWeSVQEay0688kUOl6I+Ew.0", - "X-Azure-Ref" : "0FL7DYAAAAACYLqphQNH0SpkZH5sFYH+LWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:gNjLS7eU1NQuadaofifIZO5PFaW4_IcDB9bS7c11Nu01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:36Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-218e-99c6-593a0d00ab7d\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-218e-99c6-593a0d00ab7d\"}}}}", + "X-Processing-Time" : "554ms", + "MS-CV" : "oOVNHcFh8EGbyUsq7J/SfQ.0", + "X-Azure-Ref" : "0kIfLYAAAAAC3NNdExaVxRZ0QcKbbMijbV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:mAcQWg6KkgcN--sGS5QUlq3dbCSEtUK5Csx4WCT2oF01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:08Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-2f7f-e3c7-593a0d00f748\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-2f7f-e3c7-593a0d00f748\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AgNjLS7eU1NQuadaofifIZO5PFaW4_IcDB9bS7c11Nu01@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AmAcQWg6KkgcN--sGS5QUlq3dbCSEtUK5Csx4WCT2oF01@thread.v2" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:gNjLS7eU1NQuadaofifIZO5PFaW4_IcDB9bS7c11Nu01@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:mAcQWg6KkgcN--sGS5QUlq3dbCSEtUK5Csx4WCT2oF01@thread.v2?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "916ceaed-b399-429e-ba42-0dd1ef5e741f" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "ee5daf39-38d7-4cb9-aa44-3b4a3f6c487e" }, "Response" : { "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", - "X-Processing-Time" : "195ms", - "MS-CV" : "IkiQgTDT7UmgqZRydbDikw.0", + "X-Processing-Time" : "267ms", + "MS-CV" : "MagN2OyQe0SyZAizAefMCQ.0", "retry-after" : "0", - "X-Azure-Ref" : "0FL7DYAAAAADpQXHxDE23ToxstLhMT0KYWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0kYfLYAAAAADMi1DFsFGAQr9Hb1q4UkeGV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:48:37 GMT" + "Date" : "Thu, 17 Jun 2021 17:34:09 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 12ce00ef47108..7faec3140f233 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "e9a02097-597a-4aef-8847-18a79c47dbdf", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:45 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:18 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "5l77PawPaUq5ZcMSCHoEKQ.0", - "X-Azure-Ref" : "0Hb7DYAAAAAC0R1mQkdJ7QpH2ski2s59wWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-48f1-28c5-593a0d00abac\"}}", - "x-ms-client-request-id" : "e9a02097-597a-4aef-8847-18a79c47dbdf", + "X-Processing-Time" : "32ms", + "MS-CV" : "BbMOo0RkRkWo6dPDZnBDog.0", + "X-Azure-Ref" : "0mofLYAAAAACqx6PtOqBZQKaHJdr7M9u2V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-57cf-e3c7-593a0d00f75a\"}}", + "x-ms-client-request-id" : "967bc239-0d6d-4487-ad98-f41ecba8585a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "6339367e-88b5-4fe0-8bfd-21885120eeb3", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:45 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:18 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "bnADcZwmPUaCyi56PxPs5w.0", - "X-Azure-Ref" : "0Hb7DYAAAAADHOYIpCId+R6me+bVvzT1NWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-4940-28c5-593a0d00abad\"}}", - "x-ms-client-request-id" : "6339367e-88b5-4fe0-8bfd-21885120eeb3", + "X-Processing-Time" : "30ms", + "MS-CV" : "Qi24x5HBE0+wWMWk8yE00A.0", + "X-Azure-Ref" : "0mofLYAAAAACECg9gwzwVR7AGO24qyPzHV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-581f-e3c7-593a0d00f75b\"}}", + "x-ms-client-request-id" : "744b7230-ee3f-432a-92a8-28b21dc32b20", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-48f1-28c5-593a0d00abac/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-57cf-e3c7-593a0d00f75a/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "1cd63b25-9f4c-47f7-9de3-08d8d149e8bf", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:45 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:18 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "byvIKxvitkqsRHQeYU2wNw.0", - "X-Azure-Ref" : "0Hr7DYAAAAAC0Z7HRUS3YQorsXgoRvJILWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:45.1035587+00:00\"}", - "x-ms-client-request-id" : "1cd63b25-9f4c-47f7-9de3-08d8d149e8bf", + "X-Processing-Time" : "38ms", + "MS-CV" : "JT/0pWPPC0K2dKCuJUqPmQ.0", + "X-Azure-Ref" : "0mofLYAAAAAC68VYLfrSBSJCeSCzO0r6gV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:17.730114+00:00\"}", + "x-ms-client-request-id" : "a5233cce-af34-4420-9e41-1466f942d433", "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 c876ac5b52a36..aa769119bb524 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "b8c09774-7360-44d2-92e2-4c145ad999a5", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:43 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "B7iiZm2fCE6TtpZgQniyQA.0", - "X-Azure-Ref" : "0G77DYAAAAADywzXmHfgqSqsZw/SlENopWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-3f33-28c5-593a0d00aba8\"}}", - "x-ms-client-request-id" : "b8c09774-7360-44d2-92e2-4c145ad999a5", + "X-Processing-Time" : "31ms", + "MS-CV" : "Z0pgvKd6UU+JV+vh0bZPVw.0", + "X-Azure-Ref" : "0mIfLYAAAAAAt9QRMZz61QqN4MLN8d/wXV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-4e2b-e3c7-593a0d00f756\"}}", + "x-ms-client-request-id" : "ae798492-87c1-42c0-afec-e4b3536f1083", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "a66d87e4-ed1a-4b85-b115-87bee6e5f536", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:43 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:16 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "25ms", - "MS-CV" : "IN8LGYlP7EO6xizr4PvKCw.0", - "X-Azure-Ref" : "0G77DYAAAAADvF17yton9S5eVOQBZ8PbzWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-3f7c-28c5-593a0d00aba9\"}}", - "x-ms-client-request-id" : "a66d87e4-ed1a-4b85-b115-87bee6e5f536", + "X-Processing-Time" : "30ms", + "MS-CV" : "NGZEoyRzgU63dCJ93FzLvw.0", + "X-Azure-Ref" : "0mIfLYAAAAABlyGcOMfCPRpAC/CVOpdAvV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-4e8c-e3c7-593a0d00f757\"}}", + "x-ms-client-request-id" : "28b0233d-f0a8-4d18-b6dd-dfb255df9e09", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-3f33-28c5-593a0d00aba8/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-4e2b-e3c7-593a0d00f756/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "012d2df4-1df3-4cd5-b357-676e7518883c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:43 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "ZB0a9ZMQJUu5mP6Y7T/YMg.0", - "X-Azure-Ref" : "0G77DYAAAAAAPdXczOh9wRIenaravbrpSWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:42.5990609+00:00\"}", - "x-ms-client-request-id" : "012d2df4-1df3-4cd5-b357-676e7518883c", + "X-Processing-Time" : "36ms", + "MS-CV" : "ZyWR3qsWCkuGOWcukFoEHg.0", + "X-Azure-Ref" : "0mIfLYAAAAAAI3b+mEVJHSpfxUXiqhb4fV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:15.2834658+00:00\"}", + "x-ms-client-request-id" : "ac19e488-f010-4ac3-8751-e56453d928e3", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "4ed9b90d-b27f-45da-9658-a3dc5135c2ee", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "080924d1-8c32-482d-9a46-9968caa363b4", "Content-Type" : "application/json" }, "Response" : { @@ -88,35 +85,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:44 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:16 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "605ms", - "MS-CV" : "isVRm4A9QUOouIHVf+dEsA.0", - "X-Azure-Ref" : "0G77DYAAAAAC9gqAm5Z1kTYw0RzeGhlCaWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:glLB-_HQEh_7Fvm4WRrkJqIf1tIT8K9Ms-WXpvtA9C81@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:43Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-3f33-28c5-593a0d00aba8\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-3f33-28c5-593a0d00aba8\"}}}}", + "X-Processing-Time" : "547ms", + "MS-CV" : "zNkBFRhAa0mxqllBkCX2zQ.0", + "X-Azure-Ref" : "0mIfLYAAAAACpvIfBlcNWSKrqVzEDuue8V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:mrbBi8M-ZCKUe56gI4gQd6BNNACAk9Oi-tRbzpiZu4Y1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:16Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-4e2b-e3c7-593a0d00f756\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-4e2b-e3c7-593a0d00f756\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AglLB-_HQEh_7Fvm4WRrkJqIf1tIT8K9Ms-WXpvtA9C81@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AmrbBi8M-ZCKUe56gI4gQd6BNNACAk9Oi-tRbzpiZu4Y1@thread.v2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:glLB-_HQEh_7Fvm4WRrkJqIf1tIT8K9Ms-WXpvtA9C81@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:mrbBi8M-ZCKUe56gI4gQd6BNNACAk9Oi-tRbzpiZu4Y1@thread.v2?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "78b716db-f773-49d9-9d23-92918d78b7b0" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "a7e5a729-a71a-46a0-a430-da235a813646" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "95ms", - "MS-CV" : "yqF9aQNDHU2yfkS+WeAnDg.0", + "X-Processing-Time" : "121ms", + "MS-CV" : "XCFSI4zUMU+XABHdFo6znw.0", "retry-after" : "0", - "X-Azure-Ref" : "0HL7DYAAAAAACmSQ87xNiRok7j7LC0XEGWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0mIfLYAAAAACnUBICpk3tQJs7rBwDLz17V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"19:glLB-_HQEh_7Fvm4WRrkJqIf1tIT8K9Ms-WXpvtA9C81@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:43Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-3f33-28c5-593a0d00aba8\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-3f33-28c5-593a0d00aba8\"}}}", - "Date" : "Fri, 11 Jun 2021 19:48:44 GMT", + "Body" : "{\"id\":\"19:mrbBi8M-ZCKUe56gI4gQd6BNNACAk9Oi-tRbzpiZu4Y1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:16Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-4e2b-e3c7-593a0d00f756\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-4e2b-e3c7-593a0d00f756\"}}}", + "Date" : "Thu, 17 Jun 2021 17:34:16 GMT", "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 8fa91c572c883..d82072579c4d1 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "80a9a9b6-9724-4804-899f-ee8463cae694", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:32 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:06 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "XQWdXNOemEe+zrI9DBAy+w.0", - "X-Azure-Ref" : "0Eb7DYAAAAADvjBgwyiHdRos8sBrTh+m8WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-1a07-99c6-593a0d00ab77\"}}", - "x-ms-client-request-id" : "80a9a9b6-9724-4804-899f-ee8463cae694", + "X-Processing-Time" : "57ms", + "MS-CV" : "3sPS72l810mLbOr+7MTC0Q.0", + "X-Azure-Ref" : "0jofLYAAAAABHmu+WziTCR6ag6Qe7DVxrV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-29d5-f6c7-593a0d00d4d6\"}}", + "x-ms-client-request-id" : "222bb897-23b2-43ac-8a16-8c8513bee5c3", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "98a8ce64-0191-4d14-9dda-645c4ed4f433", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:34 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:06 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "Rs29JHMoIk2JgZTZNNM+Jg.0", - "X-Azure-Ref" : "0Eb7DYAAAAABN/Ocex3gbQLrIh22yeUfmWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-1a51-99c6-593a0d00ab78\"}}", - "x-ms-client-request-id" : "98a8ce64-0191-4d14-9dda-645c4ed4f433", + "X-Processing-Time" : "59ms", + "MS-CV" : "N3bub5zFakO3U4wMbw8F6w.0", + "X-Azure-Ref" : "0jofLYAAAAADsir903zorT6boz0QvaznRV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-2a33-e3c7-593a0d00f745\"}}", + "x-ms-client-request-id" : "99dddc96-a7b9-41c6-b332-d48067246036", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-1a07-99c6-593a0d00ab77/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-29d5-f6c7-593a0d00d4d6/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "94c0bd2c-da5c-4674-8ee5-d79c18052e67", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:34 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:06 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "gHpqd/f/IE6feK6uyYwl7w.0", - "X-Azure-Ref" : "0Er7DYAAAAACtqUuWiC68Sp/ilV6ET+w/WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:33.0944377+00:00\"}", - "x-ms-client-request-id" : "94c0bd2c-da5c-4674-8ee5-d79c18052e67", + "X-Processing-Time" : "40ms", + "MS-CV" : "qEWQNqun0EKh9qzfpJmMag.0", + "X-Azure-Ref" : "0jofLYAAAAABF9ox9GKIxSJPCiMSjmos3V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:05.9862738+00:00\"}", + "x-ms-client-request-id" : "769ff532-bc9e-4cfc-902d-f611586794b1", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "39eadad7-6fbd-4e55-8b58-7b6ad2ba45e5", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "a580bc9a-883f-462b-a88c-26817e5640d1", "Content-Type" : "application/json" }, "Response" : { @@ -88,35 +85,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:35 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:07 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "654ms", - "MS-CV" : "91qws7eKaE2C0zsGhsZ9Pg.0", - "X-Azure-Ref" : "0Er7DYAAAAAClWmuXHRlnRZcoAP57I6Y5WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:okMezjyBaCqxiHG0JYWu0gUUekufZ45P-kRdDt6l1rk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:34Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-1a07-99c6-593a0d00ab77\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-1a07-99c6-593a0d00ab77\"}}}}", + "X-Processing-Time" : "344ms", + "MS-CV" : "bcBnMMeCKESm+nOpZ63zMg.0", + "X-Azure-Ref" : "0j4fLYAAAAAAlNkosPZGdQan77hgYR4PFV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:7eFWWrVyTzoeBUmowcdBC3s55tACd_sTTq1M88LO8YE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:07Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-29d5-f6c7-593a0d00d4d6\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-29d5-f6c7-593a0d00d4d6\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AokMezjyBaCqxiHG0JYWu0gUUekufZ45P-kRdDt6l1rk1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A7eFWWrVyTzoeBUmowcdBC3s55tACd_sTTq1M88LO8YE1@thread.v2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:okMezjyBaCqxiHG0JYWu0gUUekufZ45P-kRdDt6l1rk1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:7eFWWrVyTzoeBUmowcdBC3s55tACd_sTTq1M88LO8YE1@thread.v2?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "5ec21eae-4361-4ee3-9b4d-ae92b16aca14" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "2aa7e1f2-f939-4dd1-babd-2e45312d0410" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "90ms", - "MS-CV" : "n/7YDkcMkEabZnR+Uk4J8g.0", + "X-Processing-Time" : "120ms", + "MS-CV" : "1fvOrF7pdEOaehrOSe/O5Q.0", "retry-after" : "0", - "X-Azure-Ref" : "0E77DYAAAAADsyiAeWkl+RYikEyUxEitqWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0j4fLYAAAAABkZ2N0ykqDRpbzXGd9zS9MV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"19:okMezjyBaCqxiHG0JYWu0gUUekufZ45P-kRdDt6l1rk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:34Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-1a07-99c6-593a0d00ab77\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-1a07-99c6-593a0d00ab77\"}}}", - "Date" : "Fri, 11 Jun 2021 19:48:35 GMT", + "Body" : "{\"id\":\"19:7eFWWrVyTzoeBUmowcdBC3s55tACd_sTTq1M88LO8YE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:07Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-29d5-f6c7-593a0d00d4d6\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-29d5-f6c7-593a0d00d4d6\"}}}", + "Date" : "Thu, 17 Jun 2021 17:34:07 GMT", "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 a79f99934adbb..c99715684d296 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "1b5e67fa-9cea-4034-8805-0d5991f6a4d0", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:41 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:14 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "0iVeDAOtv0GSulqw2hLnKg.0", - "X-Azure-Ref" : "0Gb7DYAAAAACV1E6qaEKoRpECv5KYhuC4WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-3957-f6c7-593a0d00ab7e\"}}", - "x-ms-client-request-id" : "1b5e67fa-9cea-4034-8805-0d5991f6a4d0", + "X-Processing-Time" : "57ms", + "MS-CV" : "vjJfrn7/O0GozrQz/taDng.0", + "X-Azure-Ref" : "0lofLYAAAAAAJ0Uw7HqLpSLZ2Hlpg4j94V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-48ed-f6c7-593a0d00d4de\"}}", + "x-ms-client-request-id" : "e8439ff3-41da-4b1f-a844-2f69ea3f9cc3", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "68cb978a-19cc-4a41-a3d9-fdb7a40f98b4", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:41 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:14 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "eSSrUQaaB0ani/LMXwp+TA.0", - "X-Azure-Ref" : "0Gb7DYAAAAABSTdnk/yUbRZoiB1N1x6/XWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-39a6-f6c7-593a0d00ab7f\"}}", - "x-ms-client-request-id" : "68cb978a-19cc-4a41-a3d9-fdb7a40f98b4", + "X-Processing-Time" : "61ms", + "MS-CV" : "iHC9QyTHPE2xY3ie5m32wg.0", + "X-Azure-Ref" : "0lofLYAAAAADL3uodDwzERJPRFsoJz3SUV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-494c-e3c7-593a0d00f751\"}}", + "x-ms-client-request-id" : "92b6f158-badb-4d50-a7a9-6184e3500475", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-3957-f6c7-593a0d00ab7e/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-48ed-f6c7-593a0d00d4de/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "04df69c1-5e90-46ee-8fd7-9810b947c06d", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:42 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:14 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "lO2tPfHIhEaW02ZyNtj74g.0", - "X-Azure-Ref" : "0Gr7DYAAAAABfNvclr4DMQ68C9nrRcsOeWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:41.1084447+00:00\"}", - "x-ms-client-request-id" : "04df69c1-5e90-46ee-8fd7-9810b947c06d", + "X-Processing-Time" : "41ms", + "MS-CV" : "cdwT1TjlOkKvRWjKWgXl1w.0", + "X-Azure-Ref" : "0lofLYAAAAABh2oceOwGdTJaE+C0+ZXpaV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:13.9425955+00:00\"}", + "x-ms-client-request-id" : "09bbd91b-bfbc-482c-af1d-fcffca8031e5", "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 2c58b0bbe1d5f..d2f2bcd8e3f41 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "cc51bcb0-e0ee-4bda-9e31-73f67998321c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:38 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:11 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "wih/tQYY5UykKuTINT/PQw.0", - "X-Azure-Ref" : "0Fr7DYAAAAACzaRW2EYYKTaKm94i8ce/ZWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-2bbf-99c6-593a0d00ab82\"}}", - "x-ms-client-request-id" : "cc51bcb0-e0ee-4bda-9e31-73f67998321c", + "X-Processing-Time" : "32ms", + "MS-CV" : "YR9SjKz72kSuvdBAL0OcYQ.0", + "X-Azure-Ref" : "0k4fLYAAAAADCX4deaX27Rrd6tZ+53ARuV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-3b0f-e3c7-593a0d00f74e\"}}", + "x-ms-client-request-id" : "32113a49-5a63-404e-a605-5cab6ad42b35", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "f2833f3f-6dbf-4881-8500-059111fa31ea", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:38 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:10 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "34ms", - "MS-CV" : "YzaUaZzNx0O+D39zcAHNOw.0", - "X-Azure-Ref" : "0Fr7DYAAAAABU1LhPDNAXR41R4K7Mp8i4WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-2c14-99c6-593a0d00ab83\"}}", - "x-ms-client-request-id" : "f2833f3f-6dbf-4881-8500-059111fa31ea", + "X-Processing-Time" : "55ms", + "MS-CV" : "diwn0Jl5KUWX5wHeL23wjw.0", + "X-Azure-Ref" : "0k4fLYAAAAAB58JoteevQR6qTwBK2qx+oV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-3b67-f6c7-593a0d00d4db\"}}", + "x-ms-client-request-id" : "49ece051-8a61-4604-8e64-2013aab22347", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-2bbf-99c6-593a0d00ab82/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-3b0f-e3c7-593a0d00f74e/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "090cb65a-1154-4d0a-8dd6-2d050695f863", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:38 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:11 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "pEZihwAWeUOO5sIACiQ1OA.0", - "X-Azure-Ref" : "0Fr7DYAAAAADysPZjS91eRY/Qfbjw8mkvWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:37.6588725+00:00\"}", - "x-ms-client-request-id" : "090cb65a-1154-4d0a-8dd6-2d050695f863", + "X-Processing-Time" : "71ms", + "MS-CV" : "3ty+H38u3UmKsYUYQDzRIA.0", + "X-Azure-Ref" : "0k4fLYAAAAACDGdt4wQaUQrfcqY9V12qkV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:10.4137796+00:00\"}", + "x-ms-client-request-id" : "61c70a7a-0445-4680-b650-e8a195979ba7", "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 70592cc14dbfa..57975b7d04eb0 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 @@ -3,8 +3,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "7646fd1a-7bac-41a1-8966-614d829f1d20", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "4168f543-1590-4441-94c0-9278caa5fda7", "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 e056c7521674c..6cea4783fb297 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "2c9239f5-066b-4c62-ba05-a6a4c38bae78", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:38 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:11 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "SIgkjhuV0kaSoEhdlMxSIA.0", - "X-Azure-Ref" : "0Fr7DYAAAAAD1+Qe+/9MOSIyVzTNDJlWxWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-2ce7-99c6-593a0d00ab84\"}}", - "x-ms-client-request-id" : "2c9239f5-066b-4c62-ba05-a6a4c38bae78", + "X-Processing-Time" : "63ms", + "MS-CV" : "TAJLXRAKhk+rqSKiL6Rl7Q.0", + "X-Azure-Ref" : "0k4fLYAAAAADmegwh3AIySI6c3VY/eofAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-3c37-f6c7-593a0d00d4dc\"}}", + "x-ms-client-request-id" : "e5a3369f-7284-40da-b8d3-506f3b0d65d4", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "340b1faf-cdbd-4967-a938-52d9e22229ab", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:38 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:11 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "PvEi8CSeNk2Fgw0ykhxUgg.0", - "X-Azure-Ref" : "0Fr7DYAAAAADfon/y+EZ6TrdEzrzOtuYmWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-2d35-99c6-593a0d00ab85\"}}", - "x-ms-client-request-id" : "340b1faf-cdbd-4967-a938-52d9e22229ab", + "X-Processing-Time" : "32ms", + "MS-CV" : "RN99KRAGQ0qwKnGv8h6XZA.0", + "X-Azure-Ref" : "0k4fLYAAAAABRmiR5v1SySLBR1CJSYoGJV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-3c7a-e3c7-593a0d00f74f\"}}", + "x-ms-client-request-id" : "bc851578-0593-4ca4-8955-34d45cfd383b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-2ce7-99c6-593a0d00ab84/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-3c37-f6c7-593a0d00d4dc/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "b8bc0cca-fbb1-4bb0-a140-258590891bcb", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:38 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:11 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "99DSKPd6YUuASZQbkDGpog.0", - "X-Azure-Ref" : "0Fr7DYAAAAADpIbvRBP7+TZ1NYzxlA9g6WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:37.9212778+00:00\"}", - "x-ms-client-request-id" : "b8bc0cca-fbb1-4bb0-a140-258590891bcb", + "X-Processing-Time" : "67ms", + "MS-CV" : "CLrZTQ5S0kK5qT8CRoLJkA.0", + "X-Azure-Ref" : "0k4fLYAAAAACyRrET8f70R7Gf1tea5aKAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:10.6930029+00:00\"}", + "x-ms-client-request-id" : "57310858-cc22-4cd4-acf8-51871623a99d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "97eb242c-5079-429e-8af8-ca5f775faf5b", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "bb4803a9-adfc-4556-b91b-308f0247a7ba", "Content-Type" : "application/json" }, "Response" : { @@ -88,22 +85,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:39 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:12 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "541ms", - "MS-CV" : "FqtINNK7n0Cz/Iqrkfc7eg.0", - "X-Azure-Ref" : "0Fr7DYAAAAADzolvUyTLEQagj69EgiiZeWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:sk0Ct2wsX5f-eLP7jKdDcWRG5hlA_C7-a-qfSD-K0L81@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:39Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-2ce7-99c6-593a0d00ab84\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-2ce7-99c6-593a0d00ab84\"}}}}", + "X-Processing-Time" : "606ms", + "MS-CV" : "cItCsOLg6EaKnz7Pj1r7mQ.0", + "X-Azure-Ref" : "0k4fLYAAAAABZFn2aXM+nR5qahfXATni0V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:GSVmdQ-vfj2xtEG-1J3-YTNvMGKcdCTifrxdb4nJI-41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:11Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-3c37-f6c7-593a0d00d4dc\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-3c37-f6c7-593a0d00d4dc\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3Ask0Ct2wsX5f-eLP7jKdDcWRG5hlA_C7-a-qfSD-K0L81@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AGSVmdQ-vfj2xtEG-1J3-YTNvMGKcdCTifrxdb4nJI-41@thread.v2" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "79536722-c2bd-4e38-b515-00d7a8dd542a", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "2dc5e578-dc15-45dc-94d0-c387b7936aa1", "Content-Type" : "application/json" }, "Response" : { @@ -112,22 +109,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:39 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:12 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "362ms", - "MS-CV" : "wxzaZQngtUGrsCOZpuEz7A.0", - "X-Azure-Ref" : "0F77DYAAAAADO853VV2IFRLUqCgI24vb3WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:sk0Ct2wsX5f-eLP7jKdDcWRG5hlA_C7-a-qfSD-K0L81@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:39Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-2ce7-99c6-593a0d00ab84\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-2ce7-99c6-593a0d00ab84\"}}}}", + "X-Processing-Time" : "248ms", + "MS-CV" : "0/GpuC47xkqJP2ZOrVnHkA.0", + "X-Azure-Ref" : "0lIfLYAAAAADvUnJcWoQDSa8Fhutbtt14V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:GSVmdQ-vfj2xtEG-1J3-YTNvMGKcdCTifrxdb4nJI-41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:11Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-3c37-f6c7-593a0d00d4dc\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-3c37-f6c7-593a0d00d4dc\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3Ask0Ct2wsX5f-eLP7jKdDcWRG5hlA_C7-a-qfSD-K0L81@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AGSVmdQ-vfj2xtEG-1J3-YTNvMGKcdCTifrxdb4nJI-41@thread.v2" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "5db931d5-d0e9-405a-9466-a91c3c020e25", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "3deccbfe-7a60-4668-a762-0fe7b3c6b7ea", "Content-Type" : "application/json" }, "Response" : { @@ -136,14 +133,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:40 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:13 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "819ms", - "MS-CV" : "wZCGvkVYTU2HNPtLEJP0WA.0", - "X-Azure-Ref" : "0F77DYAAAAACcUMvZvfZHQZOtwC7vJgkCWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:Vkw2e1_rMCfm5uRbxUTwBGbyuFHrLMbegJaSyqPjcTw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:40Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-2ce7-99c6-593a0d00ab84\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-2ce7-99c6-593a0d00ab84\"}}}}", + "X-Processing-Time" : "509ms", + "MS-CV" : "D5UT3tK8rUy7cp3DLFEUMg.0", + "X-Azure-Ref" : "0lIfLYAAAAAD7RdRBNXgnToE341Z8ABv5V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:l8iFZeN262TdLaksuKhlxTI-Zgb_rENxeG5VoLetq8o1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:12Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-3c37-f6c7-593a0d00d4dc\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-3c37-f6c7-593a0d00d4dc\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AVkw2e1_rMCfm5uRbxUTwBGbyuFHrLMbegJaSyqPjcTw1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Al8iFZeN262TdLaksuKhlxTI-Zgb_rENxeG5VoLetq8o1@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 2734748bfb9af..175d3afb20b10 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "460870fe-9953-4687-afa0-97c1f6168c2a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:35 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:07 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "a5nCqHTB7k+wYpFra3eaDg.0", - "X-Azure-Ref" : "0E77DYAAAAADgw5j/KnJmSb7SGZbYodHOWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-2089-99c6-593a0d00ab7b\"}}", - "x-ms-client-request-id" : "460870fe-9953-4687-afa0-97c1f6168c2a", + "X-Processing-Time" : "33ms", + "MS-CV" : "7++7pbm5mEqlEjQOb845bA.0", + "X-Azure-Ref" : "0j4fLYAAAAAB4q7gPHawCRa19SPELP/+kV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-2e97-f6c7-593a0d00d4d8\"}}", + "x-ms-client-request-id" : "06e1a530-b5ca-4527-b6fd-f22d2fc41399", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "13feebfa-a052-4e8c-aa28-ce135b19e2b8", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:35 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:07 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "20ms", - "MS-CV" : "612TxaegFUO1lqk+9HyN1g.0", - "X-Azure-Ref" : "0E77DYAAAAABo6lWJclD0RoYcsX/00qS9WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-20da-99c6-593a0d00ab7c\"}}", - "x-ms-client-request-id" : "13feebfa-a052-4e8c-aa28-ce135b19e2b8", + "X-Processing-Time" : "31ms", + "MS-CV" : "Uhc7f/KArUumy4Ri1NwBBA.0", + "X-Azure-Ref" : "0kIfLYAAAAADX5Lt5U1YuRYLssM6TwvS8V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-2ee4-e3c7-593a0d00f747\"}}", + "x-ms-client-request-id" : "50874b15-7d67-4e08-8361-8010bffd7790", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-2089-99c6-593a0d00ab7b/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-2e97-f6c7-593a0d00d4d8/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "21980eb8-b6a0-4b16-ac4f-d766e002860f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:35 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:07 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "xIJMaoZTh02Q4fv9Unm7iA.0", - "X-Azure-Ref" : "0E77DYAAAAACDNtN8xeejS7L2CHTwgjsUWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:34.7715647+00:00\"}", - "x-ms-client-request-id" : "21980eb8-b6a0-4b16-ac4f-d766e002860f", + "X-Processing-Time" : "42ms", + "MS-CV" : "awarMi8ps0OFirXiHtQo+w.0", + "X-Azure-Ref" : "0kIfLYAAAAAADFdKKE20+SaQlgGCaulfAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:07.1860351+00:00\"}", + "x-ms-client-request-id" : "3c2cd8db-64a4-4c88-849b-cb27ebf81861", "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 8bd4dd97aa77f..f91b1f9b0f46c 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "a3149eaf-6804-4925-a09a-e23adb7b330a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:43 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "20ms", - "MS-CV" : "w2iY+Msa3EWQwUrVi3aF1g.0", - "X-Azure-Ref" : "0G77DYAAAAAAXaIF92pwkSr6vcP/o/9uJWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-3e4b-28c5-593a0d00aba6\"}}", - "x-ms-client-request-id" : "a3149eaf-6804-4925-a09a-e23adb7b330a", + "X-Processing-Time" : "33ms", + "MS-CV" : "dh0gpUDkUEGVDePlVCOMBw.0", + "X-Azure-Ref" : "0l4fLYAAAAAB4LiGK6IoYQbQoPcsHT7KfV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-4d39-e3c7-593a0d00f754\"}}", + "x-ms-client-request-id" : "b22a2c94-0e65-4a24-b64c-ae43d41e7ce0", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "786dfc2c-332b-4a7e-b212-a9cb36227c2f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:43 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "20ms", - "MS-CV" : "FuESy0S+i0y9vfiJRZVjHQ.0", - "X-Azure-Ref" : "0G77DYAAAAADttUX6S+0ERLLXCs86GHp6WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-3e8e-28c5-593a0d00aba7\"}}", - "x-ms-client-request-id" : "786dfc2c-332b-4a7e-b212-a9cb36227c2f", + "X-Processing-Time" : "31ms", + "MS-CV" : "1+4avUOZkkKp/BDKIuT9BA.0", + "X-Azure-Ref" : "0l4fLYAAAAACACf82P4S9SZQmwrtvXFi/V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-4d80-e3c7-593a0d00f755\"}}", + "x-ms-client-request-id" : "630f749f-0dbb-4297-a5a9-1f924dce1e59", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-3e4b-28c5-593a0d00aba6/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-4d39-e3c7-593a0d00f754/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "2d8f4f9e-f830-4d45-a775-606c0c6c8a2d", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:43 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "YnlY2eEa+E2MyiP7leCqGw.0", - "X-Azure-Ref" : "0G77DYAAAAAB7BBMJ9yxuQp6cYogGwn7lWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:42.3563921+00:00\"}", - "x-ms-client-request-id" : "2d8f4f9e-f830-4d45-a775-606c0c6c8a2d", + "X-Processing-Time" : "62ms", + "MS-CV" : "zroxxV2fdEmthI++xp5Rfw.0", + "X-Azure-Ref" : "0l4fLYAAAAACtIDUjm6KiQJMHQVtfYLhGV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:15.0408703+00:00\"}", + "x-ms-client-request-id" : "74f0bbbc-1076-49ba-8260-ad92ee7b0ec5", "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 fa43bdb6ac7c8..6772bdce20b11 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "d348fb71-96ff-403f-ae11-551fcd4f7b84", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:35 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:07 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "KfvbSM5z70WSKr+kvSKuVg.0", - "X-Azure-Ref" : "0E77DYAAAAAAxsRa2OTBCSYiWgkBNDUHpWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-1f8c-99c6-593a0d00ab79\"}}", - "x-ms-client-request-id" : "d348fb71-96ff-403f-ae11-551fcd4f7b84", + "X-Processing-Time" : "32ms", + "MS-CV" : "6SKjh4ZrlUezh+XwnbtMYw.0", + "X-Azure-Ref" : "0j4fLYAAAAABAIt1w/DKbR63ULne4baHrV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-2d7f-e3c7-593a0d00f746\"}}", + "x-ms-client-request-id" : "913684c5-7202-442d-b4fe-e604b3638755", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "99c84afd-2202-4a75-8797-7af1b410b673", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:35 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:07 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "rca8TgH5CkCm6W9RIKMZHA.0", - "X-Azure-Ref" : "0E77DYAAAAAAcQt59pYeEQbrt4YYvvqzRWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-1fd1-99c6-593a0d00ab7a\"}}", - "x-ms-client-request-id" : "99c84afd-2202-4a75-8797-7af1b410b673", + "X-Processing-Time" : "32ms", + "MS-CV" : "f7V2r+H1uUajRAltdi5dIw.0", + "X-Azure-Ref" : "0j4fLYAAAAADwSk9iUgFlRJlxhvCuTH9PV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-2df0-f6c7-593a0d00d4d7\"}}", + "x-ms-client-request-id" : "6babe6e6-d6b2-48ed-a751-bd11ed0f9230", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-1f8c-99c6-593a0d00ab79/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-2d7f-e3c7-593a0d00f746/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "017eac43-c25a-4c25-a66e-53ad7755a661", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:35 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:07 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "Wvi9wL+m5UqVE0PbgoEpHA.0", - "X-Azure-Ref" : "0E77DYAAAAACDWeQQkl8hRLcYrOimIsuLWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:34.4930978+00:00\"}", - "x-ms-client-request-id" : "017eac43-c25a-4c25-a66e-53ad7755a661", + "X-Processing-Time" : "37ms", + "MS-CV" : "dIaYgnO74ku3Mn+U6xqnOg.0", + "X-Azure-Ref" : "0j4fLYAAAAADf2UgK8X0CS5QkflFRzD1LV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:06.9419936+00:00\"}", + "x-ms-client-request-id" : "ca26965a-9d42-4f05-882c-25f7b09795ac", "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 eeda8e9fc9b9f..fcd80304df1de 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "d75a4f63-9841-4245-a4fb-a53d979f94e2", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:32 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:05 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "mR54tu0IgkqTudlrBwP6bQ.0", - "X-Azure-Ref" : "0Eb7DYAAAAACq1F3B1tfqTooRseDBu+7sWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-174c-99c6-593a0d00ab74\"}}", - "x-ms-client-request-id" : "d75a4f63-9841-4245-a4fb-a53d979f94e2", + "X-Processing-Time" : "31ms", + "MS-CV" : "+MRX7YO4nUGWw/g37qlzxg.0", + "X-Azure-Ref" : "0jYfLYAAAAADo6nUzw23uRKHK8XGpJ8aXV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-269d-e3c7-593a0d00f744\"}}", + "x-ms-client-request-id" : "6c3f2d3b-f2f6-4b19-a202-57b76bc21312", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "75afd2d5-fa46-446c-8bfd-781d131c4d94", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:32 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:05 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "xNNjfcF/Xk6WQbLY9f7mpg.0", - "X-Azure-Ref" : "0Eb7DYAAAAAB2nnRKeDu1TJinkXGlPoOoWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-1878-99c6-593a0d00ab75\"}}", - "x-ms-client-request-id" : "75afd2d5-fa46-446c-8bfd-781d131c4d94", + "X-Processing-Time" : "53ms", + "MS-CV" : "hRmZBR8N7k+3AyAUb/4wCQ.0", + "X-Azure-Ref" : "0jofLYAAAAABTnpYcHHuzQZ+1rgHneTqeV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-2824-f6c7-593a0d00d4d5\"}}", + "x-ms-client-request-id" : "2358382d-af20-4bcd-9634-d924f143f2cd", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-174c-99c6-593a0d00ab74/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-269d-e3c7-593a0d00f744/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "a3d26f01-b041-493b-8fa9-5b3ed71adf15", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:32 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:06 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "/4B1os3/GUOaPa/FoJGm7w.0", - "X-Azure-Ref" : "0Eb7DYAAAAABDxZTcaUKRQqiu5pD35sOtWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:32.6171654+00:00\"}", - "x-ms-client-request-id" : "a3d26f01-b041-493b-8fa9-5b3ed71adf15", + "X-Processing-Time" : "64ms", + "MS-CV" : "OIJTVxcsI0irWXcZl3FjaA.0", + "X-Azure-Ref" : "0jofLYAAAAABzLDdcEFDOQLOjGul3UWbXV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:05.48661+00:00\"}", + "x-ms-client-request-id" : "1b93b600-4b61-4ba0-87cb-1e27ce86767a", "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 b7b05e3f85649..8d3c0a59fa36a 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "3b639ee9-6b79-4b0d-8427-34267b22f52b", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:50 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:22 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "nr+GjZqP8EGQD2kERv8c1g.0", - "X-Azure-Ref" : "0Ir7DYAAAAABvPIAO5B76TbmBly44dmDmWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-5ae1-28c5-593a0d00abb4\"}}", - "x-ms-client-request-id" : "3b639ee9-6b79-4b0d-8427-34267b22f52b", + "X-Processing-Time" : "30ms", + "MS-CV" : "ZXij9b4h1UCS28kEqZQPGw.0", + "X-Azure-Ref" : "0n4fLYAAAAAADhP1XruxYRIzSVbDNU59VV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-69b2-e3c7-593a0d00f762\"}}", + "x-ms-client-request-id" : "ef47bb94-a7d8-41f5-aa28-2b52a3462bfa", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "8cf1e60f-e8eb-455e-9217-d24c38fc44f4", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:50 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:22 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "8nhzb+hCpUCzcA96ZZ0PdQ.0", - "X-Azure-Ref" : "0Ir7DYAAAAACtvHdRbaajRo51ypF+rjn/WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-5b34-28c5-593a0d00abb5\"}}", - "x-ms-client-request-id" : "8cf1e60f-e8eb-455e-9217-d24c38fc44f4", + "X-Processing-Time" : "29ms", + "MS-CV" : "tBiah/i6kkuhCw8VB7ZEtg.0", + "X-Azure-Ref" : "0n4fLYAAAAAC/f+7XVBiLSaRV3NTa06OSV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-69ee-e3c7-593a0d00f763\"}}", + "x-ms-client-request-id" : "82398647-67a0-462e-b8ff-9a165bbe17e4", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-5ae1-28c5-593a0d00abb4/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-69b2-e3c7-593a0d00f762/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "faceade3-6424-45e9-a7b4-674eb612468e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:50 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:23 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "mEoLo35gH0yHdVSrHq57kQ.0", - "X-Azure-Ref" : "0Ir7DYAAAAAApNztSyzRxRZzLHSuURe7bWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:49.6937032+00:00\"}", - "x-ms-client-request-id" : "faceade3-6424-45e9-a7b4-674eb612468e", + "X-Processing-Time" : "128ms", + "MS-CV" : "mvgrbYrI1027Ijoz3rWYcA.0", + "X-Azure-Ref" : "0n4fLYAAAAADMKLBUeSe1TrgTy42w/EyoV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:22.390507+00:00\"}", + "x-ms-client-request-id" : "983c1ff4-f210-4cb6-9b92-b04a55de238c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "209882d3-e707-42a0-884c-a88db09c4146", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "077e3e93-a9c9-43e2-a4f1-b09d4ebed91c", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:51 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:23 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "428ms", - "MS-CV" : "HsuG6nDr40CBUxtbwTJFxw.0", - "X-Azure-Ref" : "0Ir7DYAAAAADghnTH0ikyRrDPpLXuTi2OWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:4rvvALerJWZVMS_mCWYNi-_Td-2EvPWkrJqtVvWx_nI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:50Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-5ae1-28c5-593a0d00abb4\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-5ae1-28c5-593a0d00abb4\"}}}}", + "X-Processing-Time" : "695ms", + "MS-CV" : "6/KIBkKeJ0KmT2wN1//9Vw.0", + "X-Azure-Ref" : "0n4fLYAAAAACvLmbX9YC9SYf6Mn6ewh/nV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:TJfGh8hM1DGhUAtOFNf8BW3TO_QysqTS4BXa2bb-i5o1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:23Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-69b2-e3c7-593a0d00f762\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-69b2-e3c7-593a0d00f762\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3A4rvvALerJWZVMS_mCWYNi-_Td-2EvPWkrJqtVvWx_nI1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ATJfGh8hM1DGhUAtOFNf8BW3TO_QysqTS4BXa2bb-i5o1@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 b14b064bdea56..497667347784e 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "634b53f5-af7f-4e8b-968b-492c729108eb", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:54 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:29 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "OJIDlWb7eEqmrZfBMxHKIg.0", - "X-Azure-Ref" : "0Jr7DYAAAAADPB5YlYQ/jQK8oOLFNOXQUWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-699b-28c5-593a0d00abb9\"}}", - "x-ms-client-request-id" : "634b53f5-af7f-4e8b-968b-492c729108eb", + "X-Processing-Time" : "37ms", + "MS-CV" : "dfLSMmg54EalusYyqpmv5Q.0", + "X-Azure-Ref" : "0pYfLYAAAAAD+1jDJPKMpT7CBujpUPmcaV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-82d7-e3c7-593a0d00f767\"}}", + "x-ms-client-request-id" : "855cbf86-7ff1-4d87-8fd0-d68e58503496", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "ee8623a4-daed-497f-9e79-a5733aeedeee", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:54 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:29 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "84NLtj2a9EC4nyHH5W1Qag.0", - "X-Azure-Ref" : "0Jr7DYAAAAACPfSjTeOwFRLtKLTvxIe6rWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-69eb-28c5-593a0d00abba\"}}", - "x-ms-client-request-id" : "ee8623a4-daed-497f-9e79-a5733aeedeee", + "X-Processing-Time" : "35ms", + "MS-CV" : "M4FkA8IhMk6KGyWAdairsA.0", + "X-Azure-Ref" : "0pYfLYAAAAADUt+Bmkh4ITpBAli5DBs9qV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8321-e3c7-593a0d00f768\"}}", + "x-ms-client-request-id" : "9b330354-04a5-4f9d-822e-b3717f605df1", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-699b-28c5-593a0d00abb9/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-82d7-e3c7-593a0d00f767/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "8da2e294-2630-4d45-8072-fe6ba117a592", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:54 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:29 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "Hn5/ifc3H0GfWyerG3ztPQ.0", - "X-Azure-Ref" : "0Jr7DYAAAAADa65ZPs36KRbAuH/ESSgiXWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:53.4636236+00:00\"}", - "x-ms-client-request-id" : "8da2e294-2630-4d45-8072-fe6ba117a592", + "X-Processing-Time" : "34ms", + "MS-CV" : "Oe3Og7Uc3U+zqTo1OjF1Ew.0", + "X-Azure-Ref" : "0pYfLYAAAAABhh0r0IBxoTpzW/IzTvh3UV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:28.7376926+00:00\"}", + "x-ms-client-request-id" : "ef27cba5-9d82-4def-9390-c36e4fe5c631", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "87c99e09-f450-49fd-8bf0-1500491a8b5a", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "fc1199dc-9c08-4d86-ac75-b82c5973fd6b", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:54 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:29 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "578ms", - "MS-CV" : "BP+kBse3WU+zdGWuNpVFHg.0", - "X-Azure-Ref" : "0Jr7DYAAAAADlCJb1AA8iTqLapLhvJywHWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:o0x2zYFBmmRaZIiD0RMGPcPyOZGEiaX9vnTnJz-0IBU1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:54Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-699b-28c5-593a0d00abb9\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-699b-28c5-593a0d00abb9\"}}}}", + "X-Processing-Time" : "546ms", + "MS-CV" : "nJThn2kA+0KbG6HStofaFA.0", + "X-Azure-Ref" : "0pYfLYAAAAACh4EMgFdHoSrrfP3lvmN0DV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:WsUrAfQtRPohMBrn0_q4PnVIMFjyIwABlJzTJfpmgUs1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:29Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-82d7-e3c7-593a0d00f767\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-82d7-e3c7-593a0d00f767\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3Ao0x2zYFBmmRaZIiD0RMGPcPyOZGEiaX9vnTnJz-0IBU1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AWsUrAfQtRPohMBrn0_q4PnVIMFjyIwABlJzTJfpmgUs1@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 422a0b62b3877..53122580e1be5 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "6c86d343-ca20-48f5-9624-9d992d80364d", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:47 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:19 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "20ms", - "MS-CV" : "BLohATYgcUyKJD3Pz51WxQ.0", - "X-Azure-Ref" : "0H77DYAAAAADb4cFC4f6MT6TXOdAF4To/WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-4df9-28c5-593a0d00abb0\"}}", - "x-ms-client-request-id" : "6c86d343-ca20-48f5-9624-9d992d80364d", + "X-Processing-Time" : "59ms", + "MS-CV" : "lCdk5twjX0CNiPWbftodfA.0", + "X-Azure-Ref" : "0m4fLYAAAAAABZtuuX3e+SaO9j/5+1dq+V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-5d21-e3c7-593a0d00f75e\"}}", + "x-ms-client-request-id" : "69329e7c-c1fd-482a-8ff1-bfb7510da576", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "3d0b6e15-473f-4934-b48e-61cd6e040054", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:47 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:19 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "8kL4PtuU0UCYOkcZLJreSQ.0", - "X-Azure-Ref" : "0H77DYAAAAAC4r30NBoKDQpGvYd5wfW4DWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-4e43-28c5-593a0d00abb1\"}}", - "x-ms-client-request-id" : "3d0b6e15-473f-4934-b48e-61cd6e040054", + "X-Processing-Time" : "33ms", + "MS-CV" : "nmz8H9zuyke5KCcaptTGiw.0", + "X-Azure-Ref" : "0m4fLYAAAAABORvcT3INcRJoK24TtEgfQV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-5d6a-e3c7-593a0d00f75f\"}}", + "x-ms-client-request-id" : "0e56f01c-82e4-4f1b-b036-7cb99ceb6c07", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-4df9-28c5-593a0d00abb0/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-5d21-e3c7-593a0d00f75e/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "27be4f41-fa1c-4010-b789-e56b35dc40a3", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:47 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:19 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "4BOAuR+RgkKgDc8uV1bN+w.0", - "X-Azure-Ref" : "0H77DYAAAAACBNj/2rekCSr8AUjzQ1zjhWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:46.384258+00:00\"}", - "x-ms-client-request-id" : "27be4f41-fa1c-4010-b789-e56b35dc40a3", + "X-Processing-Time" : "37ms", + "MS-CV" : "PSmEwDduqku8SDORzA0O+w.0", + "X-Azure-Ref" : "0nIfLYAAAAAD+nxSx9l10SITjuK4HU/3jV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:19.0929276+00:00\"}", + "x-ms-client-request-id" : "cc123c2f-8b28-4a29-9b9c-7061e7a4d54c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "e8caa282-2ca6-42a9-b67a-7e5a39489608", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "b3f869cd-d1d7-4f2b-8ff3-84c3f7364338", "Content-Type" : "application/json" }, "Response" : { @@ -88,33 +85,33 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:47 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:20 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "632ms", - "MS-CV" : "9ikcF3f1lESUME6T76uYyg.0", - "X-Azure-Ref" : "0H77DYAAAAACuUSgMlYl7TrdHNUqhztM3WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:7ikGAHTy2A6a4xtc_GN8NgCpsnxYYrlRPUoeVXD-sCM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:47Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-4df9-28c5-593a0d00abb0\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-4df9-28c5-593a0d00abb0\"}}}}", + "X-Processing-Time" : "501ms", + "MS-CV" : "/J1kkn8mkEm9fapUdmAz0A.0", + "X-Azure-Ref" : "0nIfLYAAAAACK9GNPtGmkT6TZNoZeg3CyV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:EY7CzqOojnPsnNSYpAWe9QzOpffm2LJTQoOHDnD9hTk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:20Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-5d21-e3c7-593a0d00f75e\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-5d21-e3c7-593a0d00f75e\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3A7ikGAHTy2A6a4xtc_GN8NgCpsnxYYrlRPUoeVXD-sCM1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AEY7CzqOojnPsnNSYpAWe9QzOpffm2LJTQoOHDnD9hTk1@thread.v2" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:7ikGAHTy2A6a4xtc_GN8NgCpsnxYYrlRPUoeVXD-sCM1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:EY7CzqOojnPsnNSYpAWe9QzOpffm2LJTQoOHDnD9hTk1@thread.v2?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "f110dee4-2d6f-4fef-aedd-33fea68d6f2c" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "adf88ae6-e58b-4839-96f8-f75ac7bae029" }, "Response" : { "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", - "X-Processing-Time" : "133ms", - "MS-CV" : "MLU1DUj4xUu4Ex07WnVqoA.0", + "X-Processing-Time" : "218ms", + "MS-CV" : "k6yQ2kQgU0+CaeQ471ibmA.0", "retry-after" : "0", - "X-Azure-Ref" : "0IL7DYAAAAAAcVSWpUey1T4UhOkmT/AhlWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0nIfLYAAAAADbH4PFJrQIQrl6wuqarg2VV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:48:48 GMT" + "Date" : "Thu, 17 Jun 2021 17:34:20 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 200c4b108d09a..f48aa123fb7ce 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "d62e6528-b47b-4913-8e18-378833695f4e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:46 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:18 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "p8l5/F7GZke5f5CNbHNKRw.0", - "X-Azure-Ref" : "0Hr7DYAAAAAAuxW9zWmt8SbjbxqcIQM38WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-4a04-28c5-593a0d00abae\"}}", - "x-ms-client-request-id" : "d62e6528-b47b-4913-8e18-378833695f4e", + "X-Processing-Time" : "57ms", + "MS-CV" : "zVW5M7os0U+FbivHWJ9/OQ.0", + "X-Azure-Ref" : "0mofLYAAAAAD9xyCo7CNJTJTWuUZAGZ6BV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-58ce-e3c7-593a0d00f75c\"}}", + "x-ms-client-request-id" : "3ad5248e-fa49-4f4e-96a7-0b21c1ccb28f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "0121e722-82aa-41b5-a0d6-4f4d0d6abcab", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:46 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:18 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "20ms", - "MS-CV" : "vMKm3w28OEmsBf+3mL+Y0w.0", - "X-Azure-Ref" : "0Hr7DYAAAAACbgJ8MwVj4TJto+eO/Lms1WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-4a4c-28c5-593a0d00abaf\"}}", - "x-ms-client-request-id" : "0121e722-82aa-41b5-a0d6-4f4d0d6abcab", + "X-Processing-Time" : "31ms", + "MS-CV" : "cgeabl4BhEOJ2ElPx9zBtw.0", + "X-Azure-Ref" : "0mofLYAAAAACKfJqCadzQR7EI6cbyaA/1V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-590c-e3c7-593a0d00f75d\"}}", + "x-ms-client-request-id" : "cacf3280-04a9-4f43-bf86-fd46dbb01c9c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-4a04-28c5-593a0d00abae/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-58ce-e3c7-593a0d00f75c/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "85332515-1737-47f9-ae8e-d2472ea3e942", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:46 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:18 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "Db8ZKaSf8EubrBCwUFL52w.0", - "X-Azure-Ref" : "0Hr7DYAAAAADS18mdtKWHTaKVN/rPkiSFWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:45.3741725+00:00\"}", - "x-ms-client-request-id" : "85332515-1737-47f9-ae8e-d2472ea3e942", + "X-Processing-Time" : "37ms", + "MS-CV" : "vxT08lDixkSdc/0A3SMmSw.0", + "X-Azure-Ref" : "0mofLYAAAAAA+Ox3fOHD9TrAUWrMXSAsaV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:17.9713341+00:00\"}", + "x-ms-client-request-id" : "6e73ba4e-20a5-4276-9ee9-8017034d73d4", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "05020c48-bf80-4ea4-a03f-2d90c2621e49", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "7a82c84e-7b31-43ea-95d3-396c0cbc0f5d", "Content-Type" : "application/json" }, "Response" : { @@ -88,33 +85,33 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:46 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:19 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "525ms", - "MS-CV" : "EqOmdfcQYkyieqllu5CAqQ.0", - "X-Azure-Ref" : "0Hr7DYAAAAADIMh/p5ETqRLhxu2c/Zx6/WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:jegc9UPHhiXoNLNuUrBwAQS3QKLimiX6OZrBcrJOjl01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:46Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-4a04-28c5-593a0d00abae\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-4a04-28c5-593a0d00abae\"}}}}", + "X-Processing-Time" : "559ms", + "MS-CV" : "WRJql8VGLkO8DyYqS7hSEA.0", + "X-Azure-Ref" : "0m4fLYAAAAABrPftdhFKLTqN3kpK2TGiOV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:CuAzleIzX89WQg8AgeVanwrzSFWnV7ftIzx65OejBsY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:19Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-58ce-e3c7-593a0d00f75c\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-58ce-e3c7-593a0d00f75c\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3Ajegc9UPHhiXoNLNuUrBwAQS3QKLimiX6OZrBcrJOjl01@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ACuAzleIzX89WQg8AgeVanwrzSFWnV7ftIzx65OejBsY1@thread.v2" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:jegc9UPHhiXoNLNuUrBwAQS3QKLimiX6OZrBcrJOjl01@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:CuAzleIzX89WQg8AgeVanwrzSFWnV7ftIzx65OejBsY1@thread.v2?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "6e6cbee4-0471-4cfd-978b-9a5ed664b171" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "fc9bc1c8-83a0-4c3d-9e2b-fdc5572af1de" }, "Response" : { "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", - "X-Processing-Time" : "123ms", - "MS-CV" : "MT5Dtoq9fE60j4X8krhDrg.0", + "X-Processing-Time" : "160ms", + "MS-CV" : "BPUQUN9TY0irJviQ6hZQ1w.0", "retry-after" : "0", - "X-Azure-Ref" : "0H77DYAAAAACY9Fpl1dBaQLtmI1fqUAMsWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0m4fLYAAAAACynHORl8jEQKgM4yzsrnHBV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:48:47 GMT" + "Date" : "Thu, 17 Jun 2021 17:34:19 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 adb6b335edfd7..5b2b432fde1ae 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "e6b39d45-95ac-4dad-8fd2-c83a98be269e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:55 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:30 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "26ms", - "MS-CV" : "A4QElcPXL0CPnsVEIjsXzA.0", - "X-Azure-Ref" : "0J77DYAAAAADdPMi3iPp4QLkjOIIMQ83qWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-6d48-28c5-593a0d00abbb\"}}", - "x-ms-client-request-id" : "e6b39d45-95ac-4dad-8fd2-c83a98be269e", + "X-Processing-Time" : "31ms", + "MS-CV" : "7mEwCrjrsk25NGHndQ/flg.0", + "X-Azure-Ref" : "0pofLYAAAAAAKAM/k6wWaQaKR0KDX/vD7V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-85f4-e3c7-593a0d00f769\"}}", + "x-ms-client-request-id" : "11d7d67c-458b-4318-85d7-ec667230432e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "3f54eafb-7a26-4a7e-9220-5f2fb45094fb", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:55 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:29 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "tFf1NozSl0+/EUKDXz8JNw.0", - "X-Azure-Ref" : "0J77DYAAAAACeIWdbP/7NQrwV4Y27lvgpWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-6d96-28c5-593a0d00abbc\"}}", - "x-ms-client-request-id" : "3f54eafb-7a26-4a7e-9220-5f2fb45094fb", + "X-Processing-Time" : "31ms", + "MS-CV" : "hqg0FQlDa0qyKPQKTE2/+A.0", + "X-Azure-Ref" : "0pofLYAAAAACJZ4DIFHVITJqkArxBZslOV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8636-e3c7-593a0d00f76a\"}}", + "x-ms-client-request-id" : "e0454ef2-61bc-432d-befb-536597d5ca0e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-6d48-28c5-593a0d00abbb/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-85f4-e3c7-593a0d00f769/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "9f850d16-76a6-4301-8226-8bbeb9fc56ee", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:55 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:30 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "YrdXtWtl6ke5CGeiwfZEfw.0", - "X-Azure-Ref" : "0J77DYAAAAAA27hfEedOySYYIcgrcwz2gWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:54.4021351+00:00\"}", - "x-ms-client-request-id" : "9f850d16-76a6-4301-8226-8bbeb9fc56ee", + "X-Processing-Time" : "38ms", + "MS-CV" : "f/nHa4xVaEedhJAzQx5pfQ.0", + "X-Azure-Ref" : "0pofLYAAAAABkYyvLzelmQZaFyAAc1YsIV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:29.533853+00:00\"}", + "x-ms-client-request-id" : "769f9ebe-da57-4379-ad59-2f6d0934d6b5", "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 cb439b938f804..b029a52bd95ab 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "64019568-3fa5-48d7-868a-31c62f1c59fb", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:51 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:24 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "Am8u3hHh8UmIUI7jwKBBWA.0", - "X-Azure-Ref" : "0I77DYAAAAABUlczTVew7TYvl/OiXeUQDWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-5de9-28c5-593a0d00abb6\"}}", - "x-ms-client-request-id" : "64019568-3fa5-48d7-868a-31c62f1c59fb", + "X-Processing-Time" : "31ms", + "MS-CV" : "z49jhOWUKU6Vg5j2puk+qw.0", + "X-Azure-Ref" : "0oIfLYAAAAACgBf7d70Z2T4nBEcLiKxO1V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6ddb-e3c7-593a0d00f764\"}}", + "x-ms-client-request-id" : "365497c5-c828-4b59-8f28-60c10fb44de9", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "34f2e64c-963f-4572-8f7f-621b87428523", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:51 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:23 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "TZ8RuhYA6k6/BciiiAw+jg.0", - "X-Azure-Ref" : "0I77DYAAAAAALCVCoHNfATbviLHeTJC7gWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-5e33-28c5-593a0d00abb7\"}}", - "x-ms-client-request-id" : "34f2e64c-963f-4572-8f7f-621b87428523", + "X-Processing-Time" : "31ms", + "MS-CV" : "4vIceCfl80us33r0YvagzA.0", + "X-Azure-Ref" : "0oIfLYAAAAADSLXPVp9xPS4Uv1RoPmHJfV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6e1b-e3c7-593a0d00f765\"}}", + "x-ms-client-request-id" : "636b6eef-9fb6-4e92-ab2e-8d154151cad5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-5de9-28c5-593a0d00abb6/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6ddb-e3c7-593a0d00f764/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "8d35b49d-d161-41bb-82a2-680cbb733943", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:51 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:24 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "AHoFsGzqYEGvgPH85SAd2A.0", - "X-Azure-Ref" : "0I77DYAAAAAA+V5p4TBE2Tpd0qeWBdYvuWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:50.4632658+00:00\"}", - "x-ms-client-request-id" : "8d35b49d-d161-41bb-82a2-680cbb733943", + "X-Processing-Time" : "45ms", + "MS-CV" : "yV8w0uBTxkOnx/TwYQXKPQ.0", + "X-Azure-Ref" : "0oIfLYAAAAADdDp7cJsipQrA1JmXSlwlAV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:23.3678574+00:00\"}", + "x-ms-client-request-id" : "79b2f534-15a5-4834-a782-8a138257f893", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "fa37f63b-bb5e-4532-afc4-77c029dffe2b", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "766fd21d-a744-432d-be80-5fdc8eba918d", "Content-Type" : "application/json" }, "Response" : { @@ -88,22 +85,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:52 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:25 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "1269ms", - "MS-CV" : "Msr494tW2EW1s83ZW39b9A.0", - "X-Azure-Ref" : "0I77DYAAAAABwRdB1ZlIlS6SRHIJEu+8LWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:wqTYvnNYtBv6prdI3UABthhRrBnlkeVE6nnLO5VhyRs1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:51Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-5de9-28c5-593a0d00abb6\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-5de9-28c5-593a0d00abb6\"}}}}", + "X-Processing-Time" : "641ms", + "MS-CV" : "99T7nJWs5EKGCqwXeeZmXA.0", + "X-Azure-Ref" : "0oYfLYAAAAABZA5D0tt61Tbqfv9c82CuvV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:MtKUDuxq6m-dk-WAbl7TSRRN_lZJvoBPEACi1bOFg4g1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:25Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6ddb-e3c7-593a0d00f764\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6ddb-e3c7-593a0d00f764\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AwqTYvnNYtBv6prdI3UABthhRrBnlkeVE6nnLO5VhyRs1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AMtKUDuxq6m-dk-WAbl7TSRRN_lZJvoBPEACi1bOFg4g1@thread.v2" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "b7fe7b44-1a42-419f-af13-9b859369735d", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "04e41224-7ddd-43a5-be57-d583223c6c0c", "Content-Type" : "application/json" }, "Response" : { @@ -112,35 +109,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:53 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:26 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "597ms", - "MS-CV" : "xQFMyATllkmlcX+Z2/ZwPw.0", - "X-Azure-Ref" : "0JL7DYAAAAAC3dcHX17n9SrbocMDWktYfWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:TD-pcjQ87GDtsbI99pXpH5S2aYDoxARgALz5EnMos6g1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:52Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-5de9-28c5-593a0d00abb6\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-5de9-28c5-593a0d00abb6\"}}}}", + "X-Processing-Time" : "441ms", + "MS-CV" : "Mh/G6iPCzEqmOvgXX4Jztg.0", + "X-Azure-Ref" : "0oofLYAAAAAB3148Gng4KT78d1fGpowDPV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:qJ2U3S8CtHpMkABO8-K4UShXdB4LLzSbL_B2NQbrncY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:26Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6ddb-e3c7-593a0d00f764\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6ddb-e3c7-593a0d00f764\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3ATD-pcjQ87GDtsbI99pXpH5S2aYDoxARgALz5EnMos6g1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AqJ2U3S8CtHpMkABO8-K4UShXdB4LLzSbL_B2NQbrncY1@thread.v2" }, "Exception" : null }, { "Method" : "GET", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?maxPageSize=10&api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "f0772022-5aa0-47d5-ba1a-9265a92e90f3" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "055564be-1235-4d31-9c3f-75e3a6fe9916" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "145ms", - "MS-CV" : "cX7D9p7lCk2dHRrX/aPaVg.0", + "X-Processing-Time" : "83ms", + "MS-CV" : "QHnBQUMDxUyAe+1/FDmwEQ.0", "retry-after" : "0", - "X-Azure-Ref" : "0Jr7DYAAAAAA1ty+ocgZ3S4JBt90/jylPWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0pYfLYAAAAAAO1l+A9yfSQLOWG3lME9rBV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"id\":\"19:TD-pcjQ87GDtsbI99pXpH5S2aYDoxARgALz5EnMos6g1@thread.v2\",\"topic\":\"Test\",\"lastMessageReceivedOn\":\"2021-06-11T19:48:53Z\"},{\"id\":\"19:wqTYvnNYtBv6prdI3UABthhRrBnlkeVE6nnLO5VhyRs1@thread.v2\",\"topic\":\"Test\",\"lastMessageReceivedOn\":\"2021-06-11T19:48:51Z\"}]}", - "Date" : "Fri, 11 Jun 2021 19:48:53 GMT", + "Body" : "{\"value\":[{\"id\":\"19:qJ2U3S8CtHpMkABO8-K4UShXdB4LLzSbL_B2NQbrncY1@thread.v2\",\"topic\":\"Test\",\"lastMessageReceivedOn\":\"2021-06-17T17:34:26Z\"},{\"id\":\"19:MtKUDuxq6m-dk-WAbl7TSRRN_lZJvoBPEACi1bOFg4g1@thread.v2\",\"topic\":\"Test\",\"lastMessageReceivedOn\":\"2021-06-17T17:34:25Z\"}]}", + "Date" : "Thu, 17 Jun 2021 17:34:28 GMT", "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 72d69c6010540..9248b34e2869b 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "ffa8f419-efba-4bfb-8bec-24750c706fa6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:48 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:20 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "IFSbSS/jwE6eswRLVYS74A.0", - "X-Azure-Ref" : "0IL7DYAAAAABoYy//hq88TItcZazQ4/AmWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-5252-28c5-593a0d00abb2\"}}", - "x-ms-client-request-id" : "ffa8f419-efba-4bfb-8bec-24750c706fa6", + "X-Processing-Time" : "31ms", + "MS-CV" : "0WxLMDDSOk2c5p+uu1Ww4Q.0", + "X-Azure-Ref" : "0nIfLYAAAAACxAF59YN2ZRKdrFudiK64EV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6119-e3c7-593a0d00f760\"}}", + "x-ms-client-request-id" : "7a550270-a72c-415b-bf27-9482f01a9f97", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "1f1afd91-30d8-405e-8bae-1e27db161c60", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:48 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:20 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "MAmKN3tjikWUUaESrnBuzw.0", - "X-Azure-Ref" : "0IL7DYAAAAAAopfYcc1tST7WT7Xb1W73gWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-52b1-28c5-593a0d00abb3\"}}", - "x-ms-client-request-id" : "1f1afd91-30d8-405e-8bae-1e27db161c60", + "X-Processing-Time" : "30ms", + "MS-CV" : "OZLMfKwB6EaMPGNtC5vDtA.0", + "X-Azure-Ref" : "0nIfLYAAAAABnOwrXgI5NQbadiZeN7udqV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6159-e3c7-593a0d00f761\"}}", + "x-ms-client-request-id" : "0a465046-d910-4587-abfa-94aaf1601819", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-5252-28c5-593a0d00abb2/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6119-e3c7-593a0d00f760/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "ba56c64d-3dcd-4698-911a-10aeb80cc31c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:48 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:20 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "mWX3Z1q3FUy4tDsLNj/AkQ.0", - "X-Azure-Ref" : "0IL7DYAAAAABn7y6RPW87T69aQGF+X4+tWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:47.5177528+00:00\"}", - "x-ms-client-request-id" : "ba56c64d-3dcd-4698-911a-10aeb80cc31c", + "X-Processing-Time" : "37ms", + "MS-CV" : "vV0HvgRtSEqlpmFYV6TRfQ.0", + "X-Azure-Ref" : "0nYfLYAAAAAAZwZGPK4PqQLJcZWd8BzUUV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:20.0953077+00:00\"}", + "x-ms-client-request-id" : "8f13f76f-4f9b-4fa2-b435-6c06621128c4", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "956a2b2d-0d1b-4dcd-8ea0-2fbc1f98a093", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "2400ae73-cb4c-4400-9efd-24b59823b81b", "Content-Type" : "application/json" }, "Response" : { @@ -88,22 +85,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:48 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:21 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "375ms", - "MS-CV" : "cn9ESb/nz0iQlLUAnW21PA.0", - "X-Azure-Ref" : "0IL7DYAAAAADdzm7WpJuTSbmGvLhWP3wLWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:-edb1iIoFdcO1YQrU9xH8QJOe-FczJ0pwmClivWD0_U1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:48Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-5252-28c5-593a0d00abb2\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-5252-28c5-593a0d00abb2\"}}}}", + "X-Processing-Time" : "682ms", + "MS-CV" : "3GJRBqXhV0SK4Z3UK5Hfvw.0", + "X-Azure-Ref" : "0nYfLYAAAAACoQzviE3P8Q5upUP4mKkS2V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:lw-qbPOk9Dufe2uGvrQujgu0benWXQbiZ2m5rTuy5xk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:21Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6119-e3c7-593a0d00f760\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6119-e3c7-593a0d00f760\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3A-edb1iIoFdcO1YQrU9xH8QJOe-FczJ0pwmClivWD0_U1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Alw-qbPOk9Dufe2uGvrQujgu0benWXQbiZ2m5rTuy5xk1@thread.v2" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "b3ba9efe-6f44-4a7d-b1db-fea3ad788a8f", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "2386f13a-baf6-46ec-9484-318f05fdf6e5", "Content-Type" : "application/json" }, "Response" : { @@ -112,35 +109,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:49 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:22 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "471ms", - "MS-CV" : "wuSRlwFcLEahF4MaT6HYlQ.0", - "X-Azure-Ref" : "0IL7DYAAAAABGnRTzFnFZR5WJmj6wQKAyWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:EisuhatMGoS72bUBNTRcRZcphHVjfbhVt8a90yy0Jyk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:49Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-5252-28c5-593a0d00abb2\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-5252-28c5-593a0d00abb2\"}}}}", + "X-Processing-Time" : "558ms", + "MS-CV" : "TVLLHARlvkGhN4/FsQbI7g.0", + "X-Azure-Ref" : "0nYfLYAAAAABG+evNGPSDQaHCbRgUSvkRV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:Tg_bqEpQz7GnoTys5kx7S-OXHzxkwFk8RXJrIpSxEHI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:21Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6119-e3c7-593a0d00f760\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6119-e3c7-593a0d00f760\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AEisuhatMGoS72bUBNTRcRZcphHVjfbhVt8a90yy0Jyk1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ATg_bqEpQz7GnoTys5kx7S-OXHzxkwFk8RXJrIpSxEHI1@thread.v2" }, "Exception" : null }, { "Method" : "GET", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "d6e9d6db-0691-4dc4-ac3d-6c511fde19ae" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "7b92a18b-1f93-4bd3-a3c0-f59318f01246" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "83ms", - "MS-CV" : "wI7T8qkfoECavpNve/JO5w.0", + "X-Processing-Time" : "133ms", + "MS-CV" : "T/LKxlfKVEWV7meu0Z3KQA.0", "retry-after" : "0", - "X-Azure-Ref" : "0Ir7DYAAAAADyYZqV98FoQI+xUxwispkLWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0nofLYAAAAAAItBI+EkD/T44XC8ie5/ivV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"id\":\"19:EisuhatMGoS72bUBNTRcRZcphHVjfbhVt8a90yy0Jyk1@thread.v2\",\"topic\":\"Test\",\"lastMessageReceivedOn\":\"2021-06-11T19:48:49Z\"},{\"id\":\"19:-edb1iIoFdcO1YQrU9xH8QJOe-FczJ0pwmClivWD0_U1@thread.v2\",\"topic\":\"Test\",\"lastMessageReceivedOn\":\"2021-06-11T19:48:48Z\"}]}", - "Date" : "Fri, 11 Jun 2021 19:48:50 GMT", + "Body" : "{\"value\":[{\"id\":\"19:Tg_bqEpQz7GnoTys5kx7S-OXHzxkwFk8RXJrIpSxEHI1@thread.v2\",\"topic\":\"Test\",\"lastMessageReceivedOn\":\"2021-06-17T17:34:22Z\"},{\"id\":\"19:lw-qbPOk9Dufe2uGvrQujgu0benWXQbiZ2m5rTuy5xk1@thread.v2\",\"topic\":\"Test\",\"lastMessageReceivedOn\":\"2021-06-17T17:34:21Z\"}]}", + "Date" : "Thu, 17 Jun 2021 17:34:22 GMT", "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 6d7cf2f70e80c..29bbda3eed086 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "f7ba795c-d6fa-426a-838a-a998ea3249d8", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:35 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:17 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "dn3/mVfzXEWLHPWJBjrBPQ.0", - "X-Azure-Ref" : "0UL7DYAAAAACuU7oYAzrnRpkRZAkEmOdcWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-0ca7-28c5-593a0d00ac02\"}}", - "x-ms-client-request-id" : "f7ba795c-d6fa-426a-838a-a998ea3249d8", + "X-Processing-Time" : "28ms", + "MS-CV" : "ZxuIMOfZNkmZ1NlHxMLTyQ.0", + "X-Azure-Ref" : "01ofLYAAAAACTVmwYRqbWTr9npDPpgzO8V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-4196-e3c7-593a0d00f7dd\"}}", + "x-ms-client-request-id" : "2a453366-cf80-44e8-b1ce-70121a15b291", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "15732ac3-f05c-44ee-a6c5-97f60918f4d9", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:35 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:18 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "g3CC6AVp7Umd6DlEziIQyg.0", - "X-Azure-Ref" : "0UL7DYAAAAACQVBZYscjRSp/6kz++a3pBWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-0cf2-28c5-593a0d00ac03\"}}", - "x-ms-client-request-id" : "15732ac3-f05c-44ee-a6c5-97f60918f4d9", + "X-Processing-Time" : "35ms", + "MS-CV" : "mJBydaetwk2VYYLSVfm/dA.0", + "X-Azure-Ref" : "01ofLYAAAAABblIc08GmbS4uU4g20Ruz9V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-41d5-e3c7-593a0d00f7de\"}}", + "x-ms-client-request-id" : "701524ed-2c3b-469a-8b13-8e5563dea096", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-0ca7-28c5-593a0d00ac02/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-4196-e3c7-593a0d00f7dd/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "ccd02547-42a8-408d-836c-c0c04a0ecc99", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:35 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:17 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "A8J83do/skqGbGleXo4Ocw.0", - "X-Azure-Ref" : "0UL7DYAAAAADFMiAkGIADT5uX/MShBnJOWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:35.2069482+00:00\"}", - "x-ms-client-request-id" : "ccd02547-42a8-408d-836c-c0c04a0ecc99", + "X-Processing-Time" : "37ms", + "MS-CV" : "j6Y3cm84tUWZG8rCv8LfHg.0", + "X-Azure-Ref" : "01ofLYAAAAADQ/u7D4d2uR6Ot06I1EyQCV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:17.5604164+00:00\"}", + "x-ms-client-request-id" : "02287223-3008-4a95-9ff0-6e9e626425ed", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "45157fa5-97c1-4d2b-8cc5-132a5a828c6d", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "0621837d-2a40-41ca-92e6-9a0e39646d50", "Content-Type" : "application/json" }, "Response" : { @@ -88,22 +85,21 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:35 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:19 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "364ms", - "MS-CV" : "n18LLsHpMEuQrBcplTuaYg.0", - "X-Azure-Ref" : "0UL7DYAAAAACRWRQort2nTqNFJentPwhzWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:8AKc0eppcXG4CiA2bph8u9EehIYecyRaHo1psyQZc4c1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:36Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-0ca7-28c5-593a0d00ac02\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-0ca7-28c5-593a0d00ac02\"}}}}", + "X-Processing-Time" : "1110ms", + "MS-CV" : "ovKDN7U9PUKCcgKScEg/ig.0", + "X-Azure-Ref" : "01ofLYAAAAAB13mWxjtluT650gFMCC6PTV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:WDwQwuiwfjHJ5oTfWbyqYsckERVZiERnwjop94rWK781@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:18Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-4196-e3c7-593a0d00f7dd\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-4196-e3c7-593a0d00f7dd\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3A8AKc0eppcXG4CiA2bph8u9EehIYecyRaHo1psyQZc4c1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AWDwQwuiwfjHJ5oTfWbyqYsckERVZiERnwjop94rWK781@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.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "a3cba715-fe2e-47a7-b4fd-f827bc7d1f19", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -112,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:36 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:19 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "24ms", - "MS-CV" : "wMsvLK4E1EeYBGWfosboqg.0", - "X-Azure-Ref" : "0UL7DYAAAAACX674RPTIlQqSxGsTq7bttWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-0f3f-28c5-593a0d00ac04\"}}", - "x-ms-client-request-id" : "a3cba715-fe2e-47a7-b4fd-f827bc7d1f19", + "X-Processing-Time" : "32ms", + "MS-CV" : "M1UGwpIUt0W385gYPGjcHA.0", + "X-Azure-Ref" : "014fLYAAAAADar9GNdK3xQZsCYdN3lY0TV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-470b-e3c7-593a0d00f7df\"}}", + "x-ms-client-request-id" : "2c41b561-49f5-40b0-adcf-93b67633ef79", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -127,8 +123,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "9b71ece6-0191-48ed-ade5-4a39e2fdfe4c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -137,55 +132,55 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:36 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:19 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "Uk+eGBP8DEu0XprwgyHWIQ.0", - "X-Azure-Ref" : "0UL7DYAAAAABJfJKefQUQQKbbjXGtGYExWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-0f87-28c5-593a0d00ac05\"}}", - "x-ms-client-request-id" : "9b71ece6-0191-48ed-ade5-4a39e2fdfe4c", + "X-Processing-Time" : "34ms", + "MS-CV" : "Ki4SY10jIUyq3gijJMYhGA.0", + "X-Azure-Ref" : "014fLYAAAAABlNbyJLF1zSYrdFHMrDVC9V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-4756-e3c7-593a0d00f7e0\"}}", + "x-ms-client-request-id" : "9c482aa9-f568-47ec-bd4d-09c142c3d717", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:8AKc0eppcXG4CiA2bph8u9EehIYecyRaHo1psyQZc4c1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:WDwQwuiwfjHJ5oTfWbyqYsckERVZiERnwjop94rWK781@thread.v2/participants/:remove?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "f9619727-82ac-4b89-8bf1-3c13bf7b6183", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "55c05b87-0b02-4b24-a36b-6a3d2d6ddc9f", "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "116ms", - "MS-CV" : "TgVmKC2ZDUOzzmyGXTSkBg.0", + "X-Processing-Time" : "324ms", + "MS-CV" : "IqSAi2zR502fz4lI8H1iNQ.0", "retry-after" : "0", - "X-Azure-Ref" : "0UL7DYAAAAAAwHT321nMJSaVDF0e9u19QWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "014fLYAAAAAAgGQUeb16cR6A1GfqXeg3VV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:49:36 GMT" + "Date" : "Thu, 17 Jun 2021 17:35:19 GMT" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:8AKc0eppcXG4CiA2bph8u9EehIYecyRaHo1psyQZc4c1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:WDwQwuiwfjHJ5oTfWbyqYsckERVZiERnwjop94rWK781@thread.v2/participants/:remove?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "f0a23b99-f1ee-4e18-a8d1-d5dfc3c1fb85", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "d5fce9f3-2294-445c-8525-ea115b881fee", "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "121ms", - "MS-CV" : "RcgBe/I3TkKuijfycPRqcw.0", + "X-Processing-Time" : "189ms", + "MS-CV" : "+y4osgweREKsesuy7dtkPg.0", "retry-after" : "0", - "X-Azure-Ref" : "0UL7DYAAAAADdpIYS3U+GSp6oByoMX+FLWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "02IfLYAAAAAAq6+nVSd67SqvIUbFGYgPpV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:49:36 GMT" + "Date" : "Thu, 17 Jun 2021 17:35:20 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 48577c2a73388..61c59ff8ac100 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "20dd36ea-2830-4c71-a8a9-9ec8499f9e4f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:07 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:47 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "20ms", - "MS-CV" : "4ErKTSpFtUy6mRMd7kcNsQ.0", - "X-Azure-Ref" : "0NL7DYAAAAACLwOwySUEwRZSFjk8LVkbnWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-a034-28c5-593a0d00abdc\"}}", - "x-ms-client-request-id" : "20dd36ea-2830-4c71-a8a9-9ec8499f9e4f", + "X-Processing-Time" : "61ms", + "MS-CV" : "hl6CMxF5xUiskatIlmYzzA.0", + "X-Azure-Ref" : "0t4fLYAAAAADHuKmpbBtET6Yga8TL7+fAV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-c960-e3c7-593a0d00f78f\"}}", + "x-ms-client-request-id" : "ae54c5e2-8b5c-4a2b-8bdb-eb5e2cc8e02b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "a611e812-3408-46fc-abd8-44bcca5b0d1f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:08 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:47 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "24ms", - "MS-CV" : "j2L2REmY4ku605ZQ5YW2YQ.0", - "X-Azure-Ref" : "0NL7DYAAAAAA0dVNjMXFISr0hiW7S9k38WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-a088-28c5-593a0d00abdd\"}}", - "x-ms-client-request-id" : "a611e812-3408-46fc-abd8-44bcca5b0d1f", + "X-Processing-Time" : "30ms", + "MS-CV" : "Hn6yhgMHY02qobO9zY4u1Q.0", + "X-Azure-Ref" : "0t4fLYAAAAABr/7/f9l9VSZvBULDGDSKFV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-c99c-e3c7-593a0d00f790\"}}", + "x-ms-client-request-id" : "cbf502ae-b01c-4a20-bfcb-55e3fe5227a6", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-a034-28c5-593a0d00abdc/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-c960-e3c7-593a0d00f78f/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "ec1d53bc-89b0-47ee-ab92-585a595983be", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:08 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:47 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "t9OwUQiSZkeVSZNFOiMg8w.0", - "X-Azure-Ref" : "0NL7DYAAAAABBZw44bpS7Tp2mxTsV+6AHWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:07.4428448+00:00\"}", - "x-ms-client-request-id" : "ec1d53bc-89b0-47ee-ab92-585a595983be", + "X-Processing-Time" : "38ms", + "MS-CV" : "hSOLOvis1EGq4Pq6n3j+xA.0", + "X-Azure-Ref" : "0t4fLYAAAAADl0N8aO+26T61qsLAoAiNaV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:46.7876793+00:00\"}", + "x-ms-client-request-id" : "bb6960b1-a524-4ade-a6dd-c3873418edbb", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "7ff2d861-0fed-4d65-ac39-7539736c5725", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "a74bdc3c-50a6-4a8b-8742-ce0de9116e7f", "Content-Type" : "application/json" }, "Response" : { @@ -88,22 +85,21 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:08 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "487ms", - "MS-CV" : "CVV67bVgKEihPSFwevw33w.0", - "X-Azure-Ref" : "0NL7DYAAAAACnBMy+yoMmTKE1U6o37W7vWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:auMRkGoHLuH8Z0Y0C0zVf9YuEj_LyPF_fHNu4wr2BbQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:08Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-a034-28c5-593a0d00abdc\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-a034-28c5-593a0d00abdc\"}}}}", + "X-Processing-Time" : "803ms", + "MS-CV" : "Go8hrxCUJ0y1qeZcGStSCg.0", + "X-Azure-Ref" : "0t4fLYAAAAADgKrNF/qzJTI9xdWN15lmdV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:0srG35nJpganRK9e41ilg0-F7ZA0JiXqRml51jPPTq01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:47Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-c960-e3c7-593a0d00f78f\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-c960-e3c7-593a0d00f78f\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AauMRkGoHLuH8Z0Y0C0zVf9YuEj_LyPF_fHNu4wr2BbQ1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0srG35nJpganRK9e41ilg0-F7ZA0JiXqRml51jPPTq01@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.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "d601671d-40b9-424c-b5ce-3e0ea09ea83f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -112,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:08 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "XukYbJIscUqbgTa6fCYWtw.0", - "X-Azure-Ref" : "0Nb7DYAAAAADnM9laep6NTKeGdbb3WQrJWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-a356-28c5-593a0d00abde\"}}", - "x-ms-client-request-id" : "d601671d-40b9-424c-b5ce-3e0ea09ea83f", + "X-Processing-Time" : "97ms", + "MS-CV" : "rG6mRIystkieoo6ceC+RBg.0", + "X-Azure-Ref" : "0uIfLYAAAAACzIp1EI4SoRLWMGpLyCcoqV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-cdc6-e3c7-593a0d00f791\"}}", + "x-ms-client-request-id" : "1e78639e-8689-477d-b176-180c5bd5cda4", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -127,8 +123,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "cbd16c1d-7ff6-4683-aeac-8b0af85580ae", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -137,55 +132,55 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:08 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "7YzhpGMIZkmg5TmqyajJwQ.0", - "X-Azure-Ref" : "0Nb7DYAAAAADyWq0NHnt5R42g+ngb3ciPWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-a3b8-28c5-593a0d00abdf\"}}", - "x-ms-client-request-id" : "cbd16c1d-7ff6-4683-aeac-8b0af85580ae", + "X-Processing-Time" : "30ms", + "MS-CV" : "MQNxexU3AU6EDEdmcMCnJg.0", + "X-Azure-Ref" : "0uIfLYAAAAAAM6S8RoW5AR7vpzGoUWYtvV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-ce08-e3c7-593a0d00f793\"}}", + "x-ms-client-request-id" : "d6e1427f-ff3a-4e09-9006-cec32c2a5ef8", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:auMRkGoHLuH8Z0Y0C0zVf9YuEj_LyPF_fHNu4wr2BbQ1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:0srG35nJpganRK9e41ilg0-F7ZA0JiXqRml51jPPTq01@thread.v2/participants/:remove?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "23ba088c-41a4-4c29-b46a-bddde39f13bb", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "7d507c0c-378d-4b7b-9fcb-abc114ff5fdf", "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "189ms", - "MS-CV" : "eSrX1882A0CvLzI6zodj8Q.0", + "X-Processing-Time" : "148ms", + "MS-CV" : "nWGlmJRbPU69XA0EOzEVlw.0", "retry-after" : "0", - "X-Azure-Ref" : "0Nb7DYAAAAAD+c+8FQqo5SIknfpYipJJ6WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0uIfLYAAAAABoSnkplUGBTZXewmBn4Q0sV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:49:09 GMT" + "Date" : "Thu, 17 Jun 2021 17:34:48 GMT" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:auMRkGoHLuH8Z0Y0C0zVf9YuEj_LyPF_fHNu4wr2BbQ1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:0srG35nJpganRK9e41ilg0-F7ZA0JiXqRml51jPPTq01@thread.v2/participants/:remove?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "715101c3-1c74-4251-b0cc-1df3a4f1ff47", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "27d6b05e-40db-48ab-a123-f4b31815b084", "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "125ms", - "MS-CV" : "RNZLrl7v8EimkPykTSTXlA.0", + "X-Processing-Time" : "164ms", + "MS-CV" : "2TlAxbV50U23sskRbTW35Q.0", "retry-after" : "0", - "X-Azure-Ref" : "0Nb7DYAAAAACPnfEYqyN/T5z8WzpQwLgrWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0uYfLYAAAAAAF0lmqR4IQTISAocSWe9SaV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:49:09 GMT" + "Date" : "Thu, 17 Jun 2021 17:34:48 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 8da735e484a24..c6619442bb958 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "ac9cfe04-4531-439f-9e4f-3fb07492d290", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:12 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:50 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "20ms", - "MS-CV" : "N8SF1v+Mp0SyVRwr8wPgBg.0", - "X-Azure-Ref" : "0OL7DYAAAAABH5AYPVzTYTJD+5VAHXE55WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-b108-28c5-593a0d00abe5\"}}", - "x-ms-client-request-id" : "ac9cfe04-4531-439f-9e4f-3fb07492d290", + "X-Processing-Time" : "86ms", + "MS-CV" : "W178uiaJp0CF6X42PWM1zQ.0", + "X-Azure-Ref" : "0u4fLYAAAAAD6Kvgo/2tVRYODfcww6SytV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-d896-e3c7-593a0d00f79a\"}}", + "x-ms-client-request-id" : "eaaf2718-5542-49e2-83f6-294e6e26766c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "1a84d020-1dc4-4434-b763-efcca3cd942f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:12 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "20ms", - "MS-CV" : "RwLiljzH+0mTAE9SSFqIjw.0", - "X-Azure-Ref" : "0OL7DYAAAAACWG9bGAXjaQqfsXQ5DFfARWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-b1a2-f6c7-593a0d00ab94\"}}", - "x-ms-client-request-id" : "1a84d020-1dc4-4434-b763-efcca3cd942f", + "X-Processing-Time" : "56ms", + "MS-CV" : "HfAqPev15EmwuxKmSuxq8A.0", + "X-Azure-Ref" : "0u4fLYAAAAAAyll+hNu2dSL8fvIBPW30iV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-d902-e3c7-593a0d00f79b\"}}", + "x-ms-client-request-id" : "23aabee8-5634-45d3-b07d-99004cd1d04a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-b108-28c5-593a0d00abe5/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-d896-e3c7-593a0d00f79a/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "2d43ecc6-bb2a-4ad6-a566-92d5d7b512d6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:12 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "UKhD6ZRlSECIAJWJeegS3g.0", - "X-Azure-Ref" : "0OL7DYAAAAADdig7ltFjmQorDIcp16E/SWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:11.8217661+00:00\"}", - "x-ms-client-request-id" : "2d43ecc6-bb2a-4ad6-a566-92d5d7b512d6", + "X-Processing-Time" : "40ms", + "MS-CV" : "JOQMrDhhZ0iQHuMuYD5mUQ.0", + "X-Azure-Ref" : "0u4fLYAAAAADwY6KPqdqPR542c4wxDGsxV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:50.7281897+00:00\"}", + "x-ms-client-request-id" : "c3a48912-4087-49ca-be0c-95c0f99f3dd0", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "760c6b20-bb93-422e-ae0a-610e21f09c89", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "8015bc82-877f-4ce5-842a-161e73738391", "Content-Type" : "application/json" }, "Response" : { @@ -88,22 +85,21 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:13 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "844ms", - "MS-CV" : "vJK+388gcUCECEYUfWHQaw.0", - "X-Azure-Ref" : "0OL7DYAAAAADDxDWRiE4kSoOj/6D0CGgAWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:gpqGwwBaNZzsrOfVYmyA4Ik7orN9TAcdy7LebMF6_dA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:12Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-b108-28c5-593a0d00abe5\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-b108-28c5-593a0d00abe5\"}}}}", + "X-Processing-Time" : "439ms", + "MS-CV" : "mv3MrftrP06+MUOXlElWKA.0", + "X-Azure-Ref" : "0u4fLYAAAAAAZkT0yKunYQpBGp/Iv92drV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:MvqS0MdQwJKgY1X2v_iHbVhM4qzFjxMGaK5ZC4h8yaA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:51Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-d896-e3c7-593a0d00f79a\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-d896-e3c7-593a0d00f79a\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AgpqGwwBaNZzsrOfVYmyA4Ik7orN9TAcdy7LebMF6_dA1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AMvqS0MdQwJKgY1X2v_iHbVhM4qzFjxMGaK5ZC4h8yaA1@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.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "7eb309eb-f4c4-4db9-acb8-b3a8f7f97ab6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -112,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:13 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "24ms", - "MS-CV" : "a0ZbLrQ8OU2GssQ+njtlSA.0", - "X-Azure-Ref" : "0Ob7DYAAAAADjJBjtjGZoSrPP68WBVGDmWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-b5bc-f6c7-593a0d00ab95\"}}", - "x-ms-client-request-id" : "7eb309eb-f4c4-4db9-acb8-b3a8f7f97ab6", + "X-Processing-Time" : "35ms", + "MS-CV" : "GaH2wpFHE0uiIlXNEKZZ4w.0", + "X-Azure-Ref" : "0vIfLYAAAAABSQIn769JITKA0a3hbnhL9V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-db66-e3c7-593a0d00f79d\"}}", + "x-ms-client-request-id" : "7bf05730-141e-45e0-aa51-08e0c4df601b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -127,8 +123,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "e2901033-2efc-43f4-9b93-0417b7d6c9c0", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -137,55 +132,55 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:13 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:52 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "6JnLyHE3sEyd4zWwB6xrmw.0", - "X-Azure-Ref" : "0Ob7DYAAAAABeAiG7cn43SLU+o37Qu+kFWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-b600-28c5-593a0d00abe9\"}}", - "x-ms-client-request-id" : "e2901033-2efc-43f4-9b93-0417b7d6c9c0", + "X-Processing-Time" : "31ms", + "MS-CV" : "wUPkTjFKqkeTsei17ujhFA.0", + "X-Azure-Ref" : "0vIfLYAAAAACjFpU4jM6RS7iP2h33Pkm1V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-dba9-e3c7-593a0d00f79e\"}}", + "x-ms-client-request-id" : "1ff361da-8992-45eb-87e0-bf3e98230c48", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:gpqGwwBaNZzsrOfVYmyA4Ik7orN9TAcdy7LebMF6_dA1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:MvqS0MdQwJKgY1X2v_iHbVhM4qzFjxMGaK5ZC4h8yaA1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "538ea1e6-4e44-4f4f-9d9e-faca0cfc37b5", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "d2a6aa27-e816-4996-9f84-d1f38206b4e4", "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "168ms", - "MS-CV" : "+ewO47wISUimZgEec3fR6A.0", + "X-Processing-Time" : "233ms", + "MS-CV" : "BaPPLUg6TUCSZ6XTtkJYRw.0", "retry-after" : "0", - "X-Azure-Ref" : "0Ob7DYAAAAACelH7I9uFNSZjbDxl+MR/KWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0vIfLYAAAAADqgAd/6KpfS5H0rQ6F69ayV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:49:13 GMT" + "Date" : "Thu, 17 Jun 2021 17:34:52 GMT" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:gpqGwwBaNZzsrOfVYmyA4Ik7orN9TAcdy7LebMF6_dA1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:MvqS0MdQwJKgY1X2v_iHbVhM4qzFjxMGaK5ZC4h8yaA1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "2780aa56-c7df-4017-809e-c947a5fd9cbf", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "ad480f3c-ed87-4718-b3d7-a356afbd14a9", "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "138ms", - "MS-CV" : "G3n8SpgGrES76sU3f2Kq+w.0", + "X-Processing-Time" : "111ms", + "MS-CV" : "WuqX32pWYk+kzozeYI5CsQ.0", "retry-after" : "0", - "X-Azure-Ref" : "0Or7DYAAAAABzf8jX9IEITrohvrCho0B2WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0vIfLYAAAAACYrc+JgObSSYiBHBlidX7NV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:49:13 GMT" + "Date" : "Thu, 17 Jun 2021 17:34:52 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 8795da928e66f..353cfa150e7c4 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "0fe8002d-2b3c-4f7a-a280-86c9c5783a9f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:30 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:11 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "QisqQMJjb0qphRW282b8iw.0", - "X-Azure-Ref" : "0Sr7DYAAAAACDwNdaEZITSrFR1y7bVKWFWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-f831-f6c7-593a0d00abab\"}}", - "x-ms-client-request-id" : "0fe8002d-2b3c-4f7a-a280-86c9c5783a9f", + "X-Processing-Time" : "31ms", + "MS-CV" : "SmnhOxQWQ0W3eCyjv3SFrg.0", + "X-Azure-Ref" : "0z4fLYAAAAAD2BKK2q14fQ4i12gxsYXLJV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-2764-e3c7-593a0d00f7d2\"}}", + "x-ms-client-request-id" : "df6f9438-3357-4650-9cd6-50e4fa3c0c9b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "8e6d6fd6-d7ea-4824-ae08-134391e93c9f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:30 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:11 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "20ms", - "MS-CV" : "NcUkxKaPzEq4an8W3OHbEw.0", - "X-Azure-Ref" : "0Sr7DYAAAAACWiSQ4GpX+T6jrJJ6/12aLWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-f879-f6c7-593a0d00abac\"}}", - "x-ms-client-request-id" : "8e6d6fd6-d7ea-4824-ae08-134391e93c9f", + "X-Processing-Time" : "39ms", + "MS-CV" : "pQOQ28wq2EyW8Qk38qLc+A.0", + "X-Azure-Ref" : "0z4fLYAAAAADeR0NX//eFRrYHZhUr38GuV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-27a4-e3c7-593a0d00f7d3\"}}", + "x-ms-client-request-id" : "3a0a3993-0e21-4657-9e0e-517c1cb122a7", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-f831-f6c7-593a0d00abab/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-2764-e3c7-593a0d00f7d2/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "e062e076-0953-438b-a183-8669eabfa7a0", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:30 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:11 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "jDJOp0g3ik2R8335/CQuSw.0", - "X-Azure-Ref" : "0S77DYAAAAABevOhR3a4zS5ROCn0reYhZWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:30.4911612+00:00\"}", - "x-ms-client-request-id" : "e062e076-0953-438b-a183-8669eabfa7a0", + "X-Processing-Time" : "66ms", + "MS-CV" : "HVUfzCcWrkyIawwnEbS15g.0", + "X-Azure-Ref" : "0z4fLYAAAAADr4o17IKhNRIDz8rsJfBk8V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:10.9116636+00:00\"}", + "x-ms-client-request-id" : "2190ec8e-f3c9-4588-bfe9-ba04f64a004c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "a3ce0d56-10dc-44c0-bbf4-b20ea115194c", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "ea02919f-df9c-47a0-9f66-e9a5a46683d6", "Content-Type" : "application/json" }, "Response" : { @@ -88,35 +85,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:31 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:12 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "323ms", - "MS-CV" : "eB0vltuxoUadBgQJJ9chIQ.0", - "X-Azure-Ref" : "0S77DYAAAAADkNfm5RnUQQpXCyli1LZxyWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:pwNVofV55ynMUTcWZZ9p914iK_RfzecRJ6hQNt841ok1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:31Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-f831-f6c7-593a0d00abab\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-f831-f6c7-593a0d00abab\"}}}}", + "X-Processing-Time" : "864ms", + "MS-CV" : "LZxJRqUkGU+5rspxST9Smg.0", + "X-Azure-Ref" : "0z4fLYAAAAAA/bExqZCwrR6WpciCIsRCqV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:ioQXpuqCJBnMH3tJqN38TW7-MbTMZnzsDqzUPiOID5o1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:12Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-2764-e3c7-593a0d00f7d2\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-2764-e3c7-593a0d00f7d2\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3ApwNVofV55ynMUTcWZZ9p914iK_RfzecRJ6hQNt841ok1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AioQXpuqCJBnMH3tJqN38TW7-MbTMZnzsDqzUPiOID5o1@thread.v2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:pwNVofV55ynMUTcWZZ9p914iK_RfzecRJ6hQNt841ok1@thread.v2/participants?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:ioQXpuqCJBnMH3tJqN38TW7-MbTMZnzsDqzUPiOID5o1@thread.v2/participants?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "290fff94-b491-46f0-9d40-954e1a350c8e" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "7e652e20-ac99-492b-bb71-deb4e5f596a8" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "97ms", - "MS-CV" : "WdlIfGG+JkW6F4eML1mv6A.0", + "X-Processing-Time" : "247ms", + "MS-CV" : "Kxr3YHVnF0aPpoJ6lV2SYA.0", "retry-after" : "0", - "X-Azure-Ref" : "0S77DYAAAAADPTVfk3RYxQLe7eS5uxjxmWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "00IfLYAAAAAABrYokmJP3T4H/2bPxqKKXV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-f831-f6c7-593a0d00abab\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-f831-f6c7-593a0d00abab\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-f879-f6c7-593a0d00abac\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-f879-f6c7-593a0d00abac\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", - "Date" : "Fri, 11 Jun 2021 19:49:31 GMT", + "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-2764-e3c7-593a0d00f7d2\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-2764-e3c7-593a0d00f7d2\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-27a4-e3c7-593a0d00f7d3\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-27a4-e3c7-593a0d00f7d3\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", + "Date" : "Thu, 17 Jun 2021 17:35:12 GMT", "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 3177cc5d77257..1d0da3f8a9ebd 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "932d9785-5163-4c78-97fb-abc3f59a46b7", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:03 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:41 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "ngjsJloUSEyB5CXJ5JKKwA.0", - "X-Azure-Ref" : "0L77DYAAAAAAQJSVxJDw/RoqPd8AGn3xnWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-8ea5-28c5-593a0d00abd0\"}}", - "x-ms-client-request-id" : "932d9785-5163-4c78-97fb-abc3f59a46b7", + "X-Processing-Time" : "57ms", + "MS-CV" : "clGozy6T6UicsXHcB0wVnw.0", + "X-Azure-Ref" : "0sYfLYAAAAAAs6Qqh205RQLwm+8ZApW9NV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b2f4-e3c7-593a0d00f781\"}}", + "x-ms-client-request-id" : "422f911a-6d6d-47c1-9ac4-f281b4b4849a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "88dc9025-944e-43eb-b42a-bb84ed77c800", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:03 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:41 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "Vrr0Typ/FEqNqU3mPKY43w.0", - "X-Azure-Ref" : "0L77DYAAAAAC9KPCU1LeDTbMyTwkF5eCIWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-8ee9-28c5-593a0d00abd1\"}}", - "x-ms-client-request-id" : "88dc9025-944e-43eb-b42a-bb84ed77c800", + "X-Processing-Time" : "30ms", + "MS-CV" : "6bWn31+efEqiruWzJrkiZw.0", + "X-Azure-Ref" : "0sYfLYAAAAACzIiNVRtHySJKzsfULyXLVV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b330-e3c7-593a0d00f782\"}}", + "x-ms-client-request-id" : "96f8892c-e538-44f3-a115-8a2460f378a0", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-8ea5-28c5-593a0d00abd0/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b2f4-e3c7-593a0d00f781/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "3a8141c7-88c5-45c0-9854-7e32718b655e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:03 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:41 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "26ms", - "MS-CV" : "lk2Ia2EGg0mltzkhg1kvgA.0", - "X-Azure-Ref" : "0L77DYAAAAAC1GFnLM+LuRZr+aIlzjL9gWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:02.9341952+00:00\"}", - "x-ms-client-request-id" : "3a8141c7-88c5-45c0-9854-7e32718b655e", + "X-Processing-Time" : "66ms", + "MS-CV" : "aL53+L3kMUCO7nNA60fuiQ.0", + "X-Azure-Ref" : "0sYfLYAAAAABtsO+wHoUhS4K5fpwvjTxlV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:41.0734238+00:00\"}", + "x-ms-client-request-id" : "e3e0ee63-d2d0-45a9-8dc0-f5d9a5917e18", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "2e359e1b-2bb7-4146-a268-9d04072d3651", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "1fc910a8-6418-460d-a7b0-480f0e33a799", "Content-Type" : "application/json" }, "Response" : { @@ -88,22 +85,21 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:04 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "356ms", - "MS-CV" : "ojGVX2r9bUi4SmgNjcYotQ.0", - "X-Azure-Ref" : "0L77DYAAAAADU3hXzQceET4B0JnvrpAI3WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:erKtv45xRCNdjuYChcyjMivcgaUhFlfsu2qdN-MNnZY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:04Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-8ea5-28c5-593a0d00abd0\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-8ea5-28c5-593a0d00abd0\"}}}}", + "X-Processing-Time" : "564ms", + "MS-CV" : "OTLRDovW60+v0DGkgK6PNA.0", + "X-Azure-Ref" : "0sofLYAAAAABM7tib30iPRJHVGwL7yjoVV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:EhO1e6-yajnV0NgNmZ4ARCDJEE8jFyK7MyE6yRwSOtU1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:42Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b2f4-e3c7-593a0d00f781\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b2f4-e3c7-593a0d00f781\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AerKtv45xRCNdjuYChcyjMivcgaUhFlfsu2qdN-MNnZY1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AEhO1e6-yajnV0NgNmZ4ARCDJEE8jFyK7MyE6yRwSOtU1@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.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "7db85422-9bea-475b-a278-5a544c5dd21a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -112,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:04 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "kvByRb+rHk2j4Do5p1Bvww.0", - "X-Azure-Ref" : "0ML7DYAAAAAAnQiSDHY2GSImBjO1hG88sWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-9131-28c5-593a0d00abd2\"}}", - "x-ms-client-request-id" : "7db85422-9bea-475b-a278-5a544c5dd21a", + "X-Processing-Time" : "31ms", + "MS-CV" : "FlnBe03S4k68oWEjCGI35g.0", + "X-Azure-Ref" : "0sofLYAAAAAAtbe4RNLkZR68zGYjJz9bXV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b638-e3c7-593a0d00f783\"}}", + "x-ms-client-request-id" : "b7ba9df3-dd1b-46bb-8e63-6e9d3907a771", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -127,8 +123,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "42017394-c0b5-4aa9-861f-932cb5c570bc", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -137,13 +132,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:04 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "24ms", - "MS-CV" : "q1uB1O3HOU2wYox4zo6AhA.0", - "X-Azure-Ref" : "0ML7DYAAAAACweE2A5Uf1T78j88igt9K7WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-9179-28c5-593a0d00abd3\"}}", - "x-ms-client-request-id" : "42017394-c0b5-4aa9-861f-932cb5c570bc", + "X-Processing-Time" : "58ms", + "MS-CV" : "xmPhLZncIkGJlGuKbk1ZBg.0", + "X-Azure-Ref" : "0sofLYAAAAADIkRqqy66tQo99yhWtFixXV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b69c-e3c7-593a0d00f784\"}}", + "x-ms-client-request-id" : "5113cca3-91af-4ac9-9654-de9bb07d1b9d", "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 86f3f74b53c09..2cb4e1a19aa74 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "210f4ef0-5d14-47bd-8049-0f9e4fa5748c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:29 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:10 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "ysVa+jjwSEi+gGQYNhrF2Q.0", - "X-Azure-Ref" : "0Sb7DYAAAAADKFjE8TLRPSY2OAdoWNPNYWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-f435-f6c7-593a0d00aba8\"}}", - "x-ms-client-request-id" : "210f4ef0-5d14-47bd-8049-0f9e4fa5748c", + "X-Processing-Time" : "32ms", + "MS-CV" : "xgzN88bXbkKhWjukJDrWZg.0", + "X-Azure-Ref" : "0zofLYAAAAADNDDh95epbTIYOLoYwX0OVV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-238f-e3c7-593a0d00f7cb\"}}", + "x-ms-client-request-id" : "f02ea24c-1e5b-468c-9df8-0c4d467e01e6", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "eabd4e0f-cc38-422a-b0e6-71317305e2a8", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:29 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:10 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "l+l3RIiBMk6qjTT3la5aAA.0", - "X-Azure-Ref" : "0Sb7DYAAAAACrJB2AIZxtRZbOKr3PHeThWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-f48a-28c5-593a0d00abfe\"}}", - "x-ms-client-request-id" : "eabd4e0f-cc38-422a-b0e6-71317305e2a8", + "X-Processing-Time" : "32ms", + "MS-CV" : "vC7k2NKahEunRh8Zzg/VuA.0", + "X-Azure-Ref" : "0zofLYAAAAADIYwmD2T6lR7Bh3pvK5BKYV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-23f0-e3c7-593a0d00f7cc\"}}", + "x-ms-client-request-id" : "c9b1c973-9315-4c59-98d4-d816491496ab", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-f435-f6c7-593a0d00aba8/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-238f-e3c7-593a0d00f7cb/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "0a769e70-5490-47b1-b933-22625b4f4ad7", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:29 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:10 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "3bJozJuVtUGVi5ZqyB8Xyw.0", - "X-Azure-Ref" : "0Sb7DYAAAAAAZitsAc+LfT5/2Nbg3E8DoWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:28.9512677+00:00\"}", - "x-ms-client-request-id" : "0a769e70-5490-47b1-b933-22625b4f4ad7", + "X-Processing-Time" : "36ms", + "MS-CV" : "my5dZeos8Ey6Zy2kztQOLQ.0", + "X-Azure-Ref" : "0zofLYAAAAACjFP12RNcQRqy18FpVeF+vV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:09.9082038+00:00\"}", + "x-ms-client-request-id" : "d39bda57-c737-4d1c-9ffe-c43261a69e6d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "e29640db-53b3-440b-aa1b-a4aba114086a", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "c8615e82-b2e5-40f7-9184-aa1079d72751", "Content-Type" : "application/json" }, "Response" : { @@ -88,22 +85,21 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:29 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:10 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "315ms", - "MS-CV" : "NZuogRPrv0m+z4RS3Zf28A.0", - "X-Azure-Ref" : "0Sb7DYAAAAAD5Y52wXJh6RajLjvtJ9prCWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:kOemwKjBunOUZmvvnKCkAlzpO3SS42-9q0cZpfX52fg1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:30Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-f435-f6c7-593a0d00aba8\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-f435-f6c7-593a0d00aba8\"}}}}", + "X-Processing-Time" : "620ms", + "MS-CV" : "jIaw+S7a5EeHYmwonS+2eA.0", + "X-Azure-Ref" : "0zofLYAAAAABEz6vEHbKvRKmTHIv5EUqXV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:VYu0ks5gxYJVB8de1f1ZoLMPhw7ynUZnVc7nF7Ij9Z01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:11Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-238f-e3c7-593a0d00f7cb\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-238f-e3c7-593a0d00f7cb\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AkOemwKjBunOUZmvvnKCkAlzpO3SS42-9q0cZpfX52fg1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AVYu0ks5gxYJVB8de1f1ZoLMPhw7ynUZnVc7nF7Ij9Z01@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.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "8f782086-23b7-4c90-a343-f940883359ad", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -112,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:30 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:11 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "7stQbDo1PkOUntmJNd2MFA.0", - "X-Azure-Ref" : "0Sr7DYAAAAAB2X5jO4dSnTrrSqYO0fPL1WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-f799-f6c7-593a0d00aba9\"}}", - "x-ms-client-request-id" : "8f782086-23b7-4c90-a343-f940883359ad", + "X-Processing-Time" : "32ms", + "MS-CV" : "pj7vURHADUm3ZCVqbnMRHQ.0", + "X-Azure-Ref" : "0z4fLYAAAAAAXqlJbBX85TLd1At6kv9N5V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-2704-e3c7-593a0d00f7d1\"}}", + "x-ms-client-request-id" : "5a8c6922-6eb2-40ea-9fe3-3e20cc0f99b5", "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 5c8c616d0acb7..78da45b5fa31a 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "fa2268ef-6a4a-4bd9-8d25-2e6573a67a4b", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:09 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:49 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "nkEkIIwGUEuRy37pU3K9Bg.0", - "X-Azure-Ref" : "0Nb7DYAAAAADZIMvi4FONSZ0G2qNqMQnvWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-a5dd-28c5-593a0d00abe0\"}}", - "x-ms-client-request-id" : "fa2268ef-6a4a-4bd9-8d25-2e6573a67a4b", + "X-Processing-Time" : "55ms", + "MS-CV" : "Pc5VZCvR8EeOKKBerGVDuQ.0", + "X-Azure-Ref" : "0uYfLYAAAAABsVb4ScaG6S4WlQiminfGkV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-cfe2-e3c7-593a0d00f794\"}}", + "x-ms-client-request-id" : "b004d72e-dbcc-4c0b-b097-67dfc6f5e076", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "b1b86aef-8595-492f-ae53-a7bc06a4d405", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:09 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "1XuPhhrd90uyq6acnn7iOQ.0", - "X-Azure-Ref" : "0Nb7DYAAAAADn2Y6vy/vXSKxzi2n+QzJbWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-a61e-28c5-593a0d00abe1\"}}", - "x-ms-client-request-id" : "b1b86aef-8595-492f-ae53-a7bc06a4d405", + "X-Processing-Time" : "31ms", + "MS-CV" : "+0nptqp2J0au9Z3HziCT1A.0", + "X-Azure-Ref" : "0uYfLYAAAAACBQnIDcl1iQLgWTtcp8uTyV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-d01f-e3c7-593a0d00f795\"}}", + "x-ms-client-request-id" : "1bd50cf3-4f3b-490a-a2b0-c1d8f0eac4de", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-a5dd-28c5-593a0d00abe0/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-cfe2-e3c7-593a0d00f794/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "62c7bd83-9263-4b50-9a3a-7ba0cd62c790", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:09 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:49 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "2GJIlMgxDkeNrxvrk1SU2g.0", - "X-Azure-Ref" : "0Nb7DYAAAAAC6aevvj+dNSqJOc7dIXYpoWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:08.8758909+00:00\"}", - "x-ms-client-request-id" : "62c7bd83-9263-4b50-9a3a-7ba0cd62c790", + "X-Processing-Time" : "27ms", + "MS-CV" : "djm1PDHFd0GNMhx2rToLGw.0", + "X-Azure-Ref" : "0uYfLYAAAAAAHZUeISFopRavxJ0chbMaoV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:48.4402911+00:00\"}", + "x-ms-client-request-id" : "df5cccb5-ce8b-499c-8d83-6f48f703ab20", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "df490200-d997-4773-b5b8-a3260416af92", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "b77aff70-04a6-4277-8c19-64dc0c3f938d", "Content-Type" : "application/json" }, "Response" : { @@ -88,22 +85,21 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:10 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:49 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "579ms", - "MS-CV" : "dJFTnUb0i0GLC2UDkNOHyA.0", - "X-Azure-Ref" : "0Nr7DYAAAAADUejmMWyNaSo7GgYSWfpckWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:B_y9NP4Fev3pXKlbDO8tfUmLQY8IQTUdCdyiWWErOnI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:10Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-a5dd-28c5-593a0d00abe0\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-a5dd-28c5-593a0d00abe0\"}}}}", + "X-Processing-Time" : "506ms", + "MS-CV" : "9h+ytTk4I0+cew/kXLS+cg.0", + "X-Azure-Ref" : "0uYfLYAAAAADN55WP4hPkQZrQymcSEFKpV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:jIZ9b8uwhJDyN1yY2JtcEL-5k0MVuj-KwdTLY0GYVaA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:49Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-cfe2-e3c7-593a0d00f794\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-cfe2-e3c7-593a0d00f794\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AB_y9NP4Fev3pXKlbDO8tfUmLQY8IQTUdCdyiWWErOnI1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AjIZ9b8uwhJDyN1yY2JtcEL-5k0MVuj-KwdTLY0GYVaA1@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.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "08d67231-263b-4335-b3af-679ad333e06d", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -112,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:10 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:49 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "+aH6Og8wpEug2sJhiM7rXw.0", - "X-Azure-Ref" : "0N77DYAAAAACsqJko3pRyQJ11sBCtLqMIWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-ab7c-28c5-593a0d00abe2\"}}", - "x-ms-client-request-id" : "08d67231-263b-4335-b3af-679ad333e06d", + "X-Processing-Time" : "32ms", + "MS-CV" : "t0fmL4AsfEOGwXDeOFVVRA.0", + "X-Azure-Ref" : "0uofLYAAAAACg18LCV6RkRYEoP3Ydr3MBV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-d2bc-e3c7-593a0d00f796\"}}", + "x-ms-client-request-id" : "8017a5b2-df2d-4675-802f-13e261d45864", "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 8daadfa9c7276..864748b571e65 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "0c32aec0-a3c5-4738-9689-812b288195df", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:10 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:49 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "th1Ha4+MJkCIz1WusapvNg.0", - "X-Azure-Ref" : "0N77DYAAAAADMhRbUvbFvS4iyu6oksbaXWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-ac12-28c5-593a0d00abe3\"}}", - "x-ms-client-request-id" : "0c32aec0-a3c5-4738-9689-812b288195df", + "X-Processing-Time" : "66ms", + "MS-CV" : "bLhkTdTxREyL7jag3EtkKg.0", + "X-Azure-Ref" : "0uofLYAAAAABXFpY4+HoPSoskf8jlKWVlV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-d35d-e3c7-593a0d00f797\"}}", + "x-ms-client-request-id" : "8d80ea7d-05cb-4242-81f2-e0f132540aec", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "5cb1d314-8bd9-4d9b-b3fa-8fb85dd9b8e2", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:11 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:49 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "24ms", - "MS-CV" : "0/QiC9kRxE2VzwQxdjGorQ.0", - "X-Azure-Ref" : "0N77DYAAAAAB8ylY07T1fQ5U4QsofY0IpWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-ac5c-28c5-593a0d00abe4\"}}", - "x-ms-client-request-id" : "5cb1d314-8bd9-4d9b-b3fa-8fb85dd9b8e2", + "X-Processing-Time" : "32ms", + "MS-CV" : "6w2LeijJMESMblKrbxAfKg.0", + "X-Azure-Ref" : "0uofLYAAAAAAZTJB7MkYAR5apksfSlwvBV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-d3a3-e3c7-593a0d00f798\"}}", + "x-ms-client-request-id" : "49e34349-7849-46ad-91cc-5f2a95d7502d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-ac12-28c5-593a0d00abe3/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-d35d-e3c7-593a0d00f797/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "5377c995-ee50-4377-9fdb-8699f213d751", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:11 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:49 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "1qhjtszxXEOx8+nmsC+GAQ.0", - "X-Azure-Ref" : "0N77DYAAAAABgkRlcqsyrSo3c0jYVRzhKWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:10.4820445+00:00\"}", - "x-ms-client-request-id" : "5377c995-ee50-4377-9fdb-8699f213d751", + "X-Processing-Time" : "41ms", + "MS-CV" : "j0VFAmmjo0iujizKH8gwzg.0", + "X-Azure-Ref" : "0uofLYAAAAABQX9wfm3fIQ4hzKbvQQsg0V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:49.356289+00:00\"}", + "x-ms-client-request-id" : "faf624fe-0006-4b0b-b6a0-7a6620eb5bcb", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "9f4a38a6-cd16-4791-8c59-35cbd5faa154", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "7ce56424-7740-4fb0-8eff-7fc988180356", "Content-Type" : "application/json" }, "Response" : { @@ -88,22 +85,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:11 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:50 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "460ms", - "MS-CV" : "T6gbu77ZBUCSSanoMWRF3w.0", - "X-Azure-Ref" : "0N77DYAAAAAA8s7iU8WNQT4Hk2YFs50bUWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:zwqvgUzjh-a3OiSnuaGWgeV4AXgS_Ai4xDW2xni0-dU1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:11Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-ac12-28c5-593a0d00abe3\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-ac12-28c5-593a0d00abe3\"}}}}", + "X-Processing-Time" : "611ms", + "MS-CV" : "Wg/RvO8Yq0SMBspKRLIQjQ.0", + "X-Azure-Ref" : "0uofLYAAAAAAYMxuMBPAOSouUtZ1HhyfFV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:Lmg5wowvnADDUC7hDvOzgdZ08-wblIa8Ba2M-8Ud8Ds1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:50Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-d35d-e3c7-593a0d00f797\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-d35d-e3c7-593a0d00f797\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AzwqvgUzjh-a3OiSnuaGWgeV4AXgS_Ai4xDW2xni0-dU1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ALmg5wowvnADDUC7hDvOzgdZ08-wblIa8Ba2M-8Ud8Ds1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:zwqvgUzjh-a3OiSnuaGWgeV4AXgS_Ai4xDW2xni0-dU1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Lmg5wowvnADDUC7hDvOzgdZ08-wblIa8Ba2M-8Ud8Ds1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "71a125c2-0fb3-4017-b5ef-5630ae75e52d", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "c32d2cb8-cc09-4a03-95fb-f1f5e9565625", "Content-Type" : "application/json" }, "Response" : { @@ -112,33 +109,33 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:11 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:50 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "209ms", - "MS-CV" : "zdbopMzog0WM33LLoevEzA.0", - "X-Azure-Ref" : "0OL7DYAAAAABFI+SgIJFxQ6nwBv7CdKz6WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"id\":\"1623440952133\"}", + "X-Processing-Time" : "218ms", + "MS-CV" : "uA6Uw5fm60qknADxbZWMNA.0", + "X-Azure-Ref" : "0u4fLYAAAAADh2gl7crKjT7dx2jPir6avV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623951291141\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AzwqvgUzjh-a3OiSnuaGWgeV4AXgS_Ai4xDW2xni0-dU1@thread.v2/messages/1623440952133" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ALmg5wowvnADDUC7hDvOzgdZ08-wblIa8Ba2M-8Ud8Ds1@thread.v2/messages/1623951291141" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:zwqvgUzjh-a3OiSnuaGWgeV4AXgS_Ai4xDW2xni0-dU1@thread.v2/messages/1623440952133?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Lmg5wowvnADDUC7hDvOzgdZ08-wblIa8Ba2M-8Ud8Ds1@thread.v2/messages/1623951291141?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "ac8bc249-c739-4088-84cd-a4ab711aa0a7" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "afbeb752-cb1b-452e-bf10-c58dd5869bb8" }, "Response" : { "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", - "X-Processing-Time" : "165ms", - "MS-CV" : "4jb5tkLEGECOwxm/wg6eBg.0", + "X-Processing-Time" : "145ms", + "MS-CV" : "Zop634vDhUeEUJRaUiLcOQ.0", "retry-after" : "0", - "X-Azure-Ref" : "0OL7DYAAAAADur0RV8i0KSL1mldh9jhtrWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0u4fLYAAAAACosbd+BgSPSpkFmHR6jUB3V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:49:12 GMT" + "Date" : "Thu, 17 Jun 2021 17:34:51 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 6c0fe4f2f07f5..3896ce0115185 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "b997aa1d-79f8-4b43-b638-f227b7ebda9e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:23 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "25ms", - "MS-CV" : "oL000OowUk+YnlpANOdNoA.0", - "X-Azure-Ref" : "0RL7DYAAAAAAQkRXzPZm9Sq9C6FpH283wWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-df77-f6c7-593a0d00aba1\"}}", - "x-ms-client-request-id" : "b997aa1d-79f8-4b43-b638-f227b7ebda9e", + "X-Processing-Time" : "81ms", + "MS-CV" : "4VFvXFfHhk+ibLy3bmg/4w.0", + "X-Azure-Ref" : "0x4fLYAAAAADRjsywv+EIQYsKdPhDF87mV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-05b0-e3c7-593a0d00f7bb\"}}", + "x-ms-client-request-id" : "6fd9f99d-d398-4f2a-a3ce-709330e323c4", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "706c6128-e8be-4a75-95b7-2ad898f8864b", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:24 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "EoTolk/h2UWFWXGla3CQog.0", - "X-Azure-Ref" : "0RL7DYAAAAACTFw1bHjobQY8UArqWHF6yWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-dfc4-28c5-593a0d00abf8\"}}", - "x-ms-client-request-id" : "706c6128-e8be-4a75-95b7-2ad898f8864b", + "X-Processing-Time" : "62ms", + "MS-CV" : "RtIOzJexkkOc4xc880ChqQ.0", + "X-Azure-Ref" : "0x4fLYAAAAAB5lySIQoReSIubTcrwiMe/V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-060e-e3c7-593a0d00f7bc\"}}", + "x-ms-client-request-id" : "6540e75d-ee57-40de-9b2e-7b49d7db664c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-df77-f6c7-593a0d00aba1/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-05b0-e3c7-593a0d00f7bb/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "9e8888b8-3cc1-41f1-94e6-3ff893b31060", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:24 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "wJvHDDSNK0aE8exPm/BnsQ.0", - "X-Azure-Ref" : "0RL7DYAAAAAC2BIgKCX1gRZnD90jms5SOWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:23.6471519+00:00\"}", - "x-ms-client-request-id" : "9e8888b8-3cc1-41f1-94e6-3ff893b31060", + "X-Processing-Time" : "28ms", + "MS-CV" : "ggSMODeZZ0SkCo7je7I7GA.0", + "X-Azure-Ref" : "0x4fLYAAAAADE50Z+pGdkT4OOeIpWFlWOV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:02.2710186+00:00\"}", + "x-ms-client-request-id" : "0b5ca9b3-bcf2-4613-a6b0-dd7e05f3ca1a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "2b537ea0-66cf-4fec-900c-f814ae1cde36", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "34a40f64-abe4-4704-b2d3-26a2e350adb9", "Content-Type" : "application/json" }, "Response" : { @@ -88,22 +85,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:24 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:03 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "639ms", - "MS-CV" : "KRuFIGW4qk+HbAn8znSv9g.0", - "X-Azure-Ref" : "0RL7DYAAAAACSwPfEuasJQZRScRxDsdlcWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:Q8qSmLNek6Pw5hVf1lUrCfRrKJkQS98Q1jZzAcYy_uQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:24Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-df77-f6c7-593a0d00aba1\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-df77-f6c7-593a0d00aba1\"}}}}", + "X-Processing-Time" : "523ms", + "MS-CV" : "5GSgKGxQ0UmOftChkoh3ug.0", + "X-Azure-Ref" : "0x4fLYAAAAAArx5xGzmGvSLXL4DcA2JhNV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:NxNmbnhLeGuZoRx0LTnwII4hS9WPcQCQZHElY8t5_Yo1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:03Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-05b0-e3c7-593a0d00f7bb\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-05b0-e3c7-593a0d00f7bb\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AQ8qSmLNek6Pw5hVf1lUrCfRrKJkQS98Q1jZzAcYy_uQ1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ANxNmbnhLeGuZoRx0LTnwII4hS9WPcQCQZHElY8t5_Yo1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Q8qSmLNek6Pw5hVf1lUrCfRrKJkQS98Q1jZzAcYy_uQ1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:NxNmbnhLeGuZoRx0LTnwII4hS9WPcQCQZHElY8t5_Yo1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "c8fa2f79-c901-46fc-a979-5edb352d3825", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "4956a21f-156e-4e70-acf5-57ebd72c899b", "Content-Type" : "application/json" }, "Response" : { @@ -112,33 +109,33 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:25 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:03 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "122ms", - "MS-CV" : "2smn7Qfjz0StlSifIjhqrQ.0", - "X-Azure-Ref" : "0Rb7DYAAAAAAmjWCZMVaGSb6ttbHVXtKFWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"id\":\"1623440965437\"}", + "X-Processing-Time" : "188ms", + "MS-CV" : "7vhASoT0WEea5T3N0tYXJQ.0", + "X-Azure-Ref" : "0x4fLYAAAAAC75jZC0aNYR5ei0QyaiX2EV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623951303931\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AQ8qSmLNek6Pw5hVf1lUrCfRrKJkQS98Q1jZzAcYy_uQ1@thread.v2/messages/1623440965437" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ANxNmbnhLeGuZoRx0LTnwII4hS9WPcQCQZHElY8t5_Yo1@thread.v2/messages/1623951303931" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Q8qSmLNek6Pw5hVf1lUrCfRrKJkQS98Q1jZzAcYy_uQ1@thread.v2/messages/1623440965437?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:NxNmbnhLeGuZoRx0LTnwII4hS9WPcQCQZHElY8t5_Yo1@thread.v2/messages/1623951303931?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "dd160032-3661-4b2c-bb94-237a214523c4" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "8c26c489-7881-4535-af36-0c06b2004b23" }, "Response" : { "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", - "X-Processing-Time" : "130ms", - "MS-CV" : "mIOgKRzEUkSN293QoH/byg.0", + "X-Processing-Time" : "208ms", + "MS-CV" : "Q9IboECofEeG/j3SiRZulQ.0", "retry-after" : "0", - "X-Azure-Ref" : "0Rb7DYAAAAACQ0xzg6JyESZFGlVWOh24XWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0yIfLYAAAAAA+Hr8OApqmQJMKo/9K4Hs0V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:49:25 GMT" + "Date" : "Thu, 17 Jun 2021 17:35:03 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 0060bc25af90d..ff173fdbbe582 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "97b881d1-ac04-4edc-b22c-a29c7ba1cc2a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:02 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:40 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "eRGRI0hG8kOvre8gbsPCtA.0", - "X-Azure-Ref" : "0Lr7DYAAAAAC14EdtTN68Qa62U5mWrRUbWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-8b56-28c5-593a0d00abce\"}}", - "x-ms-client-request-id" : "97b881d1-ac04-4edc-b22c-a29c7ba1cc2a", + "X-Processing-Time" : "33ms", + "MS-CV" : "XFu+FYMPWUKX9HlZzDFe0Q.0", + "X-Azure-Ref" : "0sYfLYAAAAAA/w0A8z3kwT6UQAIpCAZorV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-afe1-e3c7-593a0d00f77f\"}}", + "x-ms-client-request-id" : "c8bc147e-3e66-46e2-a2ae-7e9a680fd37c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "20376547-d709-471f-b1ca-2322d694d1e6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:02 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:40 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "ZOkm8FJO0ESC2saoT+ym1w.0", - "X-Azure-Ref" : "0Lr7DYAAAAAAqZd7YYzB5Qo29zOsb0AmGWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-8b9c-28c5-593a0d00abcf\"}}", - "x-ms-client-request-id" : "20376547-d709-471f-b1ca-2322d694d1e6", + "X-Processing-Time" : "33ms", + "MS-CV" : "raoCNEJIekSgOi50eZRamA.0", + "X-Azure-Ref" : "0sYfLYAAAAAC7Mnoey2WtTrrldEnuBWSAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b021-e3c7-593a0d00f780\"}}", + "x-ms-client-request-id" : "0446b2d6-ba10-4776-b44d-2982d02a97f5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-8b56-28c5-593a0d00abce/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-afe1-e3c7-593a0d00f77f/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "d7f18b26-9050-4884-9ad6-624638ae7994", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:02 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:40 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "26ms", - "MS-CV" : "v4naAvar10iCqO2bKEGw1w.0", - "X-Azure-Ref" : "0L77DYAAAAAAHaZew6vuxTpJuUJ5VetHVWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:02.093199+00:00\"}", - "x-ms-client-request-id" : "d7f18b26-9050-4884-9ad6-624638ae7994", + "X-Processing-Time" : "34ms", + "MS-CV" : "WQ6I++2dv0WS2r0a14rKtg.0", + "X-Azure-Ref" : "0sYfLYAAAAACu3SxB0z1rSrN264lXq7ihV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:40.2614123+00:00\"}", + "x-ms-client-request-id" : "c43d36aa-ade1-4d5a-aa93-af07f421c954", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "0cceb89c-ffff-4fd1-a15d-e2ece49be199", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "6d53cf40-6978-4438-848d-98e9eddafcff", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:03 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:41 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "516ms", - "MS-CV" : "9YHslLK4YkCa1qCWrjuZZg.0", - "X-Azure-Ref" : "0L77DYAAAAAC400XO22XuQKNOq7aOs6qGWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:c8tMYyTfjBDE_UzsV96rGb1bmm0qHtqjdD1U35-FD2I1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:03Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-8b56-28c5-593a0d00abce\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-8b56-28c5-593a0d00abce\"}}}}", + "X-Processing-Time" : "508ms", + "MS-CV" : "1xiW0BLwSUSwsxCg6hAc6Q.0", + "X-Azure-Ref" : "0sYfLYAAAAACCJEMwP9rwRaIdlgueZUmwV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:RxcjFxj3A5Fn-47F8wNWe3032pnfKLA9hcjOmr1uS7c1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:41Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-afe1-e3c7-593a0d00f77f\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-afe1-e3c7-593a0d00f77f\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3Ac8tMYyTfjBDE_UzsV96rGb1bmm0qHtqjdD1U35-FD2I1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ARxcjFxj3A5Fn-47F8wNWe3032pnfKLA9hcjOmr1uS7c1@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 5e7ce544ec707..f42bc6057124d 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "ff1a7f65-1004-4f4b-a192-a0bce1c1425d", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:17 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:56 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "VKlMtxOKEk+6cwvu0uVIrQ.0", - "X-Azure-Ref" : "0Pr7DYAAAAABtRZMxilyATJa2R2/tB2cUWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-c677-f6c7-593a0d00ab9b\"}}", - "x-ms-client-request-id" : "ff1a7f65-1004-4f4b-a192-a0bce1c1425d", + "X-Processing-Time" : "34ms", + "MS-CV" : "iG7RPGcAj0ehHBhlbfpERA.0", + "X-Azure-Ref" : "0wIfLYAAAAACSlrr6fR8aTqQulqQ1DXwzV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-ec8f-e3c7-593a0d00f7ae\"}}", + "x-ms-client-request-id" : "b5d6e84a-4ea1-43e9-9482-895faa1d9e53", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "641368b8-f0aa-4b97-be93-7e062112eb2c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:17 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:56 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "S83LnSxnrECDWMhbvPEeTw.0", - "X-Azure-Ref" : "0Pr7DYAAAAAA3HAVSYEI1R7wORTJrXDnXWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-c6c9-28c5-593a0d00abee\"}}", - "x-ms-client-request-id" : "641368b8-f0aa-4b97-be93-7e062112eb2c", + "X-Processing-Time" : "37ms", + "MS-CV" : "v79j/9Q7/kWGvubct3ql1g.0", + "X-Azure-Ref" : "0wIfLYAAAAADujh2IIKT/TLaAY4hJv1muV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-ecd5-e3c7-593a0d00f7af\"}}", + "x-ms-client-request-id" : "cb986166-21df-480c-9c21-225d23ecbf9f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-c677-f6c7-593a0d00ab9b/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-ec8f-e3c7-593a0d00f7ae/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "a156fdea-8c8e-4643-b3cf-ad639f2ad056", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:17 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:56 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "x7VNuNyOmkyWL4fR4C/ZLA.0", - "X-Azure-Ref" : "0Pr7DYAAAAACp6itZJTMBTZoamas5e2AsWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:17.2387512+00:00\"}", - "x-ms-client-request-id" : "a156fdea-8c8e-4643-b3cf-ad639f2ad056", + "X-Processing-Time" : "37ms", + "MS-CV" : "GWbIMDLf1kWj1BTR1LUZdA.0", + "X-Azure-Ref" : "0wIfLYAAAAAB/hmPcm0WMRp/ZP0ojQBIkV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:55.8066185+00:00\"}", + "x-ms-client-request-id" : "17484ff7-edf6-4a05-870f-49cdb52e7495", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "02e7b505-59ef-413f-9ed3-b4e34588b3ed", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "57938b3a-55b7-4253-88fb-1b537645ebd0", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:18 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:56 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "893ms", - "MS-CV" : "cMNTALbBKkKC+knbiA16FA.0", - "X-Azure-Ref" : "0Pr7DYAAAAADdoxHG4uJeTLW0hbuE4S8kWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:qKMcDug69REdSNDGZaR6hl68RUPpmfAxWMzhXrVI8fA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:18Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-c677-f6c7-593a0d00ab9b\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-c677-f6c7-593a0d00ab9b\"}}}}", + "X-Processing-Time" : "534ms", + "MS-CV" : "7F+YYIA6cEy05bdqsCHftg.0", + "X-Azure-Ref" : "0wIfLYAAAAABj8qjiCdUhTrAC9rMPUyPWV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:N6vn_Qx32TUzvrTSQWKF8DGrKrdhFDs8wOWdUNP_Irk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:56Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-ec8f-e3c7-593a0d00f7ae\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-ec8f-e3c7-593a0d00f7ae\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AqKMcDug69REdSNDGZaR6hl68RUPpmfAxWMzhXrVI8fA1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AN6vn_Qx32TUzvrTSQWKF8DGrKrdhFDs8wOWdUNP_Irk1@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 0686291f5fb61..266dc58a67d58 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 @@ -3,8 +3,8 @@ "Method" : "GET", "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "43f9abc1-fbe6-49b4-b063-b9850100adfe" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "ce5be7e7-40d6-4322-bf5a-4a4d54cb5166" }, "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 ed818844ff42c..06ccede4a7705 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 @@ -3,8 +3,8 @@ "Method" : "GET", "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/readReceipts?maxPageSize=1&api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "7604c387-5266-4ba4-a53d-fc9a2391fbb1" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "e1da5f36-8176-4982-af76-92b77ee4505b" }, "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 e4b43bba3f96d..c877bb6a319fd 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 @@ -3,8 +3,8 @@ "Method" : "GET", "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "ff83d213-5068-4eb5-8d7e-be601002a7d9" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "c80394d3-cc90-472a-bf1b-eedc3acde07d" }, "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 8bcd13545f8b4..b5b2735340a5e 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "ab885559-7a56-484f-b24c-856641f83cbb", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:16 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:55 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "CJiYISeNmUiX41Vu8jOi9Q.0", - "X-Azure-Ref" : "0PL7DYAAAAADwBCqojbW8RIGxkOzQCZrRWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-c239-28c5-593a0d00abed\"}}", - "x-ms-client-request-id" : "ab885559-7a56-484f-b24c-856641f83cbb", + "X-Processing-Time" : "58ms", + "MS-CV" : "kixv0BiHzUy5F3UwDd2Vcw.0", + "X-Azure-Ref" : "0v4fLYAAAAABDEH5ccw5wQpy0AcvacrteV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e7a4-e3c7-593a0d00f7ac\"}}", + "x-ms-client-request-id" : "72a6e470-91eb-4b31-bc92-28f58861e41c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "45401e85-3744-4105-94b4-ec880debec60", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:16 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "8KOsLJH2DESjWvBJW4mjgA.0", - "X-Azure-Ref" : "0Pb7DYAAAAAACYhcxBptJRo6sGzMvomKmWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-c27d-f6c7-593a0d00ab9a\"}}", - "x-ms-client-request-id" : "45401e85-3744-4105-94b4-ec880debec60", + "X-Processing-Time" : "62ms", + "MS-CV" : "mc06oXyiK0OichY6pA/Ftg.0", + "X-Azure-Ref" : "0v4fLYAAAAAATKHiWYOpRTJvrjbctdX+SV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e824-e3c7-593a0d00f7ad\"}}", + "x-ms-client-request-id" : "f65f3752-87bb-4939-b8b7-76aa35f4d6c6", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-c239-28c5-593a0d00abed/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e7a4-e3c7-593a0d00f7ac/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "d1a22fb9-5589-4dac-bceb-28d6b0eda26b", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:16 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:55 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "seU7c/sR20WRsus6SzfVLQ.0", - "X-Azure-Ref" : "0Pb7DYAAAAAATt21QB3zDRKwNlpoO9Y3/WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:16.1326412+00:00\"}", - "x-ms-client-request-id" : "d1a22fb9-5589-4dac-bceb-28d6b0eda26b", + "X-Processing-Time" : "36ms", + "MS-CV" : "fmARI7yrn0meupV3nhD28Q.0", + "X-Azure-Ref" : "0v4fLYAAAAABPDbOWdqTfRarXFMrmqva7V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:54.5994284+00:00\"}", + "x-ms-client-request-id" : "72ca2408-3a40-4cc5-b88d-2ad2776b7942", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "79dbf2f4-3e78-4cf0-846f-e76912478916", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "b0f46693-3ebe-48bc-bd80-5f8fc17a26f9", "Content-Type" : "application/json" }, "Response" : { @@ -88,22 +85,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:17 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:55 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "356ms", - "MS-CV" : "UL6AkFSlX0WSO+IyJFNZBA.0", - "X-Azure-Ref" : "0Pb7DYAAAAAA+OwgtVzgsSotpldutDgfiWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:6b5xXy8LRrvcb5v7omhJN1CqbMjLNzdyb3SXX4m6kr41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:17Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-c239-28c5-593a0d00abed\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-c239-28c5-593a0d00abed\"}}}}", + "X-Processing-Time" : "495ms", + "MS-CV" : "z2eNLxf/IEa3wPq5zw6wjw.0", + "X-Azure-Ref" : "0v4fLYAAAAACdOD1CgDqwQZLpTI+TGWx3V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:-yvziz7d_2hiLA7LFRjzwyXUCm9ZhAG2s1m0tYH3k1c1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:55Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e7a4-e3c7-593a0d00f7ac\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e7a4-e3c7-593a0d00f7ac\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3A6b5xXy8LRrvcb5v7omhJN1CqbMjLNzdyb3SXX4m6kr41@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A-yvziz7d_2hiLA7LFRjzwyXUCm9ZhAG2s1m0tYH3k1c1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:6b5xXy8LRrvcb5v7omhJN1CqbMjLNzdyb3SXX4m6kr41@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:-yvziz7d_2hiLA7LFRjzwyXUCm9ZhAG2s1m0tYH3k1c1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "6a4aa6b5-85b3-4afc-a231-632182ae5d1a", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "846729a2-8dd5-4aec-9705-e89e9bf786c8", "Content-Type" : "application/json" }, "Response" : { @@ -112,22 +109,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:17 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:56 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "125ms", - "MS-CV" : "k156YD+ReE6ZDydJSsxotg.0", - "X-Azure-Ref" : "0Pb7DYAAAAAAHSNoduPJBR4cTWIebQGN8WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"id\":\"1623440957694\"}", + "X-Processing-Time" : "193ms", + "MS-CV" : "n/ZDqwSvzkqZTVsPO+5u3Q.0", + "X-Azure-Ref" : "0wIfLYAAAAAA8zqhB9oHsT7WHD1EX7fu4V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623951296267\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3A6b5xXy8LRrvcb5v7omhJN1CqbMjLNzdyb3SXX4m6kr41@thread.v2/messages/1623440957694" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A-yvziz7d_2hiLA7LFRjzwyXUCm9ZhAG2s1m0tYH3k1c1@thread.v2/messages/1623951296267" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:6b5xXy8LRrvcb5v7omhJN1CqbMjLNzdyb3SXX4m6kr41@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:-yvziz7d_2hiLA7LFRjzwyXUCm9ZhAG2s1m0tYH3k1c1@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "89e5154f-a4c5-4bd6-98d3-f7ac5b36e125", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "d2c57bcf-1f39-4b90-bae7-946520615350", "Content-Type" : "application/json" }, "Response" : { @@ -135,12 +132,12 @@ "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", - "X-Processing-Time" : "165ms", - "MS-CV" : "BwUDaS4Ay0Wgx4JZURf+ZQ.0", + "X-Processing-Time" : "171ms", + "MS-CV" : "zxk32HjCA0yl2sEVzjPc4w.0", "retry-after" : "0", - "X-Azure-Ref" : "0Pb7DYAAAAABd7yWo2muyRbNKsQ6FlbO+WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0wIfLYAAAAAANS/PeWSdRSbwxnhIULKx0V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:17 GMT" + "Date" : "Thu, 17 Jun 2021 17:34:56 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 bffbc497da513..e65260f03bcb7 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "c02ea5c2-e58d-473d-b2b4-b9c3d7d774fd", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:06 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "w3OR04PWx0KvXj/GIx0OBA.0", - "X-Azure-Ref" : "0M77DYAAAAAD+ZI0hNAlDSrWz7bW82Yy1WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-9bca-28c5-593a0d00abda\"}}", - "x-ms-client-request-id" : "c02ea5c2-e58d-473d-b2b4-b9c3d7d774fd", + "X-Processing-Time" : "46ms", + "MS-CV" : "PphBaRFiN0KzGtvzg2zJSQ.0", + "X-Azure-Ref" : "0tofLYAAAAADZZUHlCeo5RZ7idhAriay1V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-c3e8-e3c7-593a0d00f78d\"}}", + "x-ms-client-request-id" : "afa8bd16-0213-4dbb-9564-e025a224aefc", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "9f96682d-508a-4e95-baa9-eac9770ffc3e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:06 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "20ms", - "MS-CV" : "XML5hjLl7EeDKHzwVDt+/w.0", - "X-Azure-Ref" : "0M77DYAAAAAAFDXmC0WA8TJPhN+DH36lKWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-9c0e-28c5-593a0d00abdb\"}}", - "x-ms-client-request-id" : "9f96682d-508a-4e95-baa9-eac9770ffc3e", + "X-Processing-Time" : "32ms", + "MS-CV" : "Rt62D2//IkqlDoU84Qw9Jg.0", + "X-Azure-Ref" : "0tofLYAAAAAAtZP1Ko3VSQpM3poQ7EJw/V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-c43c-e3c7-593a0d00f78e\"}}", + "x-ms-client-request-id" : "6c096eb1-6a0a-45dd-99b2-0412f36e4408", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-9bca-28c5-593a0d00abda/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-c3e8-e3c7-593a0d00f78d/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "67db6e55-c16a-4bdd-8f6d-1d1b7254818e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:07 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:46 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "eY26GBCoBk23XIBg3/hfBg.0", - "X-Azure-Ref" : "0M77DYAAAAAB6fq+wO2aCRppDFioylNI2WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:06.3016176+00:00\"}", - "x-ms-client-request-id" : "67db6e55-c16a-4bdd-8f6d-1d1b7254818e", + "X-Processing-Time" : "38ms", + "MS-CV" : "MfTYKGYde0aEgTfZHn8mRQ.0", + "X-Azure-Ref" : "0tofLYAAAAADAQlFFxigCRbz1CrGDaIM5V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:45.4114442+00:00\"}", + "x-ms-client-request-id" : "ec639990-1181-48b0-8450-d64073169a58", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "3983f34b-c189-46dd-9375-0a1b33886c5b", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "ede58351-e319-43e6-96fc-7dd964132ba1", "Content-Type" : "application/json" }, "Response" : { @@ -88,22 +85,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:07 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:46 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "398ms", - "MS-CV" : "Eh3/tWs30EiX2zB33/qQgw.0", - "X-Azure-Ref" : "0M77DYAAAAADDVau8Qqg5Rp/z0mvjkciSWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:Vm8adL-4szmKfulldFbau_LFHju-OXFP_FBr7eiBbfk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:07Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-9bca-28c5-593a0d00abda\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-9bca-28c5-593a0d00abda\"}}}}", + "X-Processing-Time" : "527ms", + "MS-CV" : "MY104BWbo0uYC6nxqAafqg.0", + "X-Azure-Ref" : "0tofLYAAAAAAkM6nMHmqYR6vYX6oK02XfV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:afOsnGjCTyeQvbnXUMnKpBKL4NPuvzfZ6n8Tod-DBME1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:46Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-c3e8-e3c7-593a0d00f78d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-c3e8-e3c7-593a0d00f78d\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AVm8adL-4szmKfulldFbau_LFHju-OXFP_FBr7eiBbfk1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AafOsnGjCTyeQvbnXUMnKpBKL4NPuvzfZ6n8Tod-DBME1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Vm8adL-4szmKfulldFbau_LFHju-OXFP_FBr7eiBbfk1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:afOsnGjCTyeQvbnXUMnKpBKL4NPuvzfZ6n8Tod-DBME1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "b22066e3-d56d-45e0-9802-41c88e4c7bd7", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "3c7f8e65-3bba-4163-8498-a8bd5911237f", "Content-Type" : "application/json" }, "Response" : { @@ -112,22 +109,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:07 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:46 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "151ms", - "MS-CV" : "Pr8+eYvhrkq0waB8VtID1A.0", - "X-Azure-Ref" : "0M77DYAAAAACOn+3nu/g5T6Ogry1RauIcWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"id\":\"1623440947854\"}", + "X-Processing-Time" : "192ms", + "MS-CV" : "Bat//HkaQkKlDVSQLPIdWA.0", + "X-Azure-Ref" : "0t4fLYAAAAAAQEUWh3gydQ6kMn1W0sEqTV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623951287094\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AVm8adL-4szmKfulldFbau_LFHju-OXFP_FBr7eiBbfk1@thread.v2/messages/1623440947854" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AafOsnGjCTyeQvbnXUMnKpBKL4NPuvzfZ6n8Tod-DBME1@thread.v2/messages/1623951287094" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Vm8adL-4szmKfulldFbau_LFHju-OXFP_FBr7eiBbfk1@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:afOsnGjCTyeQvbnXUMnKpBKL4NPuvzfZ6n8Tod-DBME1@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "8362376e-058c-4193-9ff5-a503fb6dded3", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "1e4a58e1-cd72-46c3-95dc-f2f3ab5e176d", "Content-Type" : "application/json" }, "Response" : { @@ -135,12 +132,12 @@ "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", - "X-Processing-Time" : "179ms", - "MS-CV" : "7cwZjciNhkiXFm+MO2pP7A.0", + "X-Processing-Time" : "302ms", + "MS-CV" : "XwAVFG0WL0i//LBZeGRuew.0", "retry-after" : "0", - "X-Azure-Ref" : "0NL7DYAAAAABo7mK/m9bRR6fpWQSjbyyhWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0t4fLYAAAAAAHga0T5VtMRr6Hr697XRTYV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:07 GMT" + "Date" : "Thu, 17 Jun 2021 17:34:46 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 c588b71c1e493..c4811ff10db64 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "1e250e59-b5d0-413f-abfe-9a00c15b5162", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:25 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "PQhwr5Vu1E2/LZ//F1PUIQ.0", - "X-Azure-Ref" : "0Rb7DYAAAAAAem6DSQTVeQbXWfyOZBJp5WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-e484-28c5-593a0d00abf9\"}}", - "x-ms-client-request-id" : "1e250e59-b5d0-413f-abfe-9a00c15b5162", + "X-Processing-Time" : "57ms", + "MS-CV" : "CUGDTW2J6kOLfzxxsdV9EA.0", + "X-Azure-Ref" : "0yIfLYAAAAADXfHMJ6amRSoEXHZUcuLDJV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-0ad5-e3c7-593a0d00f7bd\"}}", + "x-ms-client-request-id" : "19aba73d-086b-46cb-9b66-ef67ae126422", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "fae03cc4-0443-4eba-9f68-7597df2e4afa", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:25 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:03 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "25ms", - "MS-CV" : "fsrnNSzURU2X8aqCS6dpNw.0", - "X-Azure-Ref" : "0Rb7DYAAAAACn4QwKXOchTYYTICrq47a4WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-e4c9-f6c7-593a0d00aba3\"}}", - "x-ms-client-request-id" : "fae03cc4-0443-4eba-9f68-7597df2e4afa", + "X-Processing-Time" : "33ms", + "MS-CV" : "u4vQY0kDwUy0C/yj9kCN+g.0", + "X-Azure-Ref" : "0yIfLYAAAAADgrtwyULtcQ7T9i3dPFRwAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-0b24-e3c7-593a0d00f7be\"}}", + "x-ms-client-request-id" : "aec2be62-f838-4dc3-a055-243763b9c36e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-e484-28c5-593a0d00abf9/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-0ad5-e3c7-593a0d00f7bd/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "794265a3-8bc9-41c4-b62a-84221c778f29", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:25 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "DGurTVeK+keYo5s4AUS5nQ.0", - "X-Azure-Ref" : "0Rb7DYAAAAAAphtEWp+igTbmxMbWZxYMEWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:24.9335887+00:00\"}", - "x-ms-client-request-id" : "794265a3-8bc9-41c4-b62a-84221c778f29", + "X-Processing-Time" : "38ms", + "MS-CV" : "r/qZol4Pw02OHYwwdIm3aQ.0", + "X-Azure-Ref" : "0yIfLYAAAAACCmA+/pCMTSpX18JWK1555V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:03.5724563+00:00\"}", + "x-ms-client-request-id" : "f5fc0e7a-53e0-4159-8d51-7ddb73fa2c3d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "40a9c8a5-ea93-4571-b52e-1d0c148683de", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "c4eefdba-9649-430d-a921-bf08a313d1f0", "Content-Type" : "application/json" }, "Response" : { @@ -88,22 +85,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:25 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "320ms", - "MS-CV" : "iYpKGocny0+ljRKnmx8mbA.0", - "X-Azure-Ref" : "0Rb7DYAAAAAApm3o84zW1QLtN0WDkSnnTWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:Z7oD_aXBp4Y81Y-h_KPQOmajDskDRl2Aa4XOcV3g1381@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:26Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-e484-28c5-593a0d00abf9\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-e484-28c5-593a0d00abf9\"}}}}", + "X-Processing-Time" : "579ms", + "MS-CV" : "vMoSvZhEwk+FnKMu7mC3ag.0", + "X-Azure-Ref" : "0yIfLYAAAAADWA0nCv58mSrOqx/a81t2SV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:MDekBpDftighgrayar5j6YRmhdIf_lt8CPXsmF1oO9M1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:04Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-0ad5-e3c7-593a0d00f7bd\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-0ad5-e3c7-593a0d00f7bd\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AZ7oD_aXBp4Y81Y-h_KPQOmajDskDRl2Aa4XOcV3g1381@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AMDekBpDftighgrayar5j6YRmhdIf_lt8CPXsmF1oO9M1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Z7oD_aXBp4Y81Y-h_KPQOmajDskDRl2Aa4XOcV3g1381@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:MDekBpDftighgrayar5j6YRmhdIf_lt8CPXsmF1oO9M1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "1f322910-da19-4bf3-a8c6-0a6624705e91", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "f2c074b8-2123-49d8-b018-b194b51b3c28", "Content-Type" : "application/json" }, "Response" : { @@ -112,35 +109,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:25 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:05 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "125ms", - "MS-CV" : "cjjPgV2RtkqVZBRgUudFDQ.0", - "X-Azure-Ref" : "0Rr7DYAAAAABvwzxfaz9AQLoY9j5+CRLgWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"id\":\"1623440966407\"}", + "X-Processing-Time" : "330ms", + "MS-CV" : "2+M+r/cQR0GlIVBbZzM7+w.0", + "X-Azure-Ref" : "0yYfLYAAAAADTBpP+SM3JS6tMfD0dfgBKV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623951305450\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AZ7oD_aXBp4Y81Y-h_KPQOmajDskDRl2Aa4XOcV3g1381@thread.v2/messages/1623440966407" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AMDekBpDftighgrayar5j6YRmhdIf_lt8CPXsmF1oO9M1@thread.v2/messages/1623951305450" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Z7oD_aXBp4Y81Y-h_KPQOmajDskDRl2Aa4XOcV3g1381@thread.v2/messages/1623440966407?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:MDekBpDftighgrayar5j6YRmhdIf_lt8CPXsmF1oO9M1@thread.v2/messages/1623951305450?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "746b49c7-d18e-4e86-b02e-9ed338ab0ce5" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "ebdcecd2-00da-4cd7-b321-a764c65fc071" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "82ms", - "MS-CV" : "qRgC04EUJk21LXKMaVxbkg.0", + "X-Processing-Time" : "134ms", + "MS-CV" : "Tr7hAgXNCUm0PYWi587EBQ.0", "retry-after" : "0", - "X-Azure-Ref" : "0Rr7DYAAAAABq9Nk6VWxjSbiS6kTksWI5WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0yYfLYAAAAABhmnSApd6YRI6m74dcz0WSV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"1623440966407\",\"type\":\"html\",\"sequenceId\":\"3\",\"version\":\"1623440966407\",\"content\":{\"message\":\"
test
\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-11T19:49:26Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-e484-28c5-593a0d00abf9\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-e484-28c5-593a0d00abf9\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", - "Date" : "Fri, 11 Jun 2021 19:49:26 GMT", + "Body" : "{\"id\":\"1623951305450\",\"type\":\"html\",\"sequenceId\":\"3\",\"version\":\"1623951305450\",\"content\":{\"message\":\"
test
\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T17:35:05Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-0ad5-e3c7-593a0d00f7bd\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-0ad5-e3c7-593a0d00f7bd\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", + "Date" : "Thu, 17 Jun 2021 17:35:05 GMT", "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 146aade7ed3a0..63b8e978ad785 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "cf0c0a15-eed0-466f-acff-289936094763", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:21 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "DJViGeNEB0iRDqMugzLQUw.0", - "X-Azure-Ref" : "0Qr7DYAAAAACWzcXlTRRJQ5IfTpwyYpD3WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-d737-f6c7-593a0d00ab9f\"}}", - "x-ms-client-request-id" : "cf0c0a15-eed0-466f-acff-289936094763", + "X-Processing-Time" : "35ms", + "MS-CV" : "GqJGEh4gqU+Or10LTmkYFA.0", + "X-Azure-Ref" : "0xIfLYAAAAAAJSjEx5MzHQZniBe7RRrt1V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-fbf6-e3c7-593a0d00f7b6\"}}", + "x-ms-client-request-id" : "7b9387c6-c355-480b-aea1-7ea64d9edd92", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "6feaef77-ca6a-4a30-8a97-7608f7eafe25", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:22 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "26ms", - "MS-CV" : "Gq7sFuzpqUCnkkyBF3w3cA.0", - "X-Azure-Ref" : "0Qr7DYAAAAABd6g/wXYNxR5z3JmABBKdNWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-d7f3-28c5-593a0d00abf6\"}}", - "x-ms-client-request-id" : "6feaef77-ca6a-4a30-8a97-7608f7eafe25", + "X-Processing-Time" : "32ms", + "MS-CV" : "G4Ui9CI8JkeOXWPy/wibOQ.0", + "X-Azure-Ref" : "0xIfLYAAAAAAx2igl0eaARIWqIxx9twGyV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-fc59-e3c7-593a0d00f7b7\"}}", + "x-ms-client-request-id" : "0c9b9cf3-fff7-452b-b2ab-5e92f4fc15ee", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-d737-f6c7-593a0d00ab9f/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-fbf6-e3c7-593a0d00f7b6/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "04c7d9ef-7e63-4229-aa4d-a3a422881af6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:22 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "dbwZ8/ejXEmgGrbBNS70/A.0", - "X-Azure-Ref" : "0Qr7DYAAAAAA41BpqJ+WBT7GGPCPbGoBIWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:21.6360204+00:00\"}", - "x-ms-client-request-id" : "04c7d9ef-7e63-4229-aa4d-a3a422881af6", + "X-Processing-Time" : "39ms", + "MS-CV" : "olT6aN/uMU6JkJZbCClwEw.0", + "X-Azure-Ref" : "0xIfLYAAAAAAlJCYQmVlQRaluzbLPS9XzV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:59.7852141+00:00\"}", + "x-ms-client-request-id" : "739094d7-9a6b-4cc4-8c0f-c5597b77bb09", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "d5051810-2a00-4104-8555-885f8850872d", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "4d43e4de-e22d-4411-8d5e-1feda62c2949", "Content-Type" : "application/json" }, "Response" : { @@ -88,22 +85,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:22 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "336ms", - "MS-CV" : "g1eJzlxiu0OUOBs0QNXSuA.0", - "X-Azure-Ref" : "0Qr7DYAAAAABq4Bufff77Q5qjKtKxu/r6WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:Q-VYLz10BbOJIzG7U6Jjh_yt5sg3iU4jr4Dms_s7byw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:22Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-d737-f6c7-593a0d00ab9f\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-d737-f6c7-593a0d00ab9f\"}}}}", + "X-Processing-Time" : "521ms", + "MS-CV" : "9KoOnAPyGE+M/hpx/Jivrw.0", + "X-Azure-Ref" : "0xIfLYAAAAADsMfhLmcDTRqoE4GCx+CYsV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:JiGOaZd6qVTH_i8bTgGgJecSgRPWi0wjTwWZ3bXgXpE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:00Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-fbf6-e3c7-593a0d00f7b6\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-fbf6-e3c7-593a0d00f7b6\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AQ-VYLz10BbOJIzG7U6Jjh_yt5sg3iU4jr4Dms_s7byw1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AJiGOaZd6qVTH_i8bTgGgJecSgRPWi0wjTwWZ3bXgXpE1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Q-VYLz10BbOJIzG7U6Jjh_yt5sg3iU4jr4Dms_s7byw1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:JiGOaZd6qVTH_i8bTgGgJecSgRPWi0wjTwWZ3bXgXpE1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "7cd6f969-7aac-4138-96b1-ff7234d207dc", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "86714007-fdfa-4d8f-907f-87c627d42fb3", "Content-Type" : "application/json" }, "Response" : { @@ -112,35 +109,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:22 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:01 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "271ms", - "MS-CV" : "8v1zvBownkOBCHg3lJO8Lg.0", - "X-Azure-Ref" : "0Q77DYAAAAAAfSvtlXCusS65ytVta2H+iWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"id\":\"1623440963301\"}", + "X-Processing-Time" : "181ms", + "MS-CV" : "KIUpuc7RPE28+mHAhYog2Q.0", + "X-Azure-Ref" : "0xYfLYAAAAABjOEF/qve8TZDLNA5qcPfPV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623951301593\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AQ-VYLz10BbOJIzG7U6Jjh_yt5sg3iU4jr4Dms_s7byw1@thread.v2/messages/1623440963301" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AJiGOaZd6qVTH_i8bTgGgJecSgRPWi0wjTwWZ3bXgXpE1@thread.v2/messages/1623951301593" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Q-VYLz10BbOJIzG7U6Jjh_yt5sg3iU4jr4Dms_s7byw1@thread.v2/messages/1623440963301?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:JiGOaZd6qVTH_i8bTgGgJecSgRPWi0wjTwWZ3bXgXpE1@thread.v2/messages/1623951301593?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "50fc3c0a-fa37-435f-9b30-6fd03f56a0ae" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "c4a977ac-ee5a-4ab1-a243-a6697858418b" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "126ms", - "MS-CV" : "IYJWx7f2LEiK1i5WFpmzbQ.0", + "X-Processing-Time" : "111ms", + "MS-CV" : "iaN46PycQkaGAY7/7p7FPA.0", "retry-after" : "0", - "X-Azure-Ref" : "0Q77DYAAAAAA5HR5kP8UZQ5O4ZirFLlT/WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0xYfLYAAAAACOa95f32oySrrzuX17SgzIV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"1623440963301\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1623440963301\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-11T19:49:23Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-d737-f6c7-593a0d00ab9f\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-d737-f6c7-593a0d00ab9f\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", - "Date" : "Fri, 11 Jun 2021 19:49:23 GMT", + "Body" : "{\"id\":\"1623951301593\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1623951301593\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T17:35:01Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-fbf6-e3c7-593a0d00f7b6\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-fbf6-e3c7-593a0d00f7b6\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", + "Date" : "Thu, 17 Jun 2021 17:35:01 GMT", "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 29b1e2c0cf097..1fd608e7de2a6 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "e4ff9b84-82ba-41c0-a56c-e5c544e5a6fa", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:56 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:30 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "bPOUo7zMsUWn7zel/7m8tQ.0", - "X-Azure-Ref" : "0KL7DYAAAAADbF591BIYpRZVIt4ZyGcEyWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-7120-28c5-593a0d00abbf\"}}", - "x-ms-client-request-id" : "e4ff9b84-82ba-41c0-a56c-e5c544e5a6fa", + "X-Processing-Time" : "65ms", + "MS-CV" : "7wBgeKuD8EOXbF6EzN2L5g.0", + "X-Azure-Ref" : "0p4fLYAAAAABgwiMJnCJVQJyW6nG08mrvV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8a4b-e3c7-593a0d00f76d\"}}", + "x-ms-client-request-id" : "5fe72f20-c43f-49e9-96e3-36b47af8eb65", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "dcb93656-b3d0-4eb5-b2cb-951df832297f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:56 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:31 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "24ms", - "MS-CV" : "cMDwJ3OZ5EytRui7Bo5ZZg.0", - "X-Azure-Ref" : "0KL7DYAAAAADP/IHIx5rERbdNePZUHk4CWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-716a-28c5-593a0d00abc0\"}}", - "x-ms-client-request-id" : "dcb93656-b3d0-4eb5-b2cb-951df832297f", + "X-Processing-Time" : "32ms", + "MS-CV" : "R+37Atqvy0SOefADrX4Dog.0", + "X-Azure-Ref" : "0p4fLYAAAAABQUoK8ZC0YQ7+qZ+KeCD/8V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8aa7-e3c7-593a0d00f76e\"}}", + "x-ms-client-request-id" : "80a62d2a-d625-45bf-96b1-2e2b1634753b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-7120-28c5-593a0d00abbf/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8a4b-e3c7-593a0d00f76d/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "fe851368-97d7-4648-b986-3fd50ffe3573", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:56 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:31 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "26ms", - "MS-CV" : "3dQvwRlNEka8OrosUaPDOQ.0", - "X-Azure-Ref" : "0KL7DYAAAAAC8ZpfRBSy7SJT4zErE/KXQWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:55.3854225+00:00\"}", - "x-ms-client-request-id" : "fe851368-97d7-4648-b986-3fd50ffe3573", + "X-Processing-Time" : "35ms", + "MS-CV" : "4vgCC9kN9kWwg/6XLLtnWA.0", + "X-Azure-Ref" : "0p4fLYAAAAAB4B1xNSuHfQY8llN9Xnta/V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:30.6693042+00:00\"}", + "x-ms-client-request-id" : "c16b3bdc-0256-4921-b2e6-e9f7e3bb1f5d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "b37a44b9-2a6f-4c3f-9da0-c530ae67d49d", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "3059e6b8-75c0-4d63-81d9-e26e493329f7", "Content-Type" : "application/json" }, "Response" : { @@ -88,22 +85,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:56 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:31 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "366ms", - "MS-CV" : "20h0v3AbpkOpI20Dx1sMCA.0", - "X-Azure-Ref" : "0KL7DYAAAAADqttSkw4aCRYEu858H0ayNWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:78zCI5VgRL8OssjWT0yI9I_ZAoumoH3X_oyOP---eVc1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:56Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-7120-28c5-593a0d00abbf\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-7120-28c5-593a0d00abbf\"}}}}", + "X-Processing-Time" : "432ms", + "MS-CV" : "bVqUw0tikUCcLYSJDHBdgQ.0", + "X-Azure-Ref" : "0p4fLYAAAAADvIZqxTSccQZcPSsTxTuHmV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:KO8FO_ApBzzEy1iTpd9gemqiOUcmJgGOzB2BlQeOHac1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:31Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8a4b-e3c7-593a0d00f76d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8a4b-e3c7-593a0d00f76d\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3A78zCI5VgRL8OssjWT0yI9I_ZAoumoH3X_oyOP---eVc1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AKO8FO_ApBzzEy1iTpd9gemqiOUcmJgGOzB2BlQeOHac1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:78zCI5VgRL8OssjWT0yI9I_ZAoumoH3X_oyOP---eVc1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:KO8FO_ApBzzEy1iTpd9gemqiOUcmJgGOzB2BlQeOHac1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "79dc2c3b-5915-44ea-937d-9bc1442b55bb", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "b175f28d-1308-42d5-a9df-88166ce56cbf", "Content-Type" : "application/json" }, "Response" : { @@ -112,35 +109,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:56 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:31 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "136ms", - "MS-CV" : "yAu2ayMtIE24QJCb7WRDaA.0", - "X-Azure-Ref" : "0KL7DYAAAAADWZRNI7PYVTZZ22nZ2J8vaWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"id\":\"1623440936931\"}", + "X-Processing-Time" : "224ms", + "MS-CV" : "8PZ8pggcGUiXlZu+PE1XIw.0", + "X-Azure-Ref" : "0qIfLYAAAAABecxmHj6rbRIX3aaBQzgTyV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623951272284\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3A78zCI5VgRL8OssjWT0yI9I_ZAoumoH3X_oyOP---eVc1@thread.v2/messages/1623440936931" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AKO8FO_ApBzzEy1iTpd9gemqiOUcmJgGOzB2BlQeOHac1@thread.v2/messages/1623951272284" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:78zCI5VgRL8OssjWT0yI9I_ZAoumoH3X_oyOP---eVc1@thread.v2/messages/1623440936931?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:KO8FO_ApBzzEy1iTpd9gemqiOUcmJgGOzB2BlQeOHac1@thread.v2/messages/1623951272284?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "f35f8a1d-49dc-49a8-b673-9e96c5538886" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "98c11a52-d9ee-4246-a965-3a84706c5c66" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "204ms", - "MS-CV" : "KaCVecmH4EqMiYOn/hrBZQ.0", + "X-Processing-Time" : "86ms", + "MS-CV" : "8j8L7OEIu06/K/HJd24Aug.0", "retry-after" : "0", - "X-Azure-Ref" : "0Kb7DYAAAAAAaJeCS9KBZTYtd1g4Nn1udWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0qIfLYAAAAAC1x2G0bFAFSqaB1nBxXsD2V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"1623440936931\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1623440936931\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-11T19:48:56Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-7120-28c5-593a0d00abbf\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-7120-28c5-593a0d00abbf\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", - "Date" : "Fri, 11 Jun 2021 19:48:57 GMT", + "Body" : "{\"id\":\"1623951272284\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1623951272284\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T17:34:32Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8a4b-e3c7-593a0d00f76d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8a4b-e3c7-593a0d00f76d\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", + "Date" : "Thu, 17 Jun 2021 17:34:32 GMT", "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 6e50828ecc3fa..53db324955e8d 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "578d28d8-9670-4328-99a7-41206cea831f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:27 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:06 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "26ms", - "MS-CV" : "FeZ8wIUYtUmFPIg8POcHhg.0", - "X-Azure-Ref" : "0R77DYAAAAAAMxQm8m/UeTYi2vna6C6mrWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-eb45-28c5-593a0d00abfb\"}}", - "x-ms-client-request-id" : "578d28d8-9670-4328-99a7-41206cea831f", + "X-Processing-Time" : "29ms", + "MS-CV" : "BZ+x6InB+kqH6O/UL60zbQ.0", + "X-Azure-Ref" : "0yofLYAAAAADiGHl03Z6fQL3JJThbANcfV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-13fa-e3c7-593a0d00f7c2\"}}", + "x-ms-client-request-id" : "1baa9f37-7b67-49cf-ac56-d84b69ac0ae9", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "2e4239ff-72aa-4ff9-bbc3-f4487ffa833e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:27 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:06 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "26ms", - "MS-CV" : "ewGh6D2plUKb2Py8iQxr2w.0", - "X-Azure-Ref" : "0R77DYAAAAAB+apuqDaNFS6RT0C3SNSGzWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-eb90-f6c7-593a0d00aba5\"}}", - "x-ms-client-request-id" : "2e4239ff-72aa-4ff9-bbc3-f4487ffa833e", + "X-Processing-Time" : "30ms", + "MS-CV" : "opUjZ42zTUSWirL0DDOhlg.0", + "X-Azure-Ref" : "0yofLYAAAAAAZtal7fjt8SrYhE5XD5Qa+V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-1436-e3c7-593a0d00f7c3\"}}", + "x-ms-client-request-id" : "fd0e6d16-98ed-4b94-8d27-db39de9c410c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-eb45-28c5-593a0d00abfb/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-13fa-e3c7-593a0d00f7c2/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "06ecc228-7107-470b-a497-bbb09102c226", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:27 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:06 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "lDL40NvhiUCZHAoNg8/dPA.0", - "X-Azure-Ref" : "0R77DYAAAAACEz0RDLRgRT6ThYC7qU8C/WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:26.6481225+00:00\"}", - "x-ms-client-request-id" : "06ecc228-7107-470b-a497-bbb09102c226", + "X-Processing-Time" : "37ms", + "MS-CV" : "WFXXSsgOB02KSFswJdJtLQ.0", + "X-Azure-Ref" : "0yofLYAAAAAAzVVXTbMOaQJtPyzpvqcEgV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:05.8825695+00:00\"}", + "x-ms-client-request-id" : "73098b43-a5d1-42e6-87a7-9a6c079e331f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "e62c9346-5252-415e-aad3-3f2de47c9253", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "c95dac94-827f-4257-b9da-fd7d5d859f40", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:27 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:06 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "325ms", - "MS-CV" : "rmIuni3mpEyexft0rlwyNw.0", - "X-Azure-Ref" : "0R77DYAAAAAA0U8sn8a62RpMhovMiF00TWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:SMzeRmE79NOcJ1J6QmUP6B4gzh4V8Ls-ZCvCSmw1bXE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:27Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-eb45-28c5-593a0d00abfb\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-eb45-28c5-593a0d00abfb\"}}}}", + "X-Processing-Time" : "532ms", + "MS-CV" : "KyXJnfCwy0qxBcI25XhEPA.0", + "X-Azure-Ref" : "0yofLYAAAAABxpCuX1LypRpRhelYZV7oHV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:JJ300x455JMaMmJ1phVw3K5GO4UYsUlL9Qbv6Qkj2kk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:06Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-13fa-e3c7-593a0d00f7c2\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-13fa-e3c7-593a0d00f7c2\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3ASMzeRmE79NOcJ1J6QmUP6B4gzh4V8Ls-ZCvCSmw1bXE1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AJJ300x455JMaMmJ1phVw3K5GO4UYsUlL9Qbv6Qkj2kk1@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 6af56757b616a..05f8c334551c8 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "484f3ff7-5c7d-4a57-92a7-9721dc18e7eb", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:59 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "LPJaIMivcUiXTDsOPBfhbg.0", - "X-Azure-Ref" : "0K77DYAAAAABn//PZKTfRTYw2tOPTfAMDWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-7dcd-28c5-593a0d00abc5\"}}", - "x-ms-client-request-id" : "484f3ff7-5c7d-4a57-92a7-9721dc18e7eb", + "X-Processing-Time" : "32ms", + "MS-CV" : "aPmJgsgi/0qwFcOzXJbpJg.0", + "X-Azure-Ref" : "0qofLYAAAAAC021Hi+hPIQpOkgKNsXy1tV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-9516-e3c7-593a0d00f773\"}}", + "x-ms-client-request-id" : "14c4bfc8-2ba7-4888-962d-fa8c6363a174", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "e65c1094-2b17-455c-87b8-3565c37e463a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:59 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:34 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "pTMtJapI0EWgWALPB8kMEA.0", - "X-Azure-Ref" : "0K77DYAAAAAC9KfL0bYTMT553mmPH74ExWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-7e74-28c5-593a0d00abc6\"}}", - "x-ms-client-request-id" : "e65c1094-2b17-455c-87b8-3565c37e463a", + "X-Processing-Time" : "33ms", + "MS-CV" : "pY3RgN4mpE6fOzvpTEHrsw.0", + "X-Azure-Ref" : "0qofLYAAAAACOXAJ7jjdeT67dkLwYAC/GV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-9559-e3c7-593a0d00f774\"}}", + "x-ms-client-request-id" : "a009d6e8-aa0e-4482-851d-c9c1a0c9a6f2", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-7dcd-28c5-593a0d00abc5/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-9516-e3c7-593a0d00f773/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "bf770ae5-2516-4bee-bef1-ea9fa7b2da9a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:59 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "26ms", - "MS-CV" : "EKbb8XI0j0C8W2EhbHm6iA.0", - "X-Azure-Ref" : "0K77DYAAAAACOsHuatuFfToem2c5L5O5SWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:58.7381724+00:00\"}", - "x-ms-client-request-id" : "bf770ae5-2516-4bee-bef1-ea9fa7b2da9a", + "X-Processing-Time" : "37ms", + "MS-CV" : "e1wG5F3ThkqiLCDzj6mvgw.0", + "X-Azure-Ref" : "0qofLYAAAAADZwhilvlHaRprdFJqjktdxV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:33.5354527+00:00\"}", + "x-ms-client-request-id" : "c91d1653-3528-4717-86c7-6f483a575421", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "641da749-351d-465c-89bb-786a3b4f3c64", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "f669acab-e8e4-4ef4-bdff-9283b055cae1", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:00 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:35 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "667ms", - "MS-CV" : "iEXMYxjY3EeDpqn1XK0Gdw.0", - "X-Azure-Ref" : "0K77DYAAAAACGZ1gB17z1RI61BL5ebm63WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:6ShGfM3kn-LiznSyNQjBuaNDPhSmkDafMm2EFMpA0_I1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:59Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-7dcd-28c5-593a0d00abc5\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-7dcd-28c5-593a0d00abc5\"}}}}", + "X-Processing-Time" : "512ms", + "MS-CV" : "o367optmFESJX+7znLkaPg.0", + "X-Azure-Ref" : "0qofLYAAAAAAw2sL24LRNT6cPwsPKshHiV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:gIc-qVg94N5t1ioNXlhl3W_xehsziAoJWdvFyZG65kk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:34Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-9516-e3c7-593a0d00f773\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-9516-e3c7-593a0d00f773\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3A6ShGfM3kn-LiznSyNQjBuaNDPhSmkDafMm2EFMpA0_I1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AgIc-qVg94N5t1ioNXlhl3W_xehsziAoJWdvFyZG65kk1@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 e046acbade99a..906124c2fba6b 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "516cba2e-0398-4ab4-b604-49398b622add", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:18 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:57 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "25ms", - "MS-CV" : "zfxox657mkW1Pbj9xIdmVQ.0", - "X-Azure-Ref" : "0P77DYAAAAAD5CowlE432QosLuUaEqFQ5WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-cb33-28c5-593a0d00abef\"}}", - "x-ms-client-request-id" : "516cba2e-0398-4ab4-b604-49398b622add", + "X-Processing-Time" : "37ms", + "MS-CV" : "QF5SJhLPn0a+0TA9qolv+g.0", + "X-Azure-Ref" : "0wYfLYAAAAADJEErUOAkgSpePuyC63TNnV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f0d1-e3c7-593a0d00f7b0\"}}", + "x-ms-client-request-id" : "2845ee1f-cdc6-4f59-9064-f996ee7ce01f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "89a8b071-3259-48ec-8d84-8fcf7f3e3ece", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:18 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:57 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "hFUlvsDBYkiR+xeEAj7+Xg.0", - "X-Azure-Ref" : "0P77DYAAAAAC5Wl+Z2BybRL/J89WCC1VMWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-cb89-f6c7-593a0d00ab9c\"}}", - "x-ms-client-request-id" : "89a8b071-3259-48ec-8d84-8fcf7f3e3ece", + "X-Processing-Time" : "30ms", + "MS-CV" : "uVQcwxAAuE+6sqPWC+01zA.0", + "X-Azure-Ref" : "0wYfLYAAAAAA8mhxciC8AR5iT8bCJgtJNV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f114-e3c7-593a0d00f7b1\"}}", + "x-ms-client-request-id" : "391a0f5f-e40b-4e38-ba6f-2eacf9d37ce0", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-cb33-28c5-593a0d00abef/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f0d1-e3c7-593a0d00f7b0/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "edf9dc95-5cd1-4709-a853-2879a0fa44cb", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:19 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:57 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "w3BkcCjbPE6/Yp0iB3z/Mw.0", - "X-Azure-Ref" : "0P77DYAAAAABwVw4GthVrTqYh4kwg6elRWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:18.4570606+00:00\"}", - "x-ms-client-request-id" : "edf9dc95-5cd1-4709-a853-2879a0fa44cb", + "X-Processing-Time" : "39ms", + "MS-CV" : "hhEnsIrsBEuuTeT9H2mWSw.0", + "X-Azure-Ref" : "0wYfLYAAAAABL/n3nc5uSRpJ9ZQ/y8eUlV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:56.8910723+00:00\"}", + "x-ms-client-request-id" : "0f4956f6-a52e-49bb-b250-67815ecf220e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "b47745e8-da6e-4581-aa75-91aa2df6d447", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "2ee79cb0-ab6e-41e4-8375-b05948d8a46e", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:19 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:57 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "509ms", - "MS-CV" : "5XN8fU5IeECT+Icmecasog.0", - "X-Azure-Ref" : "0P77DYAAAAAB/Jm9fjaDORrq+QFW6ZWW+WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:36XrqH2G4eAjmeVKzG9ZuPyHvULa91PgD11r-RyOFXk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:19Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-cb33-28c5-593a0d00abef\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-cb33-28c5-593a0d00abef\"}}}}", + "X-Processing-Time" : "550ms", + "MS-CV" : "w3AvtE/og0mKk9+8lGPADg.0", + "X-Azure-Ref" : "0wYfLYAAAAACs2tZ16MtVR7U+6x3xCPwDV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:ZRhRgiRZkECfUi3Y6TMN7qKfCBx1bhi3qYKS8q-TUeM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:58Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f0d1-e3c7-593a0d00f7b0\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f0d1-e3c7-593a0d00f7b0\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3A36XrqH2G4eAjmeVKzG9ZuPyHvULa91PgD11r-RyOFXk1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AZRhRgiRZkECfUi3Y6TMN7qKfCBx1bhi3qYKS8q-TUeM1@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendTypingNotificationWithOptions[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendTypingNotificationWithOptions[1].json new file mode 100644 index 0000000000000..1ccdad6f03629 --- /dev/null +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendTypingNotificationWithOptions[1].json @@ -0,0 +1,121 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Cache" : "CONFIG_NOCACHE", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", + "retry-after" : "0", + "StatusCode" : "201", + "Date" : "Thu, 17 Jun 2021 17:34:36 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "31ms", + "MS-CV" : "prRMdp2/VUOqMzqVlGWfcw.0", + "X-Azure-Ref" : "0rYfLYAAAAAATQI/cTtQFR4fBIdsWEoeeV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-a02d-e3c7-593a0d00f777\"}}", + "x-ms-client-request-id" : "f4856db7-f00a-49a3-8d91-130eed410083", + "Content-Type" : "application/json; charset=utf-8", + "Request-Context" : "appId=" + }, + "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.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Cache" : "CONFIG_NOCACHE", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", + "retry-after" : "0", + "StatusCode" : "201", + "Date" : "Thu, 17 Jun 2021 17:34:36 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "56ms", + "MS-CV" : "foTbUlszyUmu1De8bIojFA.0", + "X-Azure-Ref" : "0rYfLYAAAAAClzZ79TUwjQKu7ztIoAzDyV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-a08a-e3c7-593a0d00f778\"}}", + "x-ms-client-request-id" : "c8a3266b-4b07-46ff-b3d8-79d18bd42579", + "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_0000000a-baeb-a02d-e3c7-593a0d00f777/:issueAccessToken?api-version=2021-03-07", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Cache" : "CONFIG_NOCACHE", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", + "retry-after" : "0", + "StatusCode" : "200", + "Date" : "Thu, 17 Jun 2021 17:34:37 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "62ms", + "MS-CV" : "kbL+juPjIkOS2f6abkG8Bw.0", + "X-Azure-Ref" : "0rYfLYAAAAADsDWg3wiAxTJoO18S+RSb2V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:36.5992946+00:00\"}", + "x-ms-client-request-id" : "f814f840-1990-4490-9e7f-a41b3e4d673d", + "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", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "0d4a8dd4-a3e3-43ce-9fa6-51890b16c19b", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "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", + "retry-after" : "0", + "StatusCode" : "201", + "Date" : "Thu, 17 Jun 2021 17:34:38 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "458ms", + "MS-CV" : "bIxSRb5lT0yBy4axbXylNg.0", + "X-Azure-Ref" : "0rofLYAAAAADXqoVOgwXeS46n8GrKu9SbV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:nTA36cV6OUUuG-O50wuPZWscya5E3e0u9Uh5LlxW4Vk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:38Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-a02d-e3c7-593a0d00f777\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-a02d-e3c7-593a0d00f777\"}}}}", + "Content-Type" : "application/json; charset=utf-8", + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AnTA36cV6OUUuG-O50wuPZWscya5E3e0u9Uh5LlxW4Vk1@thread.v2" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:nTA36cV6OUUuG-O50wuPZWscya5E3e0u9Uh5LlxW4Vk1@thread.v2/typing?api-version=2021-04-05-preview6", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "06184ff5-1315-4da1-ae67-a5f481b237af", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "Strict-Transport-Security" : "max-age=2592000", + "api-supported-versions" : "2021-04-05-preview6", + "X-Processing-Time" : "229ms", + "MS-CV" : "u95ndUZHZkC3KFbcZyvmDQ.0", + "retry-after" : "0", + "X-Azure-Ref" : "0r4fLYAAAAADkJnKQHfJcQ4obnbQBtlKEV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "Date" : "Thu, 17 Jun 2021 17:34:38 GMT" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file 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 new file mode 100644 index 0000000000000..677ddd6f00cc9 --- /dev/null +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendTypingNotificationWithResponseWithOptions[1].json @@ -0,0 +1,121 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Cache" : "CONFIG_NOCACHE", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", + "retry-after" : "0", + "StatusCode" : "201", + "Date" : "Thu, 17 Jun 2021 17:35:07 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "33ms", + "MS-CV" : "6cWoOl7n7UaRHY6VQax5DQ.0", + "X-Azure-Ref" : "0y4fLYAAAAAAoeWjcmoUYQpNCL2LwoY6PV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-1720-e3c7-593a0d00f7c4\"}}", + "x-ms-client-request-id" : "c0f31e17-3e71-4d41-9a9d-d7c0c329cd28", + "Content-Type" : "application/json; charset=utf-8", + "Request-Context" : "appId=" + }, + "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.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Cache" : "CONFIG_NOCACHE", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", + "retry-after" : "0", + "StatusCode" : "201", + "Date" : "Thu, 17 Jun 2021 17:35:07 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "68ms", + "MS-CV" : "35e0ThvWqUuUOjwvxTsg4Q.0", + "X-Azure-Ref" : "0y4fLYAAAAAClxTmO8TYoQpSt4BAJujUjV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-17b8-e3c7-593a0d00f7c5\"}}", + "x-ms-client-request-id" : "cbbd24d9-9abb-4784-a912-7deb1841e64c", + "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_0000000a-baec-1720-e3c7-593a0d00f7c4/:issueAccessToken?api-version=2021-03-07", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Cache" : "CONFIG_NOCACHE", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", + "retry-after" : "0", + "StatusCode" : "200", + "Date" : "Thu, 17 Jun 2021 17:35:07 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "38ms", + "MS-CV" : "TeIO1wwKF0+Ah9AGz4LWHA.0", + "X-Azure-Ref" : "0y4fLYAAAAABYk8hyaZ4ORYK3dvJi85+cV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:06.7908346+00:00\"}", + "x-ms-client-request-id" : "868fc356-2d98-4745-a5fd-704877098b91", + "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", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "32f024ec-bc99-4a4d-817a-4a547938c02a", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "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", + "retry-after" : "0", + "StatusCode" : "201", + "Date" : "Thu, 17 Jun 2021 17:35:07 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "572ms", + "MS-CV" : "RxfNomLj8kOSCQ5asm9UBQ.0", + "X-Azure-Ref" : "0y4fLYAAAAAD3Xx10ARBGTrhBc2A47/a8V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:v5MYo4tpH8obuUuxSc09BZfgCux6CYUh-jsgGH5hRzA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:07Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-1720-e3c7-593a0d00f7c4\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-1720-e3c7-593a0d00f7c4\"}}}}", + "Content-Type" : "application/json; charset=utf-8", + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Av5MYo4tpH8obuUuxSc09BZfgCux6CYUh-jsgGH5hRzA1@thread.v2" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:v5MYo4tpH8obuUuxSc09BZfgCux6CYUh-jsgGH5hRzA1@thread.v2/typing?api-version=2021-04-05-preview6", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "4418a84e-7df0-4c02-9495-de27ed039d61", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "Strict-Transport-Security" : "max-age=2592000", + "api-supported-versions" : "2021-04-05-preview6", + "X-Processing-Time" : "144ms", + "MS-CV" : "CKFx9+0W50utIcJay8EdTg.0", + "retry-after" : "0", + "X-Azure-Ref" : "0zIfLYAAAAABlce8S6uvrSqxmrmaRsLuLV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "Date" : "Thu, 17 Jun 2021 17:35:08 GMT" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file 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 6e2ca86a65d98..4dcf6fa8687ea 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "1ff75511-4ffc-41cc-adf2-77ebd83ecf9c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:13 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:52 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "+YVn2VGrI0CrJciVb7lPpA.0", - "X-Azure-Ref" : "0Or7DYAAAAACI/IoPibC6QbUOgJ/L6IJiWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-b7e7-f6c7-593a0d00ab96\"}}", - "x-ms-client-request-id" : "1ff75511-4ffc-41cc-adf2-77ebd83ecf9c", + "X-Processing-Time" : "33ms", + "MS-CV" : "fJRQQaQOjkKPG5HLxPf5qA.0", + "X-Azure-Ref" : "0vIfLYAAAAADFsr53Ub6/S641NIatUSKWV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-dd84-e3c7-593a0d00f79f\"}}", + "x-ms-client-request-id" : "b1adad53-4004-47df-aed1-5aae37056b0e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "4486dd11-7532-44f1-8e22-3455b2583a24", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:14 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:52 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "19ms", - "MS-CV" : "fR7vfVhv/kKCqUVg1678Vw.0", - "X-Azure-Ref" : "0Or7DYAAAAADQe1CKLvetTZ2WO7RtRbG+WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-b833-28c5-593a0d00abea\"}}", - "x-ms-client-request-id" : "4486dd11-7532-44f1-8e22-3455b2583a24", + "X-Processing-Time" : "120ms", + "MS-CV" : "1o/RAcX2eEazDIh8RPZuGQ.0", + "X-Azure-Ref" : "0vIfLYAAAAAC1phxWSCnFSISs+tiseIjcV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-de23-e3c7-593a0d00f7a0\"}}", + "x-ms-client-request-id" : "98b1df7d-c37e-433d-8aaa-99a45c0f29fd", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-b7e7-f6c7-593a0d00ab96/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-dd84-e3c7-593a0d00f79f/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "e302f373-d3bf-423a-abf8-0a776a77de63", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:14 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:52 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "XT10FpZna06/KbhAoamHhw.0", - "X-Azure-Ref" : "0Or7DYAAAAADqz4QiAx5ZRJYn9CyO3rzrWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:13.5074361+00:00\"}", - "x-ms-client-request-id" : "e302f373-d3bf-423a-abf8-0a776a77de63", + "X-Processing-Time" : "43ms", + "MS-CV" : "/603rdRoEUKgTsxwMNdeZw.0", + "X-Azure-Ref" : "0vIfLYAAAAACxKEyUYmxUToN1rHCDc493V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:52.0448374+00:00\"}", + "x-ms-client-request-id" : "23c8fc7f-95ce-4d31-bfd7-8d5e4cfa9861", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "5af41bb7-055e-40b7-8997-4cd556c5e205", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "96477992-c112-4a97-bcea-961b03859736", "Content-Type" : "application/json" }, "Response" : { @@ -88,34 +85,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:14 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "610ms", - "MS-CV" : "jOwJIFTZF0q4UL5/ee20Mg.0", - "X-Azure-Ref" : "0Or7DYAAAAADCgSBRYHefS46ISvK5DLC0WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:YhPO8lgWGyoiRbW1napSkz5qlDMCOBQ-l1BE5Knaock1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:14Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-b7e7-f6c7-593a0d00ab96\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-b7e7-f6c7-593a0d00ab96\"}}}}", + "X-Processing-Time" : "436ms", + "MS-CV" : "0XSDWDsc00mYewIIXk/xPA.0", + "X-Azure-Ref" : "0vYfLYAAAAAAbItlCnloySq5ME+gKYNiBV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:fp9TbJCPa7gk183_oXZAWWvJ09P_IsZH4X0oBMFFOjw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:53Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-dd84-e3c7-593a0d00f79f\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-dd84-e3c7-593a0d00f79f\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AYhPO8lgWGyoiRbW1napSkz5qlDMCOBQ-l1BE5Knaock1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Afp9TbJCPa7gk183_oXZAWWvJ09P_IsZH4X0oBMFFOjw1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:YhPO8lgWGyoiRbW1napSkz5qlDMCOBQ-l1BE5Knaock1@thread.v2/typing?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:fp9TbJCPa7gk183_oXZAWWvJ09P_IsZH4X0oBMFFOjw1@thread.v2/typing?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "ad2e68b9-1b79-47ed-b79e-717afe3168d1" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "03575c69-b3b3-4fbe-8d7e-f7cf895ea9af", + "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "102ms", - "MS-CV" : "Sg1C5LOjgUGTJhdM4ij3Nw.0", + "api-supported-versions" : "2021-04-05-preview6", + "X-Processing-Time" : "169ms", + "MS-CV" : "TUL+ZOenB0yKsciFRpddnw.0", "retry-after" : "0", - "X-Azure-Ref" : "0O77DYAAAAAA/mH9JbANLSqjH0HwRIo6qWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0vYfLYAAAAACQNduOJeOAQIC+IOx6S91sV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:14 GMT" + "Date" : "Thu, 17 Jun 2021 17:34:53 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 922bd8dc23bfd..c74d63b174b6f 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "73d8315f-3c52-4aa9-9bb8-40a9b84b3690", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:27 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:08 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "MDXMT0DTZESrWp88vvpAEA.0", - "X-Azure-Ref" : "0SL7DYAAAAACde2e6nlnoSLw1+WWe3P8NWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-edd8-f6c7-593a0d00aba6\"}}", - "x-ms-client-request-id" : "73d8315f-3c52-4aa9-9bb8-40a9b84b3690", + "X-Processing-Time" : "69ms", + "MS-CV" : "BDIpkJWBNkaSRjaok0OA7Q.0", + "X-Azure-Ref" : "0zIfLYAAAAAC45Nq088KZRIAQD9ChdKgGV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-1b9c-e3c7-593a0d00f7c7\"}}", + "x-ms-client-request-id" : "757466cb-d80a-4ddd-8af9-9f82e53fda36", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "d135139d-0a89-41a6-ab45-431dd5d73f35", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:27 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:08 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "pELoCUN/DU26Mbj0jBCs4A.0", - "X-Azure-Ref" : "0SL7DYAAAAAAeqJOJ2ECyR7pvBzo6ovu5WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-ef10-28c5-593a0d00abfc\"}}", - "x-ms-client-request-id" : "d135139d-0a89-41a6-ab45-431dd5d73f35", + "X-Processing-Time" : "35ms", + "MS-CV" : "WNzi2ZhOM0OdbyP0+fJLIA.0", + "X-Azure-Ref" : "0zIfLYAAAAABrutVmXbqLTZvWwhSBgBh2V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-1bdd-e3c7-593a0d00f7c8\"}}", + "x-ms-client-request-id" : "cfff69bb-5be7-4f16-9f6e-0f07d4326066", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-edd8-f6c7-593a0d00aba6/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-1b9c-e3c7-593a0d00f7c7/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "afdcb6b8-441b-44a3-ad54-7d413d69a1f9", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:28 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:08 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "26ms", - "MS-CV" : "cX3uWLcaP0Si0xrs9ZLbpA.0", - "X-Azure-Ref" : "0SL7DYAAAAACJwerdywOEQ4oS3eEBZfVoWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:27.5502792+00:00\"}", - "x-ms-client-request-id" : "afdcb6b8-441b-44a3-ad54-7d413d69a1f9", + "X-Processing-Time" : "36ms", + "MS-CV" : "NnN+zYI1LkGKsTWXvLw90Q.0", + "X-Azure-Ref" : "0zIfLYAAAAADjemylrejFRKxwEBWZUPfiV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:07.846695+00:00\"}", + "x-ms-client-request-id" : "2aeadc47-6413-4ee3-a794-45a15a999b71", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "94e18e3b-b35a-42fe-8659-e9c34b8fccb9", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "70da4eaa-4ddd-4443-bbb8-1511da42e2c9", "Content-Type" : "application/json" }, "Response" : { @@ -88,34 +85,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:28 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:09 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "320ms", - "MS-CV" : "RqHyfx+y+UuRfkqercnLCA.0", - "X-Azure-Ref" : "0SL7DYAAAAABseCLKfmjGTaUkqRQt37iYWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:i9I_6SvZARc4xFZGa3XYS5DaJlVRiOJBud4gflBuuKQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:28Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-edd8-f6c7-593a0d00aba6\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-edd8-f6c7-593a0d00aba6\"}}}}", + "X-Processing-Time" : "588ms", + "MS-CV" : "N1UFjyuZOUilHg2oAKLiQQ.0", + "X-Azure-Ref" : "0zIfLYAAAAAC9DHJgL1/nRIWERK42PYbmV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:nF8CzIAbs8Fl0KtbEwYVZ66ZjJ8v4KIh9oD96h1Zgxw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:08Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-1b9c-e3c7-593a0d00f7c7\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-1b9c-e3c7-593a0d00f7c7\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3Ai9I_6SvZARc4xFZGa3XYS5DaJlVRiOJBud4gflBuuKQ1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AnF8CzIAbs8Fl0KtbEwYVZ66ZjJ8v4KIh9oD96h1Zgxw1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:i9I_6SvZARc4xFZGa3XYS5DaJlVRiOJBud4gflBuuKQ1@thread.v2/typing?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:nF8CzIAbs8Fl0KtbEwYVZ66ZjJ8v4KIh9oD96h1Zgxw1@thread.v2/typing?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "a8b17f59-d579-419a-8f21-01e0bf0ce09e" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "b9dc8fc0-ce3b-4f3c-96da-a42367f17220", + "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "96ms", - "MS-CV" : "9NiNGcn0BE2BQMvat74EFQ.0", + "api-supported-versions" : "2021-04-05-preview6", + "X-Processing-Time" : "191ms", + "MS-CV" : "rdNcBNG/2UWjkkypHFltmA.0", "retry-after" : "0", - "X-Azure-Ref" : "0SL7DYAAAAADysKV9sYFpSJmUUHp6s+duWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0zYfLYAAAAABYl3ah/fZmQY2X3SQQzyFHV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:28 GMT" + "Date" : "Thu, 17 Jun 2021 17:35:09 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 4fb53873392a5..da69e7bdaca9c 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "1ddb5353-de73-496b-ab85-9e508af6c4ae", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:32 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:13 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "9q49ab6CB0CpqZz0rUYZOg.0", - "X-Azure-Ref" : "0TL7DYAAAAAB8FUeBARBpSJsgBdusudf5WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-00c1-f6c7-593a0d00abaf\"}}", - "x-ms-client-request-id" : "1ddb5353-de73-496b-ab85-9e508af6c4ae", + "X-Processing-Time" : "33ms", + "MS-CV" : "I0kx8WXRSUSsDZpnNwzrYA.0", + "X-Azure-Ref" : "00ofLYAAAAACmpdScYus9Sas/cV91oxhPV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-311d-e3c7-593a0d00f7d6\"}}", + "x-ms-client-request-id" : "d5236859-5267-47de-8a56-077e690db12b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "273b581c-57a3-4f3a-a7b5-cb5622e6ef69", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:32 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:13 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "Y6CD3Eu8bEyJRNovQBn1OA.0", - "X-Azure-Ref" : "0Tb7DYAAAAACanWLiuwX7S5E6mg21jynhWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-0108-f6c7-593a0d00abb0\"}}", - "x-ms-client-request-id" : "273b581c-57a3-4f3a-a7b5-cb5622e6ef69", + "X-Processing-Time" : "30ms", + "MS-CV" : "5aUa1QjtT02wSx3d2YJJvA.0", + "X-Azure-Ref" : "00ofLYAAAAACrQyIt8eguQ7atqc5AkjZhV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-3161-e3c7-593a0d00f7d7\"}}", + "x-ms-client-request-id" : "b18c1813-4eff-4911-a005-bfd593ebeb03", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-00c1-f6c7-593a0d00abaf/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-311d-e3c7-593a0d00f7d6/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "2a2ee8de-6bfa-4689-a1f3-1605af4dbd52", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:32 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:14 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "lj+dKyb/CUO5sKiSMjM6Pw.0", - "X-Azure-Ref" : "0Tb7DYAAAAADjvPAsBF0xRLD7vIomCBoCWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:32.1496006+00:00\"}", - "x-ms-client-request-id" : "2a2ee8de-6bfa-4689-a1f3-1605af4dbd52", + "X-Processing-Time" : "38ms", + "MS-CV" : "5P/sMMJ1AEa1WTUXh5OcbA.0", + "X-Azure-Ref" : "00ofLYAAAAACtEkX2UlmtR567t54BkzJqV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:13.3718292+00:00\"}", + "x-ms-client-request-id" : "4c9b8cbd-338d-4497-bd18-8db23b8a4dcd", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "bceb63c5-7861-4f58-a31b-06a3b2ea444f", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "d6b313c1-35c9-40e3-8b95-241e28f8d53b", "Content-Type" : "application/json" }, "Response" : { @@ -88,22 +85,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:33 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:14 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "466ms", - "MS-CV" : "XGAQuPIzVUWRcaX62WbOrw.0", - "X-Azure-Ref" : "0Tb7DYAAAAADLN+9DgCL1Qp2p8DgjFra2WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:6LC-sRXjSYsSA0TlftLTDGsaCFuz9e1GuD7HdoW5Plg1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:33Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-00c1-f6c7-593a0d00abaf\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-00c1-f6c7-593a0d00abaf\"}}}}", + "X-Processing-Time" : "666ms", + "MS-CV" : "HKJSVh3o402S2385NHgBJQ.0", + "X-Azure-Ref" : "00ofLYAAAAADfuXrEMXaWRa6PDllxEqRjV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:svxls5Ef4xQ_Sj65qyM3Yz_L-s-WAR5ppglFV2F9fEQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:14Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-311d-e3c7-593a0d00f7d6\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-311d-e3c7-593a0d00f7d6\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3A6LC-sRXjSYsSA0TlftLTDGsaCFuz9e1GuD7HdoW5Plg1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Asvxls5Ef4xQ_Sj65qyM3Yz_L-s-WAR5ppglFV2F9fEQ1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:6LC-sRXjSYsSA0TlftLTDGsaCFuz9e1GuD7HdoW5Plg1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:svxls5Ef4xQ_Sj65qyM3Yz_L-s-WAR5ppglFV2F9fEQ1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "6bec8d98-0ecc-4873-b13d-0319dae9013a", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "8983e7a4-5358-4428-9ffe-bb49e1b9e141", "Content-Type" : "application/json" }, "Response" : { @@ -112,55 +109,55 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:33 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:14 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "129ms", - "MS-CV" : "1dPCXfHjI0SaJFUdMHqymA.0", - "X-Azure-Ref" : "0Tb7DYAAAAACD2GaOjaC1R4xizSzBJAh0WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"id\":\"1623440973778\"}", + "X-Processing-Time" : "185ms", + "MS-CV" : "LWmHZON2XU+jYmYYLdY3JA.0", + "X-Azure-Ref" : "004fLYAAAAAAiF6JglSBsTaP60E17dQNpV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623951315188\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3A6LC-sRXjSYsSA0TlftLTDGsaCFuz9e1GuD7HdoW5Plg1@thread.v2/messages/1623440973778" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Asvxls5Ef4xQ_Sj65qyM3Yz_L-s-WAR5ppglFV2F9fEQ1@thread.v2/messages/1623951315188" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:6LC-sRXjSYsSA0TlftLTDGsaCFuz9e1GuD7HdoW5Plg1@thread.v2/messages/1623440973778?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:svxls5Ef4xQ_Sj65qyM3Yz_L-s-WAR5ppglFV2F9fEQ1@thread.v2/messages/1623951315188?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "56698819-4afa-4b2c-b901-4081156288cc", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "f5d431a1-1957-4d8b-92b6-75748fa7db20", "Content-Type" : "application/merge-patch+json" }, "Response" : { "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", - "X-Processing-Time" : "221ms", - "MS-CV" : "zMh0f9zb0kOJjmqHuBviUQ.0", + "X-Processing-Time" : "353ms", + "MS-CV" : "5JyA8tKof0qwCue0muSwhg.0", "retry-after" : "0", - "X-Azure-Ref" : "0Tb7DYAAAAAAlcBHhI3pBQbMIl9l6qui+WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "004fLYAAAAACSnQYmRj6MTLxdAOWds3I/V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:49:33 GMT" + "Date" : "Thu, 17 Jun 2021 17:35:15 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:6LC-sRXjSYsSA0TlftLTDGsaCFuz9e1GuD7HdoW5Plg1@thread.v2/messages/1623440973778?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:svxls5Ef4xQ_Sj65qyM3Yz_L-s-WAR5ppglFV2F9fEQ1@thread.v2/messages/1623951315188?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "f6c8c69f-cd69-4602-b253-bf4aef27a668" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "d31f40f3-c05c-4492-8051-a0a3c3bb102e" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "83ms", - "MS-CV" : "p5LolY3hYUKBz1p988poug.0", + "X-Processing-Time" : "98ms", + "MS-CV" : "Dj4rsr0XgUWwTDfCy16vcw.0", "retry-after" : "0", - "X-Azure-Ref" : "0Tr7DYAAAAACkFJLy1jjTQ4hNDsCgjRoQWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "004fLYAAAAAANZ4Y8hBt6RZKN8Q4VOSzLV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"1623440973778\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1623440974048\",\"content\":{\"message\":\"Update Test\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-11T19:49:33Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-00c1-f6c7-593a0d00abaf\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-00c1-f6c7-593a0d00abaf\"}},\"editedOn\":\"2021-06-11T19:49:34Z\",\"metadata\":{\"onedriveReferences\":\"onedriveReferences - updated\",\"deliveryMode\":\"deliveryMode value - updated\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\"}}", - "Date" : "Fri, 11 Jun 2021 19:49:33 GMT", + "Body" : "{\"id\":\"1623951315188\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1623951315524\",\"content\":{\"message\":\"Update Test\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T17:35:15Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-311d-e3c7-593a0d00f7d6\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-311d-e3c7-593a0d00f7d6\"}},\"editedOn\":\"2021-06-17T17:35:15Z\",\"metadata\":{\"onedriveReferences\":\"onedriveReferences - updated\",\"deliveryMode\":\"deliveryMode value - updated\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\"}}", + "Date" : "Thu, 17 Jun 2021 17:35:15 GMT", "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 838df61530476..6d2577eddc1f5 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "1af22f00-ba3d-4b9a-b409-cc76744792d2", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:34 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:16 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "5oTyt6vh2023V/MVBsagGg.0", - "X-Azure-Ref" : "0T77DYAAAAACSPbQSU/0iTJK2e6KZtP74WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-09b5-28c5-593a0d00ac00\"}}", - "x-ms-client-request-id" : "1af22f00-ba3d-4b9a-b409-cc76744792d2", + "X-Processing-Time" : "81ms", + "MS-CV" : "4wD7WveVhUePpec+Gb/FDw.0", + "X-Azure-Ref" : "01IfLYAAAAAClGQkbtWZuRYFOJqgJKzn/V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-3bd8-e3c7-593a0d00f7db\"}}", + "x-ms-client-request-id" : "3ca89fe0-8489-462c-8a70-3e202fe1c0b3", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "7bd72518-e6ed-4897-bc6b-65dde3e67268", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:34 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:16 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "FWQhTCKHJUGlflCeLQDXqA.0", - "X-Azure-Ref" : "0T77DYAAAAACpIwuCvSEYS6M9bDTh/m1dWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-09fb-28c5-593a0d00ac01\"}}", - "x-ms-client-request-id" : "7bd72518-e6ed-4897-bc6b-65dde3e67268", + "X-Processing-Time" : "56ms", + "MS-CV" : "mspjb6ZP/kSoYjdn5ON9XQ.0", + "X-Azure-Ref" : "01IfLYAAAAAAvmnkshC3YQIGGwGakF8aNV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-3c36-e3c7-593a0d00f7dc\"}}", + "x-ms-client-request-id" : "d0ad6ca9-affb-4966-b664-1b85c17abab4", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-09b5-28c5-593a0d00ac00/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-3bd8-e3c7-593a0d00f7db/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "d107d6fc-369d-4b81-9485-acb6d12f3b3f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:34 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:16 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "dHP18nmCpEu08hsi7jPkxw.0", - "X-Azure-Ref" : "0T77DYAAAAAD5l2J11hpxS6HcgWS3g9M7WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:34.4533935+00:00\"}", - "x-ms-client-request-id" : "d107d6fc-369d-4b81-9485-acb6d12f3b3f", + "X-Processing-Time" : "72ms", + "MS-CV" : "n7W9fCr08k6s3T1cCZABFw.0", + "X-Azure-Ref" : "01YfLYAAAAADbMWXekVr1Rp+tuwu0G2LzV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:16.2299814+00:00\"}", + "x-ms-client-request-id" : "8ce82649-01d3-4438-9ff3-d310eede60e1", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "212ecdbd-4523-4444-8cca-cb2f28d6e640", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "0cbf2126-8ec1-4db5-972d-fb1e50999d90", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:35 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:18 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "362ms", - "MS-CV" : "+IYE4pAa6kurTjM3QR3fJQ.0", - "X-Azure-Ref" : "0T77DYAAAAADzL7fTbaEIQYUYLJtG5Ny6WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:EP3HbSMMat6oiwADVH4fe1ACpT_8Dv2mZ85Y9tk-KW41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:35Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-09b5-28c5-593a0d00ac00\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-09b5-28c5-593a0d00ac00\"}}}}", + "X-Processing-Time" : "1072ms", + "MS-CV" : "aVJpijEg/UqneRIPk2DEGA.0", + "X-Azure-Ref" : "01YfLYAAAAAB+emjf0Qm8RIyUxXUkC83IV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:i08UpUQdCIEYRQfR2uPsA3nOW6JBOrCgc-iIBOHNtnQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:17Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-3bd8-e3c7-593a0d00f7db\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-3bd8-e3c7-593a0d00f7db\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AEP3HbSMMat6oiwADVH4fe1ACpT_8Dv2mZ85Y9tk-KW41@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ai08UpUQdCIEYRQfR2uPsA3nOW6JBOrCgc-iIBOHNtnQ1@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 0e4f5ebdf771e..1eaede85e2a5f 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "3f8cebcd-3472-4fc9-a153-b69dd20efdd0", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:04 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "Dm6dVX8YgkuCjzLrx5KjMw.0", - "X-Azure-Ref" : "0ML7DYAAAAADkXx/9E48vQoNFsFbMJiH4WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-91e0-28c5-593a0d00abd4\"}}", - "x-ms-client-request-id" : "3f8cebcd-3472-4fc9-a153-b69dd20efdd0", + "X-Processing-Time" : "36ms", + "MS-CV" : "Ht7rqr93hEKG8hg+fK+mwg.0", + "X-Azure-Ref" : "0sofLYAAAAAAIESvyIbWdS4f0jN3Y+BXFV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b6ef-e3c7-593a0d00f785\"}}", + "x-ms-client-request-id" : "d1e59855-6709-4b25-8cc7-1415a5db76ad", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "c7db7ddd-476b-4bd9-9c67-2e713c72f435", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:04 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "OA/xXE/R00GGRINGvQhPSg.0", - "X-Azure-Ref" : "0ML7DYAAAAAD8mp0DdgamTaoiCR4caC8TWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-9226-28c5-593a0d00abd5\"}}", - "x-ms-client-request-id" : "c7db7ddd-476b-4bd9-9c67-2e713c72f435", + "X-Processing-Time" : "33ms", + "MS-CV" : "o9PgYqNYSEOZJu19zjx6jA.0", + "X-Azure-Ref" : "0sofLYAAAAACRmqpUbw9IRZYQ8nm0weL0V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b754-e3c7-593a0d00f786\"}}", + "x-ms-client-request-id" : "3b289f2f-a89f-4021-8511-37e9be4b8a5c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-91e0-28c5-593a0d00abd4/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b6ef-e3c7-593a0d00f785/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "4b7538d7-c77f-4e68-a13a-2e9b6e710624", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:04 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "rr4fLUSGR0+rs69WtTlB6g.0", - "X-Azure-Ref" : "0ML7DYAAAAABOZUkDnOaSSazjDxGp3TfyWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:03.7621885+00:00\"}", - "x-ms-client-request-id" : "4b7538d7-c77f-4e68-a13a-2e9b6e710624", + "X-Processing-Time" : "36ms", + "MS-CV" : "gw3f+2wWjk6Vw5qqww4vSQ.0", + "X-Azure-Ref" : "0s4fLYAAAAAAmzCBXBVkvRbw8W5ceVYFKV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:42.1343413+00:00\"}", + "x-ms-client-request-id" : "e0bb0924-a480-4c9e-bc7f-9a98367540ce", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "62c645b5-f11a-4085-90d7-f9c60fe6a26c", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "c781ecf9-c3ab-47e2-8cfb-6646ee2e45cf", "Content-Type" : "application/json" }, "Response" : { @@ -88,55 +85,55 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:04 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:43 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "372ms", - "MS-CV" : "9l40TuSWt06Byxf5PxFNWw.0", - "X-Azure-Ref" : "0ML7DYAAAAABayzvVwYk6TqpLRfPRIaUgWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:zwJh50x6OIJzoilw0Eg6JUQM4mtwpc337GnqNel9tlA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:04Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-91e0-28c5-593a0d00abd4\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-91e0-28c5-593a0d00abd4\"}}}}", + "X-Processing-Time" : "528ms", + "MS-CV" : "GE/iEoMK90ypT69J9oqS5A.0", + "X-Azure-Ref" : "0s4fLYAAAAABp0c6USX06QrvdO1l6JtO3V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:_8nSolhyaAFUNZwnTN23IKalwkNBfnc3upMwtIgHz641@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:43Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b6ef-e3c7-593a0d00f785\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b6ef-e3c7-593a0d00f785\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AzwJh50x6OIJzoilw0Eg6JUQM4mtwpc337GnqNel9tlA1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A_8nSolhyaAFUNZwnTN23IKalwkNBfnc3upMwtIgHz641@thread.v2" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:zwJh50x6OIJzoilw0Eg6JUQM4mtwpc337GnqNel9tlA1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:_8nSolhyaAFUNZwnTN23IKalwkNBfnc3upMwtIgHz641@thread.v2?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "8a689864-40c5-4eb7-8bb0-82966e915057", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "e93050d4-012c-40ec-bc41-a5bcbeea6cb9", "Content-Type" : "application/merge-patch+json" }, "Response" : { "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", - "X-Processing-Time" : "124ms", - "MS-CV" : "W5yR60+d3Ue+am3VOQRg2g.0", + "X-Processing-Time" : "223ms", + "MS-CV" : "OLFX9PauhUuX0DDb+HFgAA.0", "retry-after" : "0", - "X-Azure-Ref" : "0Mb7DYAAAAAA/kAjl4thpQ6wtlUs4h0T9WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0s4fLYAAAAABfCq7TV9TaQ6tAzqq19b9cV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:49:05 GMT" + "Date" : "Thu, 17 Jun 2021 17:34:43 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:zwJh50x6OIJzoilw0Eg6JUQM4mtwpc337GnqNel9tlA1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:_8nSolhyaAFUNZwnTN23IKalwkNBfnc3upMwtIgHz641@thread.v2?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "6a027458-57f7-4481-b77c-f20791cac84e" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "e138d66e-4032-412a-ada3-530170283329" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "83ms", - "MS-CV" : "XrzvrWauUk2QQuSGaQx8Kw.0", + "X-Processing-Time" : "118ms", + "MS-CV" : "rLLFbrIj9U6mOYY7WQEqMA.0", "retry-after" : "0", - "X-Azure-Ref" : "0Mb7DYAAAAAAxuX1XjQJRSLgxJVY+y3azWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0tIfLYAAAAABBAE0FIshmS5Wen6rkTtVBV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"19:zwJh50x6OIJzoilw0Eg6JUQM4mtwpc337GnqNel9tlA1@thread.v2\",\"topic\":\"Update Test\",\"createdOn\":\"2021-06-11T19:49:04Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-91e0-28c5-593a0d00abd4\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-91e0-28c5-593a0d00abd4\"}}}", - "Date" : "Fri, 11 Jun 2021 19:49:05 GMT", + "Body" : "{\"id\":\"19:_8nSolhyaAFUNZwnTN23IKalwkNBfnc3upMwtIgHz641@thread.v2\",\"topic\":\"Update Test\",\"createdOn\":\"2021-06-17T17:34:43Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b6ef-e3c7-593a0d00f785\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b6ef-e3c7-593a0d00f785\"}}}", + "Date" : "Thu, 17 Jun 2021 17:34:43 GMT", "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 161902a149330..ad3348e379829 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "efbea841-3476-4b5f-a528-07a68a76fb26", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:02 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:40 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "dszri34uvkS9L9IdWWPl5g.0", - "X-Azure-Ref" : "0Lr7DYAAAAADfslzAoAy0S47vxcsnkNPpWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-889a-28c5-593a0d00abcc\"}}", - "x-ms-client-request-id" : "efbea841-3476-4b5f-a528-07a68a76fb26", + "X-Processing-Time" : "60ms", + "MS-CV" : "DQKuoUnRiUyNCpkTW3LCXQ.0", + "X-Azure-Ref" : "0sIfLYAAAAAD7OW0BTCexSIQUFsf0S/UdV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-acde-e3c7-593a0d00f77d\"}}", + "x-ms-client-request-id" : "50e2290d-2186-4638-88ba-4f02bd427265", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "8c6de91f-2d0f-48c0-abff-0e75dea4bdc6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:02 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:39 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "25ms", - "MS-CV" : "JlSMhu/h60assntTOSx5Xg.0", - "X-Azure-Ref" : "0Lr7DYAAAAADDadjA1tEbQ5xDNisDhVEgWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-88e3-28c5-593a0d00abcd\"}}", - "x-ms-client-request-id" : "8c6de91f-2d0f-48c0-abff-0e75dea4bdc6", + "X-Processing-Time" : "29ms", + "MS-CV" : "4loPVpzZH069tp7uDe1RDg.0", + "X-Azure-Ref" : "0sIfLYAAAAACnEzSZ2XGqSK9x4atq36iaV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-ad24-e3c7-593a0d00f77e\"}}", + "x-ms-client-request-id" : "028939ba-4dd5-4dd7-af9b-89a5772d71bb", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-889a-28c5-593a0d00abcc/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-acde-e3c7-593a0d00f77d/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "ead3be33-822c-4fab-a962-bdee594c83a1", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:02 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:40 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "in8ShLLTK0+Qt28JVpD4CQ.0", - "X-Azure-Ref" : "0Lr7DYAAAAAAIHRkaKYZKSLbvayltaKYCWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:01.3872876+00:00\"}", - "x-ms-client-request-id" : "ead3be33-822c-4fab-a962-bdee594c83a1", + "X-Processing-Time" : "38ms", + "MS-CV" : "5EmbdSJyN02CINaQk4Ngvg.0", + "X-Azure-Ref" : "0sIfLYAAAAACdSa7KrzOlR6MMLa8+J3c1V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:39.4963136+00:00\"}", + "x-ms-client-request-id" : "4bd10c50-4438-4899-87b6-98bdb89efda5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "05f08e5b-28b3-49cb-8036-71cc8b965134", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "9a7331d5-6609-410f-9a88-d5cfaadb51a0", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:02 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:40 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "367ms", - "MS-CV" : "4YcXK3selUuKb+CGonwVuQ.0", - "X-Azure-Ref" : "0Lr7DYAAAAABSs9UO1njTTJqY5Rh2okGpWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:m4hONBCZmvRYYPwaqKEugsd0B7hwdu9_CWjq6rRlw1I1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:02Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-889a-28c5-593a0d00abcc\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-889a-28c5-593a0d00abcc\"}}}}", + "X-Processing-Time" : "518ms", + "MS-CV" : "M4+WIgrHbk2863ChZeYAlQ.0", + "X-Azure-Ref" : "0sIfLYAAAAADb93UEtG5NQKyZnQQ5VxLmV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:bKSMRedg7DG2d3T6pRrXxf2tEz0tEF_WG3n7Om6qAPw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:40Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-acde-e3c7-593a0d00f77d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-acde-e3c7-593a0d00f77d\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3Am4hONBCZmvRYYPwaqKEugsd0B7hwdu9_CWjq6rRlw1I1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AbKSMRedg7DG2d3T6pRrXxf2tEz0tEF_WG3n7Om6qAPw1@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 aa1f0445c1f8c..b626b4afd352f 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "a82c1b69-ac09-4320-8086-9d3aa6b29c5c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:15 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "M0sQ4zJ92kG7lrtwDxddbQ.0", - "X-Azure-Ref" : "0PL7DYAAAAABF2Ol2UU/sSKKiKIx9PSAfWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-bf7a-f6c7-593a0d00ab99\"}}", - "x-ms-client-request-id" : "a82c1b69-ac09-4320-8086-9d3aa6b29c5c", + "X-Processing-Time" : "31ms", + "MS-CV" : "CW1zIel+t0ObYURhWrRerw.0", + "X-Azure-Ref" : "0vofLYAAAAAD8+bWJZtp8T4KOK8WA/UGiV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e454-e3c7-593a0d00f7aa\"}}", + "x-ms-client-request-id" : "6fd1b88f-d45f-496e-a5b9-2db6596f0011", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "2a93c21e-a3f8-428b-bc5f-ff7526b36ae4", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:15 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "Uh1n51Mc6kCLQB7lAcqjaQ.0", - "X-Azure-Ref" : "0PL7DYAAAAABamSle0/trS6ztngCWHn/qWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-bfc5-28c5-593a0d00abec\"}}", - "x-ms-client-request-id" : "2a93c21e-a3f8-428b-bc5f-ff7526b36ae4", + "X-Processing-Time" : "53ms", + "MS-CV" : "sm/0jGS6BECjHqb6XL6H1Q.0", + "X-Azure-Ref" : "0vofLYAAAAABnPfakCalFR781JILb5CVTV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e4b1-e3c7-593a0d00f7ab\"}}", + "x-ms-client-request-id" : "d366dec0-a723-432a-a381-e619c390fb59", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-bf7a-f6c7-593a0d00ab99/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e454-e3c7-593a0d00f7aa/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "988d5061-aab3-4b95-aa19-94a62179d957", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:16 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "L30CYWqUxEy6ffjw69eI0Q.0", - "X-Azure-Ref" : "0PL7DYAAAAADKvZ5Ficz3Q4hswmXuy6UDWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:15.4581197+00:00\"}", - "x-ms-client-request-id" : "988d5061-aab3-4b95-aa19-94a62179d957", + "X-Processing-Time" : "65ms", + "MS-CV" : "QlsT8aztv0aU17a4LO69xA.0", + "X-Azure-Ref" : "0vofLYAAAAABkQa9/KKZZSZsW9a9X4nJpV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:53.7512224+00:00\"}", + "x-ms-client-request-id" : "5ec06d86-7022-449b-8a7c-dcfddf6012c7", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "8b4cf2b9-88be-4a31-9f08-0746cdbba4a1", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "c54d5d6c-789e-4b37-a514-06ab5fc34dd4", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:16 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "335ms", - "MS-CV" : "bI+Fbkqp8kCzHSqGNH7frw.0", - "X-Azure-Ref" : "0PL7DYAAAAAC5srN1oubkQY/GPZVlb47zWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:qO5QF6-GWS54j_UfOq5Q07FbigB6HV-Jh4pVHLTblDQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:16Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-bf7a-f6c7-593a0d00ab99\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-bf7a-f6c7-593a0d00ab99\"}}}}", + "X-Processing-Time" : "505ms", + "MS-CV" : "PvvBhgwP7Ualx1dYWHixqQ.0", + "X-Azure-Ref" : "0vofLYAAAAACuKf0RjPfVSYnmnW9g1zUWV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:cAI7hdU1hDEo1f-q0LXgvASt4Na70OVrXZ5pO-6sY1Y1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:54Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e454-e3c7-593a0d00f7aa\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e454-e3c7-593a0d00f7aa\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AqO5QF6-GWS54j_UfOq5Q07FbigB6HV-Jh4pVHLTblDQ1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AcAI7hdU1hDEo1f-q0LXgvASt4Na70OVrXZ5pO-6sY1Y1@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 58e7d2149db79..903e95a1d2bdb 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "5732b7d7-5891-4c42-8414-013355a142e3", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:57 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:32 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "tLfwdFSWEEO+u8WkRzSWUw.0", - "X-Azure-Ref" : "0Kb7DYAAAAADnlvTY08t4QoQbmLOI6gYhWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-75ce-28c5-593a0d00abc1\"}}", - "x-ms-client-request-id" : "5732b7d7-5891-4c42-8414-013355a142e3", + "X-Processing-Time" : "33ms", + "MS-CV" : "sqY5IpR6DkOic2LEfyhteg.0", + "X-Azure-Ref" : "0qIfLYAAAAAAH8YcgMsp4Sa8jmvbigUVRV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8eda-e3c7-593a0d00f76f\"}}", + "x-ms-client-request-id" : "47a2540a-7c2e-4c5e-b42e-a88892fd1b21", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "703fad64-e279-4a37-afb9-a4542401fcf2", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:57 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:32 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "KB/vlM0FVk2VCJRctCQetQ.0", - "X-Azure-Ref" : "0Kb7DYAAAAACJlHk+HvGxRo3yc/MEEwgtWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-7622-28c5-593a0d00abc2\"}}", - "x-ms-client-request-id" : "703fad64-e279-4a37-afb9-a4542401fcf2", + "X-Processing-Time" : "85ms", + "MS-CV" : "LoDFyUd3h0yjyrubXYs2Qw.0", + "X-Azure-Ref" : "0qIfLYAAAAACCmLHdANeCSbiJ532+9mvPV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8f53-e3c7-593a0d00f770\"}}", + "x-ms-client-request-id" : "14493328-ce38-4a6f-8c81-7bae3d4314a7", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-75ce-28c5-593a0d00abc1/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8eda-e3c7-593a0d00f76f/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "72574342-e916-42fd-ac31-d541480f9230", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:57 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:32 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "9qdA3dCBREiukqjZwcadZQ.0", - "X-Azure-Ref" : "0Kb7DYAAAAADkjqkl7dnhQbT1xtF6yAqpWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:56.5974139+00:00\"}", - "x-ms-client-request-id" : "72574342-e916-42fd-ac31-d541480f9230", + "X-Processing-Time" : "39ms", + "MS-CV" : "p+B4RvgMrkKWKUhF47yd+g.0", + "X-Azure-Ref" : "0qIfLYAAAAAD7tyZtqIRXTpU0Ov9cNXNaV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:31.866239+00:00\"}", + "x-ms-client-request-id" : "e1f992f3-9716-47b2-898f-2f273b81cf03", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "baccefa0-6c9b-4242-b4d8-9000e277673e", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "edf8ce81-db82-4514-a1b3-3db2a50f2542", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:58 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "706ms", - "MS-CV" : "AjBl5mph/k6oS394Vtij4w.0", - "X-Azure-Ref" : "0Kb7DYAAAAACC8yxnotLUTImu0VpiuWE3WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:f50mkQrBh-zyEXg05FEqwBjTr72MbT8GcrogcQoscOE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:57Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-75ce-28c5-593a0d00abc1\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-75ce-28c5-593a0d00abc1\"}}}}", + "X-Processing-Time" : "475ms", + "MS-CV" : "+9baWaCbY0GIly1DYoIWww.0", + "X-Azure-Ref" : "0qIfLYAAAAAAaESguxSUVT79S8U1G/yY2V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:7V9YUa9a4JhAaObe91CZxd2y2-Kwb1ykAqGvHj-VU2w1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:32Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8eda-e3c7-593a0d00f76f\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8eda-e3c7-593a0d00f76f\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3Af50mkQrBh-zyEXg05FEqwBjTr72MbT8GcrogcQoscOE1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A7V9YUa9a4JhAaObe91CZxd2y2-Kwb1ykAqGvHj-VU2w1@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 d8a38a07384d7..d377f2b40481c 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "7f8e9c67-4368-4885-9439-9fc9b83100a8", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:55 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:30 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "2r8niIsZUEKWpbuv1D8WJA.0", - "X-Azure-Ref" : "0J77DYAAAAABMBATTKAGCR50cA+x6/c5VWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-6e44-28c5-593a0d00abbd\"}}", - "x-ms-client-request-id" : "7f8e9c67-4368-4885-9439-9fc9b83100a8", + "X-Processing-Time" : "62ms", + "MS-CV" : "nhwMJmIdFE+bc+QGGflU0w.0", + "X-Azure-Ref" : "0pofLYAAAAABfqTOx8POlT5AC4ICRuA+OV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-86e8-e3c7-593a0d00f76b\"}}", + "x-ms-client-request-id" : "f82e08c1-3019-4849-80b6-478b6ed7b081", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "49d6490c-b934-4cb2-861f-82a6f29d04f2", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:55 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:30 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "dfnLFZu+GEyfaSMHub1sYA.0", - "X-Azure-Ref" : "0J77DYAAAAABlnw4zBfjuSpU1IEjm3imhWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-6ea6-28c5-593a0d00abbe\"}}", - "x-ms-client-request-id" : "49d6490c-b934-4cb2-861f-82a6f29d04f2", + "X-Processing-Time" : "29ms", + "MS-CV" : "FAmrLIn03E6pgxA0lyl63Q.0", + "X-Azure-Ref" : "0pofLYAAAAAC6mr/RGjk4QbrQdBHSLKCvV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8728-e3c7-593a0d00f76c\"}}", + "x-ms-client-request-id" : "d5f42ef2-60c4-47a7-b6f3-958bd9346884", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-6e44-28c5-593a0d00abbd/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-86e8-e3c7-593a0d00f76b/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "e582d154-1a83-40be-9246-b574a8200fbe", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:55 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:30 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "35ms", - "MS-CV" : "qZWLNAPj/0e1RE9W5rgoEg.0", - "X-Azure-Ref" : "0J77DYAAAAAAG2Xkl6P/tS6UQBj2J+lA1WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:54.6992704+00:00\"}", - "x-ms-client-request-id" : "e582d154-1a83-40be-9246-b574a8200fbe", + "X-Processing-Time" : "41ms", + "MS-CV" : "6HwF3yDHtUiJEoFgjXrNkQ.0", + "X-Azure-Ref" : "0pofLYAAAAAAa+HCQNtF3SKOl0iuVSXOkV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:29.7804243+00:00\"}", + "x-ms-client-request-id" : "5461e880-4e93-42d7-8fdd-1f392ade4946", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "c5c5ccc1-c46f-4936-8f2f-07a12bac0ca3", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "4334ceb6-a251-4fd0-9f06-3b86fe79190b", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:55 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:31 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "357ms", - "MS-CV" : "AIsvaoEp00SNzQeLWdRLqw.0", - "X-Azure-Ref" : "0J77DYAAAAADT1qjXqiIBRptsxLp7kq6pWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:5eMaWzUy4o-vfB4i7rLpvM_NELcj1YIdkgL8OaAWJ_01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:55Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-6e44-28c5-593a0d00abbd\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-6e44-28c5-593a0d00abbd\"}}}}", + "X-Processing-Time" : "583ms", + "MS-CV" : "Tc3J8ukQAUeLs1SoC0cTnw.0", + "X-Azure-Ref" : "0pofLYAAAAAAfTFVDqRZjTYkCmy6qhuZcV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:oe_a0RY_EHhQtu8WdXyyLx0IXZgUXrbUudZEHBNMxbc1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:30Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-86e8-e3c7-593a0d00f76b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-86e8-e3c7-593a0d00f76b\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3A5eMaWzUy4o-vfB4i7rLpvM_NELcj1YIdkgL8OaAWJ_01@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Aoe_a0RY_EHhQtu8WdXyyLx0IXZgUXrbUudZEHBNMxbc1@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 c7d04636f2756..ba282e019a3de 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "85d4f660-cdf2-439a-ba37-0f5986b9c164", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:33 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "fDumqDXTAUq4OWSkMldQcA.0", - "X-Azure-Ref" : "0Tr7DYAAAAADsW9GzjN2cQrNp4Dfi7ZNzWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-05ff-f6c7-593a0d00abb1\"}}", - "x-ms-client-request-id" : "85d4f660-cdf2-439a-ba37-0f5986b9c164", + "X-Processing-Time" : "31ms", + "MS-CV" : "YD5w+myYjEqpBwVArruFVg.0", + "X-Azure-Ref" : "004fLYAAAAADfHeEwfjgTSbYJRo3DjgkJV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-37b5-e3c7-593a0d00f7d8\"}}", + "x-ms-client-request-id" : "930f8168-d118-43e5-94b7-da817c8e6245", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "dfe08e0a-1fab-454e-8cf0-eb09e2caadc0", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:33 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "8xWUM04ApEK3B/an6Rr8MA.0", - "X-Azure-Ref" : "0Tr7DYAAAAAB99XbJXTtIS7Jzo44XP+XcWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-0690-28c5-593a0d00abff\"}}", - "x-ms-client-request-id" : "dfe08e0a-1fab-454e-8cf0-eb09e2caadc0", + "X-Processing-Time" : "30ms", + "MS-CV" : "H/3T7m5ZDk+UfeWXskSPLQ.0", + "X-Azure-Ref" : "004fLYAAAAABY4FsSYT3QTr4xj5y005f9V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-37f6-e3c7-593a0d00f7d9\"}}", + "x-ms-client-request-id" : "a20a09ff-ce3d-406d-92cf-ad79066ba14c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-05ff-f6c7-593a0d00abb1/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-37b5-e3c7-593a0d00f7d8/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "06b69a09-ba25-471f-81f7-ea307e7857cf", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:33 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "dPLIM3AdYU6ef0Ptx/D0BA.0", - "X-Azure-Ref" : "0Tr7DYAAAAACcpEekPkI6Qp7dCT4T+pVIWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:33.5665174+00:00\"}", - "x-ms-client-request-id" : "06b69a09-ba25-471f-81f7-ea307e7857cf", + "X-Processing-Time" : "37ms", + "MS-CV" : "2fqg7tgRykmi5RxO5j7gYA.0", + "X-Azure-Ref" : "004fLYAAAAADL+hBqxbtUT6sUlL7bSGk2V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:15.0367843+00:00\"}", + "x-ms-client-request-id" : "7153d32e-179d-4427-b817-679597052e7b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "95e53547-0586-4776-a131-bef4c59472e1", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "12069c26-bf47-40a8-a5a3-cd58b8c64c5b", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:34 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:16 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "568ms", - "MS-CV" : "JV+dUkoSHEOWKy3JIjX7xQ.0", - "X-Azure-Ref" : "0Tr7DYAAAAACub6qD5rD0RZJT4wpxU3ErWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:Zox68RiaDBhy2YJeKefHwtKYOtDZ3864kH6IQqtpGy41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:34Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-05ff-f6c7-593a0d00abb1\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-05ff-f6c7-593a0d00abb1\"}}}}", + "X-Processing-Time" : "752ms", + "MS-CV" : "euyje3DaOEelZ1AI18dHpg.0", + "X-Azure-Ref" : "01IfLYAAAAADrluCRkZnLRJ7uTS7Dm0+UV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:VkJ2NayVrKRXvC-xgTC3zGiq_dpIvhzRKI1ZDrHUrw41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:16Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-37b5-e3c7-593a0d00f7d8\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-37b5-e3c7-593a0d00f7d8\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AZox68RiaDBhy2YJeKefHwtKYOtDZ3864kH6IQqtpGy41@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AVkJ2NayVrKRXvC-xgTC3zGiq_dpIvhzRKI1ZDrHUrw41@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 f89283ed8ec67..3647f89ee12c1 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "86e88873-2ed9-4de0-9b5e-2a4d2227d707", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:01 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:39 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "EXbQArohcEqC5nL/D35Wxg.0", - "X-Azure-Ref" : "0Lb7DYAAAAABYU2BxhXOAR4pvfqQ+YGEkWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-85e8-28c5-593a0d00abca\"}}", - "x-ms-client-request-id" : "86e88873-2ed9-4de0-9b5e-2a4d2227d707", + "X-Processing-Time" : "31ms", + "MS-CV" : "6CZ9jKHoMEyLw4K0fs7dgw.0", + "X-Azure-Ref" : "0r4fLYAAAAABAgoOkRVg1Qa7nNwM5F76eV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-a910-e3c7-593a0d00f779\"}}", + "x-ms-client-request-id" : "9b350968-17a6-4e50-8102-d8e796482df6", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "f55a8619-ccf7-4ac4-a9cc-5cbf9b353896", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:01 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:38 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "DRCRlos74UqSUlIaiNarBg.0", - "X-Azure-Ref" : "0Lb7DYAAAAAA3Y4WspaH/Q6d+HoHN+sCMWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-862f-28c5-593a0d00abcb\"}}", - "x-ms-client-request-id" : "f55a8619-ccf7-4ac4-a9cc-5cbf9b353896", + "X-Processing-Time" : "31ms", + "MS-CV" : "FnpnEajamE28hbsk0zWSjQ.0", + "X-Azure-Ref" : "0r4fLYAAAAAATlIMckYeLQaLaud8I7onBV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-a950-e3c7-593a0d00f77a\"}}", + "x-ms-client-request-id" : "29886c1a-71c6-4e2e-ae13-8bef20a7b56c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-85e8-28c5-593a0d00abca/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-a910-e3c7-593a0d00f779/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "176136e7-a1ae-4714-8d1f-0ec7f034345d", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:01 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:39 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "1koPnqrxVEaO45S3TNhFeA.0", - "X-Azure-Ref" : "0Lb7DYAAAAAD1wS/lv/lGSL5jaIJ6qOYiWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:00.7099186+00:00\"}", - "x-ms-client-request-id" : "176136e7-a1ae-4714-8d1f-0ec7f034345d", + "X-Processing-Time" : "36ms", + "MS-CV" : "X+ToNyasUka0gqS2Fq2z1w.0", + "X-Azure-Ref" : "0r4fLYAAAAAAnlyEbNS9OTYhk4FiMPAfqV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:38.514235+00:00\"}", + "x-ms-client-request-id" : "a3acd7a3-94e2-4328-b853-9dfeea49823f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "556b23f9-79c0-4d55-8d0f-bcc214f2b971", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "99edc78a-1175-47d8-99ca-e3f94f94cf1d", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:01 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:39 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "365ms", - "MS-CV" : "IFGmkU96XEqKhnMGXjNR5w.0", - "X-Azure-Ref" : "0Lb7DYAAAAABEP7/s8dcuR4jV2pBJf2GwWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:vhQz7Mm0rgMlTg2h0hqnEuoEkLJWehiRJfOYQg4Zewo1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:01Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-85e8-28c5-593a0d00abca\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-85e8-28c5-593a0d00abca\"}}}}", + "X-Processing-Time" : "707ms", + "MS-CV" : "l6CJW7WtvUyKsMwpWHj+Og.0", + "X-Azure-Ref" : "0r4fLYAAAAAAJGPbEuIY5SbxHLg7qCqfNV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:gKb1mDqedGhzFJ3CPYDrkGNlsXgnXn-UorVyjiJrw0k1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:39Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-a910-e3c7-593a0d00f779\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-a910-e3c7-593a0d00f779\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AvhQz7Mm0rgMlTg2h0hqnEuoEkLJWehiRJfOYQg4Zewo1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AgKb1mDqedGhzFJ3CPYDrkGNlsXgnXn-UorVyjiJrw0k1@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 2f0c12b2f4123..9a970c8296a45 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "f5f0e259-eb9f-4d03-b194-1bfd070f5fa2", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:21 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:59 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "7R5OH5bju0KP5mIWbWheeA.0", - "X-Azure-Ref" : "0Qb7DYAAAAACm1QTCr326S6Gjry00vVRgWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-d3d3-28c5-593a0d00abf4\"}}", - "x-ms-client-request-id" : "f5f0e259-eb9f-4d03-b194-1bfd070f5fa2", + "X-Processing-Time" : "66ms", + "MS-CV" : "cwX75t/rgUe0s/9TSm2ZOA.0", + "X-Azure-Ref" : "0w4fLYAAAAACMFPppT7h7SJ+aKtFENhzQV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f7ca-e3c7-593a0d00f7b4\"}}", + "x-ms-client-request-id" : "1d7b3174-823a-463c-b6ec-3cbd1131e380", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "4cd20a24-6f45-4b89-a885-cc0e17884dd3", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:21 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:59 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "la0GJ9jkOUutaLicxSgFCQ.0", - "X-Azure-Ref" : "0Qb7DYAAAAADZfhAUmXNrRpA9K+bkvCuwWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-d469-f6c7-593a0d00ab9e\"}}", - "x-ms-client-request-id" : "4cd20a24-6f45-4b89-a885-cc0e17884dd3", + "X-Processing-Time" : "29ms", + "MS-CV" : "NvnuDVK8jk+lwfu1usigFA.0", + "X-Azure-Ref" : "0w4fLYAAAAACTgBaLFvqURrFO/izXbsfvV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f807-e3c7-593a0d00f7b5\"}}", + "x-ms-client-request-id" : "1cb2d7db-9b56-4cf2-8f0d-c767ee96d69b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-d3d3-28c5-593a0d00abf4/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f7ca-e3c7-593a0d00f7b4/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "22485a3b-5caa-45dd-af40-fec14961231d", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:21 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:59 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "cK4AMFHyrEqjY3s3UtX2Hw.0", - "X-Azure-Ref" : "0Qb7DYAAAAAAVNTs07vgDRK6W6DjgpWoAWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:20.7382675+00:00\"}", - "x-ms-client-request-id" : "22485a3b-5caa-45dd-af40-fec14961231d", + "X-Processing-Time" : "43ms", + "MS-CV" : "2+NhfxagMEarsI0x0clphw.0", + "X-Azure-Ref" : "0w4fLYAAAAAAkp3noOpeVTq6iqE/YHoI4V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:58.6760888+00:00\"}", + "x-ms-client-request-id" : "c770ce45-ce98-4273-bee2-e65bd7d47683", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "45825bcf-5b53-4dec-b4cb-75c218e74f7f", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "0f59c16e-49c2-4832-9ca5-f56e4f8e0382", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:21 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:59 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "337ms", - "MS-CV" : "OpdGrVv6YUS/mNEYfcjtJQ.0", - "X-Azure-Ref" : "0Qb7DYAAAAABfscst6dNCR6jZ1Vz8BtQjWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:AaHvy4fOuzS3fDWZ9W4E9Dst_Rd7W6zlXxqd_zHMRG01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:21Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-d3d3-28c5-593a0d00abf4\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-d3d3-28c5-593a0d00abf4\"}}}}", + "X-Processing-Time" : "819ms", + "MS-CV" : "gLSn/i+P2EasjxpHvDCkfw.0", + "X-Azure-Ref" : "0w4fLYAAAAABNPZB4ih9BQZgZZrIrt6o4V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:4TYGIlk9QPzAyVTERNGxGui-oVj46rbqF41MSzSlGYY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:59Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f7ca-e3c7-593a0d00f7b4\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f7ca-e3c7-593a0d00f7b4\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AAaHvy4fOuzS3fDWZ9W4E9Dst_Rd7W6zlXxqd_zHMRG01@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A4TYGIlk9QPzAyVTERNGxGui-oVj46rbqF41MSzSlGYY1@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 cfa6f031528ac..7925ab7ff1449 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "41fd06a2-2951-4d15-8f03-2aee5381744a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:26 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:05 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "24ms", - "MS-CV" : "WdibKce4j0e0J1fQyoSLOg.0", - "X-Azure-Ref" : "0Rr7DYAAAAACA+qB2MviASbUIr+9U8HAlWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-e81b-f6c7-593a0d00aba4\"}}", - "x-ms-client-request-id" : "41fd06a2-2951-4d15-8f03-2aee5381744a", + "X-Processing-Time" : "77ms", + "MS-CV" : "jlgbBxpx8E2gEkWRwJX1cw.0", + "X-Azure-Ref" : "0yYfLYAAAAABBK+PDHCrEQpyJ+yUBq0dlV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-10a1-e3c7-593a0d00f7c0\"}}", + "x-ms-client-request-id" : "c7c7fb7d-231f-444f-9998-c57e5383be6e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "9ee0c1a4-6a8f-499e-9697-9c8485defe7a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:26 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:05 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "iFMXe49A+0SA93XTfgz4QA.0", - "X-Azure-Ref" : "0Rr7DYAAAAADxEudDb8lyQKzFug7070QcWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-e85a-28c5-593a0d00abfa\"}}", - "x-ms-client-request-id" : "9ee0c1a4-6a8f-499e-9697-9c8485defe7a", + "X-Processing-Time" : "32ms", + "MS-CV" : "3GREL7QTL0q4xOGk4MTOiw.0", + "X-Azure-Ref" : "0yYfLYAAAAADlbLQsaspqRIwXTpd11MuQV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-10df-e3c7-593a0d00f7c1\"}}", + "x-ms-client-request-id" : "1463c720-d725-4eb7-a77d-7a103c27fb85", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-e81b-f6c7-593a0d00aba4/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-10a1-e3c7-593a0d00f7c0/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "d2ae92fa-87e0-4c45-9982-e7fbce670988", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:26 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:05 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "ENIXRUX3dk+spPq2Uw5h1A.0", - "X-Azure-Ref" : "0Rr7DYAAAAADjAdCXt61VQKt7JJVBV8/UWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:25.8448392+00:00\"}", - "x-ms-client-request-id" : "d2ae92fa-87e0-4c45-9982-e7fbce670988", + "X-Processing-Time" : "70ms", + "MS-CV" : "Pe/hNvq3kkiVQoBWws3t9w.0", + "X-Azure-Ref" : "0yYfLYAAAAACjekkVlykWTaZlwVZXNhtOV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:05.0631857+00:00\"}", + "x-ms-client-request-id" : "70282ff3-13d1-4e39-b13d-8b74a2847dfa", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "338e2ed5-dcf0-4867-b5ad-d1421b3b3f1a", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "58d44957-2497-4290-b11a-d5c4350556e1", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:26 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:06 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "449ms", - "MS-CV" : "oIWJhi9RWUOYk7jiNFAG2A.0", - "X-Azure-Ref" : "0Rr7DYAAAAADMl6LFOMXuT683mZmjYqH5WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:xyhTukwAwNhwPucOnzOwjjgxVd5KcFYo5nuTl3RYNOk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:26Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-e81b-f6c7-593a0d00aba4\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-e81b-f6c7-593a0d00aba4\"}}}}", + "X-Processing-Time" : "578ms", + "MS-CV" : "EfTYV8Q+nEqx+YdSUfaRYQ.0", + "X-Azure-Ref" : "0yofLYAAAAAC+xkgCVO96QZodZ0aJ1XsWV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:SXkBEuaTcn4gQUAQScYQ88PNI7tQfwIP1PmH3JL305Q1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:06Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-10a1-e3c7-593a0d00f7c0\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-10a1-e3c7-593a0d00f7c0\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AxyhTukwAwNhwPucOnzOwjjgxVd5KcFYo5nuTl3RYNOk1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ASXkBEuaTcn4gQUAQScYQ88PNI7tQfwIP1PmH3JL305Q1@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 cc0ef4b5a4b15..680bc6cc22fba 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "7f718e72-189f-4cf0-ad9d-9677affad30f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:15 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "7UzGQRlpe0KoZ7m+z2ZIhQ.0", - "X-Azure-Ref" : "0O77DYAAAAABRqT8lmvmjT4651lbYOMkYWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-bc30-28c5-593a0d00abeb\"}}", - "x-ms-client-request-id" : "7f718e72-189f-4cf0-ad9d-9677affad30f", + "X-Processing-Time" : "29ms", + "MS-CV" : "AftGlV1ROUSZUYWExH1dtw.0", + "X-Azure-Ref" : "0vYfLYAAAAAB9nI6o//WLTaVA+fbygoCIV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e151-e3c7-593a0d00f7a7\"}}", + "x-ms-client-request-id" : "a6a4233d-2712-4b87-83e5-bc4f370babcb", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "2d896588-39f6-4262-8081-1061fcd3b22a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:15 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "20ms", - "MS-CV" : "4IDZJHEKuU+Q11VR+qqXaw.0", - "X-Azure-Ref" : "0O77DYAAAAAAhZ19OO79cQq1Z4NvMf+0FWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-bc74-f6c7-593a0d00ab97\"}}", - "x-ms-client-request-id" : "2d896588-39f6-4262-8081-1061fcd3b22a", + "X-Processing-Time" : "31ms", + "MS-CV" : "y4BGSdKuP0+iH+/hkYqggA.0", + "X-Azure-Ref" : "0vYfLYAAAAACJQZg8csnaSKTPqF+rtnp4V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e191-e3c7-593a0d00f7a8\"}}", + "x-ms-client-request-id" : "97a5a754-4892-4b3d-8db1-aeacdc19e340", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-bc30-28c5-593a0d00abeb/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e151-e3c7-593a0d00f7a7/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "104a4be1-8486-4e83-ad02-1e6bdb5116cc", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:15 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "45ms", - "MS-CV" : "zhQowTF3aEaRR0FkKYX6Kg.0", - "X-Azure-Ref" : "0O77DYAAAAABmxfdL0oRjT4bPQpsCog2eWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:14.6097609+00:00\"}", - "x-ms-client-request-id" : "104a4be1-8486-4e83-ad02-1e6bdb5116cc", + "X-Processing-Time" : "37ms", + "MS-CV" : "vU9pBKCpoEa0N561tlNCbA.0", + "X-Azure-Ref" : "0vYfLYAAAAAAKwzB+lgL9Qbr/HkvdDFbfV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:52.9196794+00:00\"}", + "x-ms-client-request-id" : "13196283-d66b-42d2-9532-0731f30506ab", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "dc786611-379c-4e7c-86f5-acd063d7f8da", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "15416d93-2897-44c5-a49b-920c8f0d038f", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:15 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "488ms", - "MS-CV" : "wNEIBkMNp0CL2Z7zwRzyuw.0", - "X-Azure-Ref" : "0O77DYAAAAACRJgb1VsLFQZgLijacT/+FWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:a1adLecXg6NH4aQg1hIBAO5fk0BaZ6cgQt_lMVw_OsA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:15Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-bc30-28c5-593a0d00abeb\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-bc30-28c5-593a0d00abeb\"}}}}", + "X-Processing-Time" : "531ms", + "MS-CV" : "YwzpTfcH3km3n0N5QcldXQ.0", + "X-Azure-Ref" : "0vYfLYAAAAAC/UqKWTnkdSJ1ejaxfSnvTV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:eM96_jVd1Lvfoan1mrBtlQyCAWgOuzhzMU90L4le7ZM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:54Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e151-e3c7-593a0d00f7a7\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e151-e3c7-593a0d00f7a7\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3Aa1adLecXg6NH4aQg1hIBAO5fk0BaZ6cgQt_lMVw_OsA1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AeM96_jVd1Lvfoan1mrBtlQyCAWgOuzhzMU90L4le7ZM1@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 7e2f775575e08..d6ecb420e6992 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "7878ad3e-1108-4cd2-b7fd-d90951ef1998", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:05 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:43 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "MVHRyZrlUESoD9T/3/Teeg.0", - "X-Azure-Ref" : "0Mb7DYAAAAACo7mdGiTT6QYfQnE6qGc+6WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-95ab-28c5-593a0d00abd6\"}}", - "x-ms-client-request-id" : "7878ad3e-1108-4cd2-b7fd-d90951ef1998", + "X-Processing-Time" : "60ms", + "MS-CV" : "+r7oyRYM4UGsNDTgMi7cbg.0", + "X-Azure-Ref" : "0tIfLYAAAAABCr8xUSB9qRIIJTZFTbZe0V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-bc04-e3c7-593a0d00f789\"}}", + "x-ms-client-request-id" : "9e5883c2-a6e9-4434-bb36-7b8570a8af8c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "c8c4c920-7d18-4eee-b6a8-768a9d1b5972", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:05 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:43 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "20ms", - "MS-CV" : "GU8dqxQyqU+fxtbhbvYhHA.0", - "X-Azure-Ref" : "0Mb7DYAAAAACtNZHcZ1EuQIRKV27kuPLqWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-95ec-28c5-593a0d00abd7\"}}", - "x-ms-client-request-id" : "c8c4c920-7d18-4eee-b6a8-768a9d1b5972", + "X-Processing-Time" : "32ms", + "MS-CV" : "HIU2kwLLOUqh/vKGaMswvw.0", + "X-Azure-Ref" : "0tIfLYAAAAABpiHzJt/2YSIcnw5i6RtwgV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-bc44-e3c7-593a0d00f78a\"}}", + "x-ms-client-request-id" : "114a0f7f-ec5c-49a4-8864-d49894446ead", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-95ab-28c5-593a0d00abd6/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-bc04-e3c7-593a0d00f789/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "2a3262f5-da7d-4db5-be41-ae1619628425", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:05 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:44 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "LKHKiDQYL0myn1N2IURMuw.0", - "X-Azure-Ref" : "0Mb7DYAAAAABLILlCgPndRamVDVk/iVnUWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:04.7390481+00:00\"}", - "x-ms-client-request-id" : "2a3262f5-da7d-4db5-be41-ae1619628425", + "X-Processing-Time" : "41ms", + "MS-CV" : "P+vzskQulU2QlgXZ5I0Qdg.0", + "X-Azure-Ref" : "0tIfLYAAAAADJlcjFyd/4Tr6ACLhVrhhkV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:43.3734766+00:00\"}", + "x-ms-client-request-id" : "9b9239a5-4935-494d-9058-a91c5b447f34", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "d3560097-9c89-4637-953d-492ee00fa8b6", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "10f47f1f-fd04-48eb-9b75-f6350c7bc388", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:05 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:44 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "373ms", - "MS-CV" : "5faW0KfQaUy9RwCiSvdvAg.0", - "X-Azure-Ref" : "0Mb7DYAAAAACk93KzG6H7Sojkw1EUW6eeWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:LAuQyCzWbNpJCZLZ5VGqJvwk-oaCRLR1-MlssRpK0Xc1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:05Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-95ab-28c5-593a0d00abd6\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-95ab-28c5-593a0d00abd6\"}}}}", + "X-Processing-Time" : "503ms", + "MS-CV" : "0cZPv1x61kieTjLnr37iww.0", + "X-Azure-Ref" : "0tIfLYAAAAABw6aX830HgSpCtRyBBylt4V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:wm4iEnVQYY3zh8oY8ouaVJX2yRTl31Sf7-fAuEyvcKQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:44Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-bc04-e3c7-593a0d00f789\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-bc04-e3c7-593a0d00f789\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3ALAuQyCzWbNpJCZLZ5VGqJvwk-oaCRLR1-MlssRpK0Xc1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Awm4iEnVQYY3zh8oY8ouaVJX2yRTl31Sf7-fAuEyvcKQ1@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 d5350ccc6d919..a70fea0c60bd3 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "661afbca-99d1-4b58-aa86-732493fb3fe2", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:06 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:44 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "LX4d1SRbG0CS18i69F5IsQ.0", - "X-Azure-Ref" : "0Mr7DYAAAAAD3H+mnbR/RSqdEEOcRXXGIWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-9868-28c5-593a0d00abd8\"}}", - "x-ms-client-request-id" : "661afbca-99d1-4b58-aa86-732493fb3fe2", + "X-Processing-Time" : "64ms", + "MS-CV" : "We3CGTelcE+TcnyFkrmmWw.0", + "X-Azure-Ref" : "0tIfLYAAAAADYSz6s+H+8QZNp+MGql9Z/V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-bf0d-e3c7-593a0d00f78b\"}}", + "x-ms-client-request-id" : "c2161b90-1b17-4d1c-9ddf-16101b13a977", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "18d9e474-236b-452d-8dde-d3d7dbf528c7", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:06 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:44 GMT", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "22ms", - "MS-CV" : "HIMTdjiu6Uis5cmd5xJzRA.0", - "X-Azure-Ref" : "0Mr7DYAAAAAAdQToXQIbnQLBBA6gkdsz8WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-98b9-28c5-593a0d00abd9\"}}", - "x-ms-client-request-id" : "18d9e474-236b-452d-8dde-d3d7dbf528c7", + "MS-CV" : "Km2gfJLxIEWa/Q+8W6IFSg.0", + "X-Azure-Ref" : "0tYfLYAAAAACXPmrMAAHBRZmUwds5X0qyV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-bf44-e3c7-593a0d00f78c\"}}", + "x-ms-client-request-id" : "37c274a5-32a2-4c52-9ca1-503c5af26737", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-9868-28c5-593a0d00abd8/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-bf0d-e3c7-593a0d00f78b/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "9ae97f87-82dc-410f-b6e6-3c5ae6b22971", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:06 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:44 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "a/VlsQ87X0G72Nu5OucCCw.0", - "X-Azure-Ref" : "0Mr7DYAAAAACQkSSR9LZgS6C85fS27e4ZWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:05.4549081+00:00\"}", - "x-ms-client-request-id" : "9ae97f87-82dc-410f-b6e6-3c5ae6b22971", + "X-Processing-Time" : "113ms", + "MS-CV" : "FppFfqgjekyOVBT8Ay+j4A.0", + "X-Azure-Ref" : "0tYfLYAAAAABFXQANYKL1SoPcPk0cB/GvV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:44.2113397+00:00\"}", + "x-ms-client-request-id" : "f9511b86-0d3c-4808-ac28-7c9ef90c4a4f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "0346e6b0-a2f5-44ff-b5f9-064f03ae723b", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "4212da2e-9de4-4476-809b-9a35086243a7", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:06 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "498ms", - "MS-CV" : "8+PEK7OpK0Gh5eldNu6eRA.0", - "X-Azure-Ref" : "0Mr7DYAAAAACHBxvXg9OcQYTG245fwuQMWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:Xok2oQqpSp-cvePN5GMaI8w6ej_Q3jxz2yKJSGuFTRk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:06Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-9868-28c5-593a0d00abd8\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-9868-28c5-593a0d00abd8\"}}}}", + "X-Processing-Time" : "628ms", + "MS-CV" : "NA4k1a85NkugzrB++uu/IQ.0", + "X-Azure-Ref" : "0tYfLYAAAAACOj5HCfdyJRpIvsQrVirp7V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:4F-KwDaiiFsGUzDkuImzhSQ64XK_AtQf9j2r-6Bg48E1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:45Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-bf0d-e3c7-593a0d00f78b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-bf0d-e3c7-593a0d00f78b\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AXok2oQqpSp-cvePN5GMaI8w6ej_Q3jxz2yKJSGuFTRk1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A4F-KwDaiiFsGUzDkuImzhSQ64XK_AtQf9j2r-6Bg48E1@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 5e7828729a76d..f1097f5b13c59 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "e95cff65-59bc-4010-967c-ba731ba3ab4f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:28 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:09 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "20ms", - "MS-CV" : "na5VSiHFCUmdy1RVrIuVkw.0", - "X-Azure-Ref" : "0Sb7DYAAAAABtrvt9vO+zQJPgvxCQpeFtWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-f1b2-28c5-593a0d00abfd\"}}", - "x-ms-client-request-id" : "e95cff65-59bc-4010-967c-ba731ba3ab4f", + "X-Processing-Time" : "58ms", + "MS-CV" : "GdTw0IvFnU2PSjiFNP6Raw.0", + "X-Azure-Ref" : "0zYfLYAAAAAA7M3rbcRXAQ64kyqLU61uEV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-1ff1-e3c7-593a0d00f7c9\"}}", + "x-ms-client-request-id" : "0e4ee7f7-c306-4168-a754-965d719ebf4c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "6a42cdbc-b0a6-43a9-a5aa-87b3f08be661", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:28 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:09 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "24ms", - "MS-CV" : "N+Jxv/edhU2f+lLuX1OEYA.0", - "X-Azure-Ref" : "0Sb7DYAAAAAAVy0DJMYLrSq7Oib0a5JR/WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-f1f7-f6c7-593a0d00aba7\"}}", - "x-ms-client-request-id" : "6a42cdbc-b0a6-43a9-a5aa-87b3f08be661", + "X-Processing-Time" : "36ms", + "MS-CV" : "09Xe7APF5kO10BEE4y41nA.0", + "X-Azure-Ref" : "0zYfLYAAAAABa05xUUi0kT653RlP4K+1YV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-2069-e3c7-593a0d00f7ca\"}}", + "x-ms-client-request-id" : "e116390c-7e04-48f5-9607-6de1111695b4", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-f1b2-28c5-593a0d00abfd/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-1ff1-e3c7-593a0d00f7c9/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "a2e3e9e3-5b81-4a6b-8bff-970b0cfdbfda", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:28 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:09 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "OoniY1PYqUygqIHVEh4o4A.0", - "X-Azure-Ref" : "0Sb7DYAAAAABbLzqVN89HQqnvb0NJdh1iWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:28.2893675+00:00\"}", - "x-ms-client-request-id" : "a2e3e9e3-5b81-4a6b-8bff-970b0cfdbfda", + "X-Processing-Time" : "108ms", + "MS-CV" : "CG0tSdZNQk+xpz/9MKdWVA.0", + "X-Azure-Ref" : "0zYfLYAAAAABB8Y/MRoZrRZ/3hc+R/hBCV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:09.079727+00:00\"}", + "x-ms-client-request-id" : "669bbb18-5dec-4b9f-b1be-d5b61ac1361c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "f1462b38-d768-4137-899d-d83b00aede55", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "570f9a33-eac2-4624-afd4-ac5f12ffea43", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:29 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:10 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "332ms", - "MS-CV" : "vMYEfhbk70eobEDNVCzN0w.0", - "X-Azure-Ref" : "0Sb7DYAAAAAB91uobyrjGTaFV6fpVs7QaWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:Drl4pm6Fx_qb4aVtahN5zxGrUWL0TjK_eMUtgomM7WY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:29Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-f1b2-28c5-593a0d00abfd\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-f1b2-28c5-593a0d00abfd\"}}}}", + "X-Processing-Time" : "559ms", + "MS-CV" : "2M7y+WZtvkiHQUXczJ0ySA.0", + "X-Azure-Ref" : "0zofLYAAAAAB1j1t+JwFYQoGn0hYLLFyCV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:EuvaL1n_yKA9K37UNm3LR1qR-mrpdVw513W-_cGUTkU1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:10Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-1ff1-e3c7-593a0d00f7c9\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-1ff1-e3c7-593a0d00f7c9\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3ADrl4pm6Fx_qb4aVtahN5zxGrUWL0TjK_eMUtgomM7WY1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AEuvaL1n_yKA9K37UNm3LR1qR-mrpdVw513W-_cGUTkU1@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 5899bd97035d7..dcd569b6acb5b 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "2783b157-a72a-43d3-97dd-6085336fedec", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:19 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:58 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "20ms", - "MS-CV" : "d8VyoHPa4UabzOVYUdFCXw.0", - "X-Azure-Ref" : "0QL7DYAAAAABIeyNQR897Rbq4avLYy8/8WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-ce83-f6c7-593a0d00ab9d\"}}", - "x-ms-client-request-id" : "2783b157-a72a-43d3-97dd-6085336fedec", + "X-Processing-Time" : "57ms", + "MS-CV" : "eYYS9xVqhk+UZO25wImM4A.0", + "X-Azure-Ref" : "0wofLYAAAAADCUMIhRQJgR49v/b0+5bkNV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f412-e3c7-593a0d00f7b2\"}}", + "x-ms-client-request-id" : "0219d532-8b42-4c0d-87f9-52a1a267130d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "d10649be-a711-49fd-9273-80ad1fba3de6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:19 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:58 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "qon0nTRAZkmQqAm/6lntsg.0", - "X-Azure-Ref" : "0QL7DYAAAAAA8WvBH6ViMQpLug5u1dNIIWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-cecd-28c5-593a0d00abf0\"}}", - "x-ms-client-request-id" : "d10649be-a711-49fd-9273-80ad1fba3de6", + "X-Processing-Time" : "65ms", + "MS-CV" : "WsPclzdyqUSvGSDBEIt1cQ.0", + "X-Azure-Ref" : "0wofLYAAAAADPxQiN6W3yQZ/687oqA5y0V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f47a-e3c7-593a0d00f7b3\"}}", + "x-ms-client-request-id" : "6c4a96d7-0a51-49a3-a78e-85ef0f4ed94d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-ce83-f6c7-593a0d00ab9d/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f412-e3c7-593a0d00f7b2/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "7eec7aee-78d6-4f36-a09c-2710b9e8d702", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:19 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:58 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "d7yiej6mA06SnAn6yXXcmg.0", - "X-Azure-Ref" : "0QL7DYAAAAAA48YH0KA8lS6Fxtzff1VTLWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:19.2897882+00:00\"}", - "x-ms-client-request-id" : "7eec7aee-78d6-4f36-a09c-2710b9e8d702", + "X-Processing-Time" : "117ms", + "MS-CV" : "mpolEkH6cEiUHzQnq4Uc/w.0", + "X-Azure-Ref" : "0wofLYAAAAACS4r31b567RrTVY40nwABjV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:57.846387+00:00\"}", + "x-ms-client-request-id" : "25d6fdcf-b214-4185-8194-389480264031", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "cac29b6d-d3f6-476c-9302-e0a943f04c93", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "885e9f4f-0315-454a-be56-675cc9fd8c30", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:20 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:58 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "1055ms", - "MS-CV" : "3jBONUcsVEqQxE4ZZfh4YA.0", - "X-Azure-Ref" : "0QL7DYAAAAAA2/i7hfhWXRZo4hLh3fa4qWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:4AjCFRTCGT9xx3nmiAuepd6EbPU3ngFZiQFwnFtiHq41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:20Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-ce83-f6c7-593a0d00ab9d\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-ce83-f6c7-593a0d00ab9d\"}}}}", + "X-Processing-Time" : "540ms", + "MS-CV" : "lW9zx3cEfEKjHDj7FAjOFg.0", + "X-Azure-Ref" : "0wofLYAAAAADMhpxlDIZHTpfdGUEnfjNeV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:98dxjz-o-epdJUXr7UK-Kw5wWJUuAHuTE_bIaTu6odo1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:58Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f412-e3c7-593a0d00f7b2\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f412-e3c7-593a0d00f7b2\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3A4AjCFRTCGT9xx3nmiAuepd6EbPU3ngFZiQFwnFtiHq41@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A98dxjz-o-epdJUXr7UK-Kw5wWJUuAHuTE_bIaTu6odo1@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 99098a5f2a242..217613dfd9e26 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "f32f1529-af63-4808-afc7-c3bd312ea215", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:58 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:32 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "tNr3OLdrSkGXXWoSp/5YKA.0", - "X-Azure-Ref" : "0Kr7DYAAAAADHYgbWVWy4Q7gAmrxSwSDJWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-79f7-28c5-593a0d00abc3\"}}", - "x-ms-client-request-id" : "f32f1529-af63-4808-afc7-c3bd312ea215", + "X-Processing-Time" : "33ms", + "MS-CV" : "5ErLLmj2YUeEdvPUJtZ0gw.0", + "X-Azure-Ref" : "0qYfLYAAAAAAUlQiMa64lTbBMrnaJdCyKV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-91e5-e3c7-593a0d00f771\"}}", + "x-ms-client-request-id" : "03fa267e-63ba-454e-b1f6-1911face0cc0", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "3e1819c9-6ae5-4b6c-b43d-f5b5b4661e73", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:58 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "BCG89beY00O3CmcuFMU/nQ.0", - "X-Azure-Ref" : "0Kr7DYAAAAADzAJTAI28NR5BMv45bLQAhWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-7a3e-28c5-593a0d00abc4\"}}", - "x-ms-client-request-id" : "3e1819c9-6ae5-4b6c-b43d-f5b5b4661e73", + "X-Processing-Time" : "71ms", + "MS-CV" : "BMgDDRW/akqA74VmQqWPwQ.0", + "X-Azure-Ref" : "0qYfLYAAAAADgCOyKaykPQ7rTJQvUPKKgV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-9269-e3c7-593a0d00f772\"}}", + "x-ms-client-request-id" : "87a35656-123e-48a9-acdb-b44dc32949ff", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-79f7-28c5-593a0d00abc3/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-91e5-e3c7-593a0d00f771/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "d7c17f9a-1465-4f11-8023-9be3a799d783", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:48:58 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "E7ZAsfsFYEiQ2DTSgVU2ww.0", - "X-Azure-Ref" : "0Kr7DYAAAAAAMJsBfrZgLTrDLM1RoPPX0WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:57.6492835+00:00\"}", - "x-ms-client-request-id" : "d7c17f9a-1465-4f11-8023-9be3a799d783", + "X-Processing-Time" : "41ms", + "MS-CV" : "iBuG9beqqkq+GvuY4BY5rQ.0", + "X-Azure-Ref" : "0qYfLYAAAAAA0in+j0algTrh3I6lVYi/7V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:32.6642815+00:00\"}", + "x-ms-client-request-id" : "8d396d01-dce9-4ad2-8b56-566570430b56", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "a5fd910a-18e8-475c-98c4-c60d68f1c3ae", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "01285b7d-b80d-40c6-9b55-cbf9e47308fb", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:48:59 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "630ms", - "MS-CV" : "UiKumkzSO0KBOza3StDewg.0", - "X-Azure-Ref" : "0Kr7DYAAAAAB0wfv7uC4ATZpAxWDyeo4nWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:DeWRgrwjegv6Y1x0sV8saIDtwaXs6i3cVRNas-NuKps1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:48:58Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-79f7-28c5-593a0d00abc3\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-79f7-28c5-593a0d00abc3\"}}}}", + "X-Processing-Time" : "455ms", + "MS-CV" : "u8rng8FPJUSJZVXOBSixRw.0", + "X-Azure-Ref" : "0qYfLYAAAAADWMG5LUqyBTYhBL4A18EbCV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:aqbP-KM_rdOINUnL6JBigyMX8nbFZNI3VJQ0CbnCf941@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:33Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-91e5-e3c7-593a0d00f771\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-91e5-e3c7-593a0d00f771\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3ADeWRgrwjegv6Y1x0sV8saIDtwaXs6i3cVRNas-NuKps1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AaqbP-KM_rdOINUnL6JBigyMX8nbFZNI3VJQ0CbnCf941@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 405f487d1b95d..bc7801caaaf75 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "9d733cb9-a7a6-44aa-93c9-43b0eba27489", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:23 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:01 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "CV9XrHDDKU6PDX4KtdGwjw.0", - "X-Azure-Ref" : "0Q77DYAAAAAAYgl/w9qGZTLXmeZ7rhZ76WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-dc47-28c5-593a0d00abf7\"}}", - "x-ms-client-request-id" : "9d733cb9-a7a6-44aa-93c9-43b0eba27489", + "X-Processing-Time" : "23ms", + "MS-CV" : "3+X5mXJMPUCZJCH5WXEgow.0", + "X-Azure-Ref" : "0xYfLYAAAAAAk3h0SJ4UeTY9AU3ZddhhhV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-0110-e3c7-593a0d00f7b8\"}}", + "x-ms-client-request-id" : "5ec6871c-348a-4bd2-989d-04b09128e9a6", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "ae318bdd-35ce-4f9c-aabe-d5ec72c9c0b7", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:23 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:01 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "2HGg98nXgUe4JVRDly4aww.0", - "X-Azure-Ref" : "0Q77DYAAAAABKuHqo3dkHRZ1sg3zQS8PbWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-dc8a-f6c7-593a0d00aba0\"}}", - "x-ms-client-request-id" : "ae318bdd-35ce-4f9c-aabe-d5ec72c9c0b7", + "X-Processing-Time" : "32ms", + "MS-CV" : "HfVxBL/OCkKbxWiNZhMtbQ.0", + "X-Azure-Ref" : "0xYfLYAAAAAADG68ZgQuBQ5xwkC0NQocxV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-0164-e3c7-593a0d00f7b9\"}}", + "x-ms-client-request-id" : "e973d554-b1a7-4993-8c1c-d1571eb3d1a7", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-dc47-28c5-593a0d00abf7/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-0110-e3c7-593a0d00f7b8/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "f80d133a-ef76-4af3-86b2-aa2af319fe22", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:23 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:01 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "zPqCBLkigESvQ7SVMKyRnw.0", - "X-Azure-Ref" : "0Q77DYAAAAAAQa7ofiK2vRbjam+3k1saEWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:22.7997167+00:00\"}", - "x-ms-client-request-id" : "f80d133a-ef76-4af3-86b2-aa2af319fe22", + "X-Processing-Time" : "38ms", + "MS-CV" : "zeYDGEznHEWH4JIHCwQqhg.0", + "X-Azure-Ref" : "0xofLYAAAAABlKwjNzAZARqO57SjNAB/rV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:01.0667309+00:00\"}", + "x-ms-client-request-id" : "02a2e9ad-1c5c-4cf5-b796-5cc489b943cf", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "9d68145d-24ad-4593-8a68-01c58176c95b", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "dc91370e-64d8-482c-8d11-2bcc04da8343", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:23 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "506ms", - "MS-CV" : "NheZrcgUdUeV+nNUpwrDIQ.0", - "X-Azure-Ref" : "0Q77DYAAAAAB1X6axuLLUQIpNkmWumTj9WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:Bk7vwb3MywkFWcpbdQysOdLvDJxuUnTj4DGWjW7rnA41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:23Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-dc47-28c5-593a0d00abf7\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-dc47-28c5-593a0d00abf7\"}}}}", + "X-Processing-Time" : "854ms", + "MS-CV" : "9pvZYzU5G0S6Q/5J23Xz+g.0", + "X-Azure-Ref" : "0xofLYAAAAAD8gOPnsa1+TJGzZY+3lmshV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:BkS5oECGuSpTOIVMr5uagh7ufkT4-eKnNeMSR6kj0Ao1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:02Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-0110-e3c7-593a0d00f7b8\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-0110-e3c7-593a0d00f7b8\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3ABk7vwb3MywkFWcpbdQysOdLvDJxuUnTj4DGWjW7rnA41@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ABkS5oECGuSpTOIVMr5uagh7ufkT4-eKnNeMSR6kj0Ao1@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 f7787a8d252ac..2284fadb1d16b 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "f858402b-8a5d-4139-81e7-ec4a16d1a75a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:00 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:34 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "25ms", - "MS-CV" : "LdRfHm588EWx631XlJ8Yfg.0", - "X-Azure-Ref" : "0LL7DYAAAAAB0UAdurtxCSLD35d9w4piiWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-8241-28c5-593a0d00abc8\"}}", - "x-ms-client-request-id" : "f858402b-8a5d-4139-81e7-ec4a16d1a75a", + "X-Processing-Time" : "43ms", + "MS-CV" : "hfqFdQFYckyk9IIpGkVM9w.0", + "X-Azure-Ref" : "0q4fLYAAAAADz5wGRg0n9T4ju3Fn8Yu3FV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-99db-e3c7-593a0d00f775\"}}", + "x-ms-client-request-id" : "150e1668-4197-4213-be2b-65633c729b43", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "a90a02c3-5405-43ec-b750-2cbf57def25b", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:00 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:36 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "8+iyfYY1MkiWi0p7C+lHeA.0", - "X-Azure-Ref" : "0LL7DYAAAAAAqZroRbGoVQqjcEWq7I9vzWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-82a9-28c5-593a0d00abc9\"}}", - "x-ms-client-request-id" : "a90a02c3-5405-43ec-b750-2cbf57def25b", + "X-Processing-Time" : "32ms", + "MS-CV" : "Vdxj2779rkepq4tsWQqGxw.0", + "X-Azure-Ref" : "0rIfLYAAAAAB1t7xRsOQbSLXLgak598YhV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-9da0-e3c7-593a0d00f776\"}}", + "x-ms-client-request-id" : "9c517431-1080-4200-9234-95b89c250afe", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-8241-28c5-593a0d00abc8/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-99db-e3c7-593a0d00f775/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "8c1430e1-7f39-46eb-87d2-2e2ba03a8856", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:00 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:36 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "arLyXJTbiUi77C6PNTZFRg.0", - "X-Azure-Ref" : "0LL7DYAAAAAA/cJ3A8NMsSbh0MJsIKLabWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:48:59.8284467+00:00\"}", - "x-ms-client-request-id" : "8c1430e1-7f39-46eb-87d2-2e2ba03a8856", + "X-Processing-Time" : "62ms", + "MS-CV" : "lNG1OA8hw06Wj63a4y/tIw.0", + "X-Azure-Ref" : "0rIfLYAAAAAD6pbhAFl/kTYXHzu7b9KofV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:35.5480299+00:00\"}", + "x-ms-client-request-id" : "f4b49ec2-e525-47d5-a41d-4403aaea5cd3", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "bfeef53c-7885-41ca-a508-38af06e94f29", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "11e51edd-ac7e-4b74-8afb-23dbcd1c82af", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:01 GMT", + "Date" : "Thu, 17 Jun 2021 17:34:36 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "525ms", - "MS-CV" : "EJfSL8GxkU+rid3yGXq18g.0", - "X-Azure-Ref" : "0LL7DYAAAAAB3EEzK1kP6QY8O0DRLBBl7WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:MGFIJt7oDQvcX2TjfYAbRNCXncbaD1IAyqyASdv4aUY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:00Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-8241-28c5-593a0d00abc8\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-8241-28c5-593a0d00abc8\"}}}}", + "X-Processing-Time" : "455ms", + "MS-CV" : "wKvmjY+GgkKZYW8sL1u4yA.0", + "X-Azure-Ref" : "0rIfLYAAAAAD45cjCv2CsTKDZZYqIZ0FbV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:TIFniMLlPagVGOK_sBxMF4ob7VzpkTUQGeoKCewsdQ41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:36Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-99db-e3c7-593a0d00f775\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-99db-e3c7-593a0d00f775\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AMGFIJt7oDQvcX2TjfYAbRNCXncbaD1IAyqyASdv4aUY1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ATIFniMLlPagVGOK_sBxMF4ob7VzpkTUQGeoKCewsdQ41@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 0d5e51f619de9..32bf268f70128 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "fdd317a0-f333-40ea-9f0a-615c2915f89e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:31 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:12 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "6FSCCQlgXU2cp68guZcgAg.0", - "X-Azure-Ref" : "0TL7DYAAAAAAmpHh1OmHNRatKN7E1JprwWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-fd92-f6c7-593a0d00abad\"}}", - "x-ms-client-request-id" : "fdd317a0-f333-40ea-9f0a-615c2915f89e", + "X-Processing-Time" : "31ms", + "MS-CV" : "TY+KXUXTa0qr2FFOZc0OAg.0", + "X-Azure-Ref" : "00YfLYAAAAADy+YX1LDfBQruy5/Pp4MXYV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-2d4e-e3c7-593a0d00f7d4\"}}", + "x-ms-client-request-id" : "f59c5671-3d8e-40a2-b86d-ffbcc8c531c5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "94cc16b0-d665-4767-bab3-92fb8d6681f9", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,23 +36,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:31 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:12 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "r7gAVWy6+Uy3+syWHvu7nA.0", - "X-Azure-Ref" : "0TL7DYAAAAABd9LxVzDISTanWxrSuR366WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-fdd1-f6c7-593a0d00abae\"}}", - "x-ms-client-request-id" : "94cc16b0-d665-4767-bab3-92fb8d6681f9", + "X-Processing-Time" : "57ms", + "MS-CV" : "aAJ/isTLiU6Ak+5MT1kywA.0", + "X-Azure-Ref" : "00YfLYAAAAABH03VfOqYERoopKyNZSmBIV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-2da7-e3c7-593a0d00f7d5\"}}", + "x-ms-client-request-id" : "1b0411f4-d315-402f-9f62-84254b0d8cfd", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-fd92-f6c7-593a0d00abad/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-2d4e-e3c7-593a0d00f7d4/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "cc82a968-5014-40e6-850c-edf72ff1fc16", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:31 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:13 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "rdk4ErfjnUm3mnn0mT2IXA.0", - "X-Azure-Ref" : "0TL7DYAAAAACX0EG3NdarQK4xOgN3hizkWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:31.3226132+00:00\"}", - "x-ms-client-request-id" : "cc82a968-5014-40e6-850c-edf72ff1fc16", + "X-Processing-Time" : "37ms", + "MS-CV" : "MXX0kpKtDkOCZihM317wzw.0", + "X-Azure-Ref" : "00YfLYAAAAABSQMt6Et8oQ4XlWWjHYS9wV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:12.3983462+00:00\"}", + "x-ms-client-request-id" : "68d86f7b-d3bc-4ad7-ba3a-fc234f3ef5cf", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "d2682b02-eeb6-435d-93d8-8018bbb485a3", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "676f2de7-3dad-4284-ac89-64ce6bea772f", "Content-Type" : "application/json" }, "Response" : { @@ -88,14 +85,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:32 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:13 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "530ms", - "MS-CV" : "IxWZ30egjU2DMh2zpY0L9Q.0", - "X-Azure-Ref" : "0TL7DYAAAAADc/7A8SneZRbHbxM7OJHY1WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:WBTzxo5iPEY4LRs7kTUsCVqoWIObqsilPRoiZCqFI441@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:32Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-fd92-f6c7-593a0d00abad\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c80-fd92-f6c7-593a0d00abad\"}}}}", + "X-Processing-Time" : "650ms", + "MS-CV" : "zwCxPNdm4U2gl5TKktJRAQ.0", + "X-Azure-Ref" : "00YfLYAAAAABNNal7d2ZAR79PzLOZNnG9V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:HPiE-yvierx0Gg_b0fzWwIVp78ABsaDvva66ooFpqCA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:13Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-2d4e-e3c7-593a0d00f7d4\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-2d4e-e3c7-593a0d00f7d4\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AWBTzxo5iPEY4LRs7kTUsCVqoWIObqsilPRoiZCqFI441@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AHPiE-yvierx0Gg_b0fzWwIVp78ABsaDvva66ooFpqCA1@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 d3aaddf3ff275..37e95de0dc00c 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 @@ -3,8 +3,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "53ad2855-7e53-44c4-805e-4974cd9c14ae", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "f8f6474d-45fe-48e1-92a3-542689445dc0", "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 120d88771806c..35bbc02e46de6 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "ac74e464-71ae-48e8-b9ab-267da64faf24", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:11 GMT", + "Date" : "Thu, 17 Jun 2021 17:36:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "24ms", - "MS-CV" : "GNQJ5CltVUK3vcCnEL1v7g.0", - "X-Azure-Ref" : "0c77DYAAAAAALw2oRAj5KQ70oh9agSdCEWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-95e3-28c5-593a0d00ac6c\"}}", - "x-ms-client-request-id" : "ac74e464-71ae-48e8-b9ab-267da64faf24", + "X-Processing-Time" : "39ms", + "MS-CV" : "7Glx2akSxEKdjCQb5vWbUg.0", + "X-Azure-Ref" : "0AIjLYAAAAABynw5Jv0KFTIoQ2fk+JiqFV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-e743-e3c7-593a0d00f83a\"}}", + "x-ms-client-request-id" : "7b1e3a51-d14b-4386-bf34-4f025f89650a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "7dd7492f-d437-4f5e-9890-aeb8ec917d49", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,13 +36,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:11 GMT", + "Date" : "Thu, 17 Jun 2021 17:36:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "twS0x3twdUOMZnJKY1AA4Q.0", - "X-Azure-Ref" : "0c77DYAAAAACshAtsDiZQQJcsSGLhOsPrWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-962a-28c5-593a0d00ac6d\"}}", - "x-ms-client-request-id" : "7dd7492f-d437-4f5e-9890-aeb8ec917d49", + "X-Processing-Time" : "32ms", + "MS-CV" : "SacpPPcIh0eZGQQeNTsuaA.0", + "X-Azure-Ref" : "0AIjLYAAAAABPjw7BZZJpR4BIWuiJ0DV4V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-e7a3-99c6-593a0d00cc5d\"}}", + "x-ms-client-request-id" : "aa566969-14ab-403e-b6bc-e0dd4dbe7dd2", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,8 +51,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "a4d29bc9-cda7-4ad2-8d2f-066bbd301982", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:11 GMT", + "Date" : "Thu, 17 Jun 2021 17:36:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "OxZJkVFswUCvk08q9obbTw.0", - "X-Azure-Ref" : "0c77DYAAAAACG1TeAoAX4SLsG5SRom+t2WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-967f-28c5-593a0d00ac6e\"}}", - "x-ms-client-request-id" : "a4d29bc9-cda7-4ad2-8d2f-066bbd301982", + "X-Processing-Time" : "31ms", + "MS-CV" : "kOGXY7IP0EqQ3AFjQSChcg.0", + "X-Azure-Ref" : "0AIjLYAAAAAC2boDmHdK/QbODDJ0rgWWLV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-e7e2-e3c7-593a0d00f83b\"}}", + "x-ms-client-request-id" : "812fc142-707c-4e2f-b905-e3b130f4f4a9", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "bdf91c68-8084-42ee-aad9-abfcdd570082", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -88,23 +84,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:11 GMT", + "Date" : "Thu, 17 Jun 2021 17:36:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "0SsXsCr21UOk2iudjjOlbw.0", - "X-Azure-Ref" : "0c77DYAAAAADQ9ihvDuNGSaNoLZg8SRvfWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-96c8-28c5-593a0d00ac6f\"}}", - "x-ms-client-request-id" : "bdf91c68-8084-42ee-aad9-abfcdd570082", + "X-Processing-Time" : "32ms", + "MS-CV" : "VrFoVsxTKEOiwbGd2p1CHA.0", + "X-Azure-Ref" : "0AYjLYAAAAADVZA5uvH5QS6aGl4jo3xSnV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-e826-e3c7-593a0d00f83c\"}}", + "x-ms-client-request-id" : "58d2ac9c-66ad-4ce3-b089-678b511bce77", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-95e3-28c5-593a0d00ac6c/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-e743-e3c7-593a0d00f83a/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "c44276c4-3283-452a-87c1-a07652087b15", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -113,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:50:11 GMT", + "Date" : "Thu, 17 Jun 2021 17:36:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "25ms", - "MS-CV" : "QncV+KDBzkqq6VPuiAUA2A.0", - "X-Azure-Ref" : "0c77DYAAAAADtJ4qOdLD/T5EhHZzJ1iyPWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:50:10.4887587+00:00\"}", - "x-ms-client-request-id" : "c44276c4-3283-452a-87c1-a07652087b15", + "X-Processing-Time" : "36ms", + "MS-CV" : "1shSl6sJaEi0Gc7UOUH4xQ.0", + "X-Azure-Ref" : "0AYjLYAAAAAAVyupqSR9yTaEnpDxYzB1XV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:36:00.1389381+00:00\"}", + "x-ms-client-request-id" : "88b28faa-75fa-4bdb-ac5b-e4e7f0a0dedf", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -128,8 +123,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "4e2ed059-7d41-4988-9c3d-dec87b13c6b4", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "b489e149-af5e-4bcb-8fce-ff7695e7bf6a", "Content-Type" : "application/json" }, "Response" : { @@ -138,22 +133,21 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:12 GMT", + "Date" : "Thu, 17 Jun 2021 17:36:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "708ms", - "MS-CV" : "YDGzFmD2sEWQPY7+8X5DGQ.0", - "X-Azure-Ref" : "0c77DYAAAAAAOEDLzzIi/Ta7JQWmZfnDVWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:cRXpprKmzbBLMT_UsSdwq1H2FflhSDCu2okurDJsKBw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:50:11Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-95e3-28c5-593a0d00ac6c\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-95e3-28c5-593a0d00ac6c\"}}}}", + "X-Processing-Time" : "506ms", + "MS-CV" : "33IikpYww0u9A+sOOUzMHg.0", + "X-Azure-Ref" : "0AYjLYAAAAADT7uOPXE5OT4YQ8hu39UYwV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:078N79rHTozyZuDTs7ujfalOiaC664Ec2_inGMi46D81@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:36:01Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-e743-e3c7-593a0d00f83a\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-e743-e3c7-593a0d00f83a\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AcRXpprKmzbBLMT_UsSdwq1H2FflhSDCu2okurDJsKBw1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A078N79rHTozyZuDTs7ujfalOiaC664Ec2_inGMi46D81@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.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "c0be3973-f78b-4b21-b9cf-69a97a5b7508", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -162,13 +156,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:12 GMT", + "Date" : "Thu, 17 Jun 2021 17:36:01 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "HHEs+7n0vES2lLEU4wJhKA.0", - "X-Azure-Ref" : "0dL7DYAAAAADYWyb8shJLTaMLz7dIPuFcWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-9a5a-28c5-593a0d00ac70\"}}", - "x-ms-client-request-id" : "c0be3973-f78b-4b21-b9cf-69a97a5b7508", + "X-Processing-Time" : "32ms", + "MS-CV" : "uz95WtMC60i+soh/QlhRPw.0", + "X-Azure-Ref" : "0AYjLYAAAAABdMTdrIw86S4kI0JiKsni+V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-eac7-e3c7-593a0d00f83d\"}}", + "x-ms-client-request-id" : "b7dd5322-ede0-434b-9ab9-4c3ba6137601", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -177,8 +171,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "156f0b39-7723-4d8b-8878-c2e933ae0dae", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -187,23 +180,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:12 GMT", + "Date" : "Thu, 17 Jun 2021 17:36:01 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "ioFImPlF2U2JTgiyMb5BNw.0", - "X-Azure-Ref" : "0dL7DYAAAAACnLUesTEwrSbZD+4GjdVUOWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-9aa2-28c5-593a0d00ac71\"}}", - "x-ms-client-request-id" : "156f0b39-7723-4d8b-8878-c2e933ae0dae", + "X-Processing-Time" : "38ms", + "MS-CV" : "ltS1IM4EyUmArxBf/bWXnQ.0", + "X-Azure-Ref" : "0AYjLYAAAAADXs4Psx3D4T4INrOTv0ty6V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-eb0b-99c6-593a0d00cc5e\"}}", + "x-ms-client-request-id" : "d35e2ca4-9659-438b-bdd5-c8e33faafd35", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:cRXpprKmzbBLMT_UsSdwq1H2FflhSDCu2okurDJsKBw1@thread.v2/participants/:add?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:078N79rHTozyZuDTs7ujfalOiaC664Ec2_inGMi46D81@thread.v2/participants/:add?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "cc86f2f5-0212-441d-b4ed-738c58ea4771", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "12ef8f70-e288-4276-8fcd-af6f1e327f7a", "Content-Type" : "application/json" }, "Response" : { @@ -211,76 +204,76 @@ "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", - "X-Processing-Time" : "226ms", - "MS-CV" : "llgzh5t6dEiGLFTRcJ4qWw.0", + "X-Processing-Time" : "287ms", + "MS-CV" : "3MFlXj9SfEaKW7uy0VeFsw.0", "retry-after" : "0", - "X-Azure-Ref" : "0dL7DYAAAAADCU60ob9YSToxgYHA6GpQJWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0AYjLYAAAAADlJTUa1Lj1QKycMbV0whkyV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "201", "Body" : "{}", - "Date" : "Fri, 11 Jun 2021 19:50:12 GMT", + "Date" : "Thu, 17 Jun 2021 17:36:01 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:cRXpprKmzbBLMT_UsSdwq1H2FflhSDCu2okurDJsKBw1@thread.v2/participants?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:078N79rHTozyZuDTs7ujfalOiaC664Ec2_inGMi46D81@thread.v2/participants?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "94440483-2b04-420b-80fd-966944053209" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "0f5c4f73-d67f-4fb9-9435-e0c7e0968a57" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "93ms", - "MS-CV" : "HfUf4ROMZke2yqopFTudjA.0", + "X-Processing-Time" : "127ms", + "MS-CV" : "tPPUMkAfK0KP052JGIgBgA.0", "retry-after" : "0", - "X-Azure-Ref" : "0dL7DYAAAAAAUNVQBNMcyRpMBSTByNhjBWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0AojLYAAAAAAPSZmrIdJCT5uqpjF1kmiLV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-95e3-28c5-593a0d00ac6c\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-95e3-28c5-593a0d00ac6c\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-962a-28c5-593a0d00ac6d\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-962a-28c5-593a0d00ac6d\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-9a5a-28c5-593a0d00ac70\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-9a5a-28c5-593a0d00ac70\"}},\"displayName\":\"Added Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-9aa2-28c5-593a0d00ac71\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-9aa2-28c5-593a0d00ac71\"}},\"displayName\":\"Added Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", - "Date" : "Fri, 11 Jun 2021 19:50:12 GMT", + "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-e743-e3c7-593a0d00f83a\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-e743-e3c7-593a0d00f83a\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-e7a3-99c6-593a0d00cc5d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-e7a3-99c6-593a0d00cc5d\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-eac7-e3c7-593a0d00f83d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-eac7-e3c7-593a0d00f83d\"}},\"displayName\":\"Added Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-eb0b-99c6-593a0d00cc5e\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-eb0b-99c6-593a0d00cc5e\"}},\"displayName\":\"Added Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", + "Date" : "Thu, 17 Jun 2021 17:36:01 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:cRXpprKmzbBLMT_UsSdwq1H2FflhSDCu2okurDJsKBw1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:078N79rHTozyZuDTs7ujfalOiaC664Ec2_inGMi46D81@thread.v2/participants/:remove?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "859757ce-04a5-4182-a6e4-78a8466a165a", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "668ccc8e-38c0-4d8d-b9d3-af8dacd3acfd", "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "191ms", - "MS-CV" : "jDtTGajpDEm8oDcMDeXT3w.0", + "X-Processing-Time" : "271ms", + "MS-CV" : "8f+NBgCAjE+Zs9HbNVWxVw.0", "retry-after" : "0", - "X-Azure-Ref" : "0dL7DYAAAAACZRS/GtKawR6Zg+Yz6fRWyWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0AojLYAAAAACXohLfNy4VQ7XCiJNCgciDV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:50:13 GMT" + "Date" : "Thu, 17 Jun 2021 17:36:02 GMT" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:cRXpprKmzbBLMT_UsSdwq1H2FflhSDCu2okurDJsKBw1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:078N79rHTozyZuDTs7ujfalOiaC664Ec2_inGMi46D81@thread.v2/participants/:remove?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "8344e169-5e73-4dd3-82f2-a96820f4c026", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "f2e097d3-6497-464d-ae1f-4667c6d7743a", "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "171ms", - "MS-CV" : "IEhHdfDYpEqWS6Td9hLV6A.0", + "X-Processing-Time" : "269ms", + "MS-CV" : "QbClr43mzU6iBQRnzH9s0A.0", "retry-after" : "0", - "X-Azure-Ref" : "0db7DYAAAAAB/zDxgiLJiRqncQP3yj9ptWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0AojLYAAAAAC3xHcXu0DtSbPvaQ0wytwAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:50:13 GMT" + "Date" : "Thu, 17 Jun 2021 17:36:02 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 2160fed3e0986..4b116e0334652 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "373ae40f-7c7c-47ad-a58c-2a33b041b792", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:50 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:37 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "rIErTsR4VESG6uBTu70swQ.0", - "X-Azure-Ref" : "0X77DYAAAAADns2OoAd8KSqiDrixHde57WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-48f9-28c5-593a0d00ac2e\"}}", - "x-ms-client-request-id" : "373ae40f-7c7c-47ad-a58c-2a33b041b792", + "X-Processing-Time" : "55ms", + "MS-CV" : "BHS91EJ9DUG1aVj5S+5kLg.0", + "X-Azure-Ref" : "06YfLYAAAAABAXcS8BxIjRLGlnZxNZXChV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8e20-e3c7-593a0d00f805\"}}", + "x-ms-client-request-id" : "70750707-ab70-46a0-afaf-3b2b1dbc3a61", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "2c482f15-8c2e-41ea-b9bd-d4ba61230ee2", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,13 +36,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:50 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:37 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "24ms", - "MS-CV" : "h5XTa/1jQkGcqP5knaHtqQ.0", - "X-Azure-Ref" : "0X77DYAAAAABt7LrN/2JHToNWpQL8Gw4cWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-4945-28c5-593a0d00ac2f\"}}", - "x-ms-client-request-id" : "2c482f15-8c2e-41ea-b9bd-d4ba61230ee2", + "X-Processing-Time" : "31ms", + "MS-CV" : "YGLOwWDHHUa5avcfek0FvQ.0", + "X-Azure-Ref" : "06ofLYAAAAABEEKqTyxtASJXwczPOi0E4V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8e71-99c6-593a0d00cc43\"}}", + "x-ms-client-request-id" : "bef7a1e4-df31-4a99-a6dc-2aadec46a234", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,8 +51,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "683406fd-d0ab-4afe-b894-638d1bf8eef6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:50 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:37 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "a5wXdxz+WUiW4SFRuq3GCA.0", - "X-Azure-Ref" : "0X77DYAAAAABsQ5FNDIMGQat9BLA4m8lTWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-498e-28c5-593a0d00ac30\"}}", - "x-ms-client-request-id" : "683406fd-d0ab-4afe-b894-638d1bf8eef6", + "X-Processing-Time" : "31ms", + "MS-CV" : "76ZalemxVUal7izSggQbbw.0", + "X-Azure-Ref" : "06ofLYAAAAADfFQR917HcQomnXMdNBE+WV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8eba-e3c7-593a0d00f806\"}}", + "x-ms-client-request-id" : "4f2d7673-e4a4-4035-92a7-c9e5a7ed2344", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "ab90957a-1963-4828-a273-5b8fc2d09af4", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -88,23 +84,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:50 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:37 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "GQw047fVVEeSVfVfxd8cJg.0", - "X-Azure-Ref" : "0X77DYAAAAAAXX/B5vILJQa222qx+1a3PWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-49d6-28c5-593a0d00ac31\"}}", - "x-ms-client-request-id" : "ab90957a-1963-4828-a273-5b8fc2d09af4", + "X-Processing-Time" : "58ms", + "MS-CV" : "hQvP5j31Z065yt1XQkYxng.0", + "X-Azure-Ref" : "06ofLYAAAAAAcEueiN7d5RoHKOEeo8oMIV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8f3a-e3c7-593a0d00f807\"}}", + "x-ms-client-request-id" : "9cc9cd0f-c4c7-47c2-a795-6238f577cef9", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-48f9-28c5-593a0d00ac2e/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8e20-e3c7-593a0d00f805/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "ee04d6f2-beaa-48e9-9d21-f1ea5cbe7cb3", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -113,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:51 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:38 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "wAjIL32YiUGyMdkb51nQ1g.0", - "X-Azure-Ref" : "0X77DYAAAAACF1MEKSvewQIq6/1MB8MOtWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:50.787018+00:00\"}", - "x-ms-client-request-id" : "ee04d6f2-beaa-48e9-9d21-f1ea5cbe7cb3", + "X-Processing-Time" : "36ms", + "MS-CV" : "jUeviibSlEySLJMHfYT07w.0", + "X-Azure-Ref" : "06ofLYAAAAAD5uGzDFTnbTaF3OCFkgcauV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:37.3792129+00:00\"}", + "x-ms-client-request-id" : "df4b971d-e60f-49d3-80b5-6ebf2dc90c3c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -128,8 +123,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "369dbe85-8493-4ffb-8e01-90831cbb91b7", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "db7279ea-ab3b-4419-b822-65f698fe4b76", "Content-Type" : "application/json" }, "Response" : { @@ -138,22 +133,21 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:51 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:38 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "507ms", - "MS-CV" : "QTHOz6GzqkyleeuVWcXr9Q.0", - "X-Azure-Ref" : "0X77DYAAAAAB+I10PQMiOSp+Wk2ccRY6mWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:uY20bFXCLMZebPnm1PuSjgJR_9aOKS_Qg9_qPvk1Dxk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:51Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-48f9-28c5-593a0d00ac2e\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-48f9-28c5-593a0d00ac2e\"}}}}", + "X-Processing-Time" : "716ms", + "MS-CV" : "QXwTP/rWrE+Ya6K0eJmsoQ.0", + "X-Azure-Ref" : "06ofLYAAAAABgQRJ1OK5ESKUdrDvOC9oGV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:3quBkbah9wB5s0uuMGyrR_KPbtWaYcYOZ9nRK0kEUBc1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:38Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8e20-e3c7-593a0d00f805\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8e20-e3c7-593a0d00f805\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AuY20bFXCLMZebPnm1PuSjgJR_9aOKS_Qg9_qPvk1Dxk1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A3quBkbah9wB5s0uuMGyrR_KPbtWaYcYOZ9nRK0kEUBc1@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.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "2f95e615-b6e9-4e46-84f0-916f99409783", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -162,13 +156,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:51 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:38 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "syXablsAeEClgGoG9ijuEg.0", - "X-Azure-Ref" : "0YL7DYAAAAABy0nomSAa2R4bvg6C9L+hjWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-4ca1-28c5-593a0d00ac32\"}}", - "x-ms-client-request-id" : "2f95e615-b6e9-4e46-84f0-916f99409783", + "X-Processing-Time" : "59ms", + "MS-CV" : "3QC7RmwWrkCGWcshIg6CDQ.0", + "X-Azure-Ref" : "064fLYAAAAADmqnZmttkiTJDD5Q5FGyuvV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-92e5-e3c7-593a0d00f808\"}}", + "x-ms-client-request-id" : "f6a685af-46f6-45d9-b591-ef6f54335ba7", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -177,8 +171,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "47eebeec-c5ea-477a-90ac-a760c98690e0", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -187,23 +180,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:51 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:38 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "lNkgmK4IBker8n0Zc1m/OQ.0", - "X-Azure-Ref" : "0YL7DYAAAAABnoRaz4SozRoDmbYDMaUnWWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-4cea-28c5-593a0d00ac33\"}}", - "x-ms-client-request-id" : "47eebeec-c5ea-477a-90ac-a760c98690e0", + "X-Processing-Time" : "32ms", + "MS-CV" : "SW/SlwS/00ufSCY4xvWJiQ.0", + "X-Azure-Ref" : "064fLYAAAAADuiIf4VwCUSpXeyCz5XWcPV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-93aa-99c6-593a0d00cc44\"}}", + "x-ms-client-request-id" : "e9ba16bb-638b-428c-9e6d-738881e89c3d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:uY20bFXCLMZebPnm1PuSjgJR_9aOKS_Qg9_qPvk1Dxk1@thread.v2/participants/:add?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:3quBkbah9wB5s0uuMGyrR_KPbtWaYcYOZ9nRK0kEUBc1@thread.v2/participants/:add?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "5b50f62b-ce18-4454-9ccc-5a6abcb72c60", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "3b73320c-62f3-4adb-90c3-2a36e605b28e", "Content-Type" : "application/json" }, "Response" : { @@ -211,98 +204,98 @@ "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", - "X-Processing-Time" : "237ms", - "MS-CV" : "pxy/nvGOWUW9E5tESkkm4Q.0", + "X-Processing-Time" : "209ms", + "MS-CV" : "FNxMbJOl0EiFPK1p7v1F5g.0", "retry-after" : "0", - "X-Azure-Ref" : "0YL7DYAAAAAAIFF0UbM+GRJxEw24YISz8WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "064fLYAAAAAByOw1beliVQbfkuiw0uCOfV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "201", "Body" : "{}", - "Date" : "Fri, 11 Jun 2021 19:49:52 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:39 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:uY20bFXCLMZebPnm1PuSjgJR_9aOKS_Qg9_qPvk1Dxk1@thread.v2/participants?maxPageSize=2&api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:3quBkbah9wB5s0uuMGyrR_KPbtWaYcYOZ9nRK0kEUBc1@thread.v2/participants?maxPageSize=2&api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "23976e0a-d3fb-484a-b194-2b958f23a5ed" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "9fb83557-333c-4401-9e6b-5d5dc4d65978" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "93ms", - "MS-CV" : "RdGajLbJREmwL/lajsH/wA.0", + "X-Processing-Time" : "137ms", + "MS-CV" : "Mhyc5xkmukih2wR0AvyO5w.0", "retry-after" : "0", - "X-Azure-Ref" : "0YL7DYAAAAAARlaN/eaWIRbMBgu42eCt5WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "064fLYAAAAAA/dUaF+aviSLKQHIvS+g08V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-48f9-28c5-593a0d00ac2e\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-48f9-28c5-593a0d00ac2e\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-4945-28c5-593a0d00ac2f\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-4945-28c5-593a0d00ac2f\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}],\"nextLink\":\"https://smstestapp.communication.azure.com/chat/threads/19:uY20bFXCLMZebPnm1PuSjgJR_9aOKS_Qg9_qPvk1Dxk1@thread.v2/participants?skip=2&maxPageSize=2&api-version=2021-04-05-preview6\"}", - "Date" : "Fri, 11 Jun 2021 19:49:52 GMT", + "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8e20-e3c7-593a0d00f805\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8e20-e3c7-593a0d00f805\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8e71-99c6-593a0d00cc43\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8e71-99c6-593a0d00cc43\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}],\"nextLink\":\"https://chat-prod-e2e.communication.azure.com/chat/threads/19:3quBkbah9wB5s0uuMGyrR_KPbtWaYcYOZ9nRK0kEUBc1@thread.v2/participants?skip=2&maxPageSize=2&api-version=2021-04-05-preview6\"}", + "Date" : "Thu, 17 Jun 2021 17:35:39 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:uY20bFXCLMZebPnm1PuSjgJR_9aOKS_Qg9_qPvk1Dxk1@thread.v2/participants?skip=2&maxPageSize=2&api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:3quBkbah9wB5s0uuMGyrR_KPbtWaYcYOZ9nRK0kEUBc1@thread.v2/participants?skip=2&maxPageSize=2&api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "68076572-fa44-4fb6-b8c0-1917d239ce21" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "35d6557b-97fd-442c-becc-220a74f5f12d" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "108ms", - "MS-CV" : "gkyNOaXzak6otPhhbzmMwA.0", + "X-Processing-Time" : "94ms", + "MS-CV" : "P9zVIfS9MEKrPagUXcqSqA.0", "retry-after" : "0", - "X-Azure-Ref" : "0YL7DYAAAAACesRUCvFWaSaDS6zKOBARAWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "064fLYAAAAAA+0mo7xfDzTojnQ3H+DSdIV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-4ca1-28c5-593a0d00ac32\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-4ca1-28c5-593a0d00ac32\"}},\"displayName\":\"Added Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-4cea-28c5-593a0d00ac33\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-4cea-28c5-593a0d00ac33\"}},\"displayName\":\"Added Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", - "Date" : "Fri, 11 Jun 2021 19:49:52 GMT", + "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-92e5-e3c7-593a0d00f808\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-92e5-e3c7-593a0d00f808\"}},\"displayName\":\"Added Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-93aa-99c6-593a0d00cc44\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-93aa-99c6-593a0d00cc44\"}},\"displayName\":\"Added Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", + "Date" : "Thu, 17 Jun 2021 17:35:39 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:uY20bFXCLMZebPnm1PuSjgJR_9aOKS_Qg9_qPvk1Dxk1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:3quBkbah9wB5s0uuMGyrR_KPbtWaYcYOZ9nRK0kEUBc1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "0c354722-ac90-4188-bb32-b4579c5c5b46", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "b555fa87-affc-4020-85c5-40e5d4cb6fa0", "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "165ms", - "MS-CV" : "N/BYwYCTj0W95Rd29Cvjkw.0", + "X-Processing-Time" : "192ms", + "MS-CV" : "vtPxLTOJ70e8hr0JgBeH+Q.0", "retry-after" : "0", - "X-Azure-Ref" : "0Yb7DYAAAAADFDA8FlopuRrByEOVnLmaJWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "07IfLYAAAAACOB7FV++RaToe35A8RJMmEV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:49:52 GMT" + "Date" : "Thu, 17 Jun 2021 17:35:39 GMT" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:uY20bFXCLMZebPnm1PuSjgJR_9aOKS_Qg9_qPvk1Dxk1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:3quBkbah9wB5s0uuMGyrR_KPbtWaYcYOZ9nRK0kEUBc1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "0e8f5f23-7e0d-41f5-959c-78eafb896aef", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "22938672-7a95-450a-9ede-4c27a2b24d1b", "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "159ms", - "MS-CV" : "n9FSB0UXoUuwSy71Jrb/rw.0", + "X-Processing-Time" : "194ms", + "MS-CV" : "GnR36EJqeUy/yZDMa5posA.0", "retry-after" : "0", - "X-Azure-Ref" : "0Yb7DYAAAAACVG93y2CCxR46aBh6VDLwbWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "07IfLYAAAAAD9YZlOksuoS7f5EM6uyjk3V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:49:52 GMT" + "Date" : "Thu, 17 Jun 2021 17:35:40 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 4c9a468bb73c1..e19fde1c49cb7 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "e4c02c9f-f5ff-4844-8fb5-b261a567b9b3", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:38 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:21 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "1DJmaDJhfE28v7ccYcculw.0", - "X-Azure-Ref" : "0Ur7DYAAAAAB6k+zVtMVjRL1GQnrigCuFWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-179d-28c5-593a0d00ac0a\"}}", - "x-ms-client-request-id" : "e4c02c9f-f5ff-4844-8fb5-b261a567b9b3", + "X-Processing-Time" : "29ms", + "MS-CV" : "VVscBXM0PU28QaV9HW88dQ.0", + "X-Azure-Ref" : "02ofLYAAAAACSLiLBzYAbTIQuvsh0fdqtV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-50fd-e3c7-593a0d00f7e5\"}}", + "x-ms-client-request-id" : "9d6c3697-455a-4f1a-a63c-156e3ea1c06f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "b3fb6c98-0eb5-42a9-9897-d75937e2b1ce", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,13 +36,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:38 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:22 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "24ms", - "MS-CV" : "sdE/8KumnEeVU6oiWqcefQ.0", - "X-Azure-Ref" : "0Ur7DYAAAAABFrK3n3TyQRpW+iRdcgyWmWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-17e2-28c5-593a0d00ac0b\"}}", - "x-ms-client-request-id" : "b3fb6c98-0eb5-42a9-9897-d75937e2b1ce", + "X-Processing-Time" : "86ms", + "MS-CV" : "ExhAxuBES0m2Sdp7dqgNeQ.0", + "X-Azure-Ref" : "02ofLYAAAAAAL1tF0LDX1SZorVXk3VcwaV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-5176-e3c7-593a0d00f7e6\"}}", + "x-ms-client-request-id" : "e6070172-e0c9-43d2-853e-bd854574ec7d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,8 +51,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "de1eed95-d772-4d95-aa73-3d2142293291", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:38 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:21 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "24ms", - "MS-CV" : "xXdoS3ep2kuDGPPi0Uq1xg.0", - "X-Azure-Ref" : "0Ur7DYAAAAAA9tToUiEGbRICeUOxqBB4uWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-1828-28c5-593a0d00ac0c\"}}", - "x-ms-client-request-id" : "de1eed95-d772-4d95-aa73-3d2142293291", + "X-Processing-Time" : "61ms", + "MS-CV" : "EgHa3dK3hES0IJCSXF/ACA.0", + "X-Azure-Ref" : "02ofLYAAAAAAJiS1h0saLQLk1xAFwbmoBV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-51cd-e3c7-593a0d00f7e7\"}}", + "x-ms-client-request-id" : "a0b7543a-0669-48c6-8b06-560921ce16c5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "c5043c8a-6d27-424a-ac05-35145bf85de9", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -88,23 +84,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:38 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:22 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "24ms", - "MS-CV" : "tqs87L+2gE+hPrB50MswSg.0", - "X-Azure-Ref" : "0U77DYAAAAAAJ5oDIpC4NTJb+8OqHTUlpWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-1871-28c5-593a0d00ac0d\"}}", - "x-ms-client-request-id" : "c5043c8a-6d27-424a-ac05-35145bf85de9", + "X-Processing-Time" : "31ms", + "MS-CV" : "0hNyS2KSg0K0riCzyfVB6Q.0", + "X-Azure-Ref" : "02ofLYAAAAABDmuG4E7p1TJc89YkVqPQQV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-5211-e3c7-593a0d00f7e8\"}}", + "x-ms-client-request-id" : "ace5f89d-57be-4848-b0e7-45d1495cfaa4", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-179d-28c5-593a0d00ac0a/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-50fd-e3c7-593a0d00f7e5/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "741637a8-1880-4606-bf15-15bbed8c3261", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -113,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:38 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:22 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "xaziKy4VlEyCQ2xgwyaTTw.0", - "X-Azure-Ref" : "0U77DYAAAAAAHCQ9iKDJJQ4uWSG3zij9wWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:38.1434872+00:00\"}", - "x-ms-client-request-id" : "741637a8-1880-4606-bf15-15bbed8c3261", + "X-Processing-Time" : "36ms", + "MS-CV" : "dz8lFcPlpkmOT/Smm5pVWg.0", + "X-Azure-Ref" : "02ofLYAAAAADFXtUFF2C6Qowddi12iRXiV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:21.7155639+00:00\"}", + "x-ms-client-request-id" : "d90579d6-6d81-4549-acf2-5bd01922c5ea", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -128,8 +123,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "3253ccfa-9281-4faf-b2c5-afd86ca5da36", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "012aca17-8440-42a2-9ffc-c6ae378bf47a", "Content-Type" : "application/json" }, "Response" : { @@ -138,35 +133,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:39 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:22 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "543ms", - "MS-CV" : "EWGdnBTOaki4jaSCOQXw0Q.0", - "X-Azure-Ref" : "0U77DYAAAAADIBt2J1PV4SZTUbMdKAl/9WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:MMiBbQfOyk519-eFjclQJqUShHE8TN7rc2VELi8W2Gk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:39Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-179d-28c5-593a0d00ac0a\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-179d-28c5-593a0d00ac0a\"}}}}", + "X-Processing-Time" : "466ms", + "MS-CV" : "ILv7giP86kyXQq89rsLPOQ.0", + "X-Azure-Ref" : "02ofLYAAAAACvvsDmiehQRJerYkvTi8lWV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:333PqB_h8KraFixCymo027ykuRWvhbnTTpmw_csbKhA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:22Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-50fd-e3c7-593a0d00f7e5\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-50fd-e3c7-593a0d00f7e5\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AMMiBbQfOyk519-eFjclQJqUShHE8TN7rc2VELi8W2Gk1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A333PqB_h8KraFixCymo027ykuRWvhbnTTpmw_csbKhA1@thread.v2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:MMiBbQfOyk519-eFjclQJqUShHE8TN7rc2VELi8W2Gk1@thread.v2/participants?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:333PqB_h8KraFixCymo027ykuRWvhbnTTpmw_csbKhA1@thread.v2/participants?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "820fbc2b-91fe-4ceb-a817-9225a0882396" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "bf0f7271-4447-43cc-b0bb-6e18bd84715e" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "187ms", - "MS-CV" : "feYvjcvr+E2lNYKQsK+6mw.0", + "X-Processing-Time" : "102ms", + "MS-CV" : "stwk/4sMz0edlsSQmtpdAw.0", "retry-after" : "0", - "X-Azure-Ref" : "0U77DYAAAAADEzFCkwsFkQZZU28UMUd7rWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "024fLYAAAAADff+1IAgM2S69J75iy6knuV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-179d-28c5-593a0d00ac0a\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-179d-28c5-593a0d00ac0a\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-17e2-28c5-593a0d00ac0b\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-17e2-28c5-593a0d00ac0b\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", - "Date" : "Fri, 11 Jun 2021 19:49:39 GMT", + "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-50fd-e3c7-593a0d00f7e5\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-50fd-e3c7-593a0d00f7e5\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-5176-e3c7-593a0d00f7e6\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-5176-e3c7-593a0d00f7e6\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", + "Date" : "Thu, 17 Jun 2021 17:35:22 GMT", "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 abf78f88adfa4..aa7f7ae560daa 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "b5ded33c-6aef-46d2-9fce-2f80ea6d97d4", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:48 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:35 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "26ms", - "MS-CV" : "+dAV/KgBR0+/wZwlh42kzg.0", - "X-Azure-Ref" : "0Xb7DYAAAAACgVVL21/7oRqmm/yYX4e9nWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-4095-28c5-593a0d00ac27\"}}", - "x-ms-client-request-id" : "b5ded33c-6aef-46d2-9fce-2f80ea6d97d4", + "X-Processing-Time" : "32ms", + "MS-CV" : "te5IZW6uoEGWWCX+WCEWwQ.0", + "X-Azure-Ref" : "054fLYAAAAACWHZqTrGqCQ79U11nXTE2cV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8442-e3c7-593a0d00f800\"}}", + "x-ms-client-request-id" : "ae87ca66-8cec-44ad-a2da-f3434f00461d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "654af787-7fb4-47d6-92f9-30a6ec575889", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,13 +36,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:48 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:35 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "24ms", - "MS-CV" : "aFvxdhX8hUKeyrLfKSDNzg.0", - "X-Azure-Ref" : "0Xb7DYAAAAACwefjB6rSVRbIY4tQ1djfGWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-40db-28c5-593a0d00ac28\"}}", - "x-ms-client-request-id" : "654af787-7fb4-47d6-92f9-30a6ec575889", + "X-Processing-Time" : "33ms", + "MS-CV" : "sUlwdC0Lckq3QBRRl919eg.0", + "X-Azure-Ref" : "054fLYAAAAABjo4kpXq2QTY1udu2uUI1oV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-85b1-99c6-593a0d00cc42\"}}", + "x-ms-client-request-id" : "06c82c09-6861-4e8f-afb3-5622e6cd4ac9", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,8 +51,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "4af21c85-ef0e-45c3-aa68-18e7b0aad961", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:48 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:35 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "SnBFgXao8k2tT5bqtmxAIg.0", - "X-Azure-Ref" : "0Xb7DYAAAAAC9ScgydLVlTrLcoveTvqQBWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-412c-28c5-593a0d00ac29\"}}", - "x-ms-client-request-id" : "4af21c85-ef0e-45c3-aa68-18e7b0aad961", + "X-Processing-Time" : "23ms", + "MS-CV" : "kH4ZT9H9wkiyRWX64UXYqg.0", + "X-Azure-Ref" : "054fLYAAAAAD0ozSiZE9aSp2bmbByiysbV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-85e5-e3c7-593a0d00f801\"}}", + "x-ms-client-request-id" : "ba57a236-844c-4819-9863-b97fc920f95d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "9e6ae5dd-28e3-40fe-b12e-6556c5824474", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -88,23 +84,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:48 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:35 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "19ms", - "MS-CV" : "qrLVgUA3u0aHUNUj2fQQww.0", - "X-Azure-Ref" : "0Xb7DYAAAAABX8QXBUKRmQb4mF9BdiitCWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-416f-28c5-593a0d00ac2a\"}}", - "x-ms-client-request-id" : "9e6ae5dd-28e3-40fe-b12e-6556c5824474", + "X-Processing-Time" : "29ms", + "MS-CV" : "ODbAeMFCIEiHn1PE6WdmYg.0", + "X-Azure-Ref" : "054fLYAAAAADk6i4wVMiARI8It7Tv1clcV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8623-e3c7-593a0d00f802\"}}", + "x-ms-client-request-id" : "47377153-aa92-4c74-979b-299e41c128b1", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-4095-28c5-593a0d00ac27/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8442-e3c7-593a0d00f800/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "e694ccfa-8366-4613-bfba-ccc6776bca63", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -113,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:48 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:35 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "EL7wGKfUVESameHriXnu2Q.0", - "X-Azure-Ref" : "0Xb7DYAAAAAD6mZWsxaXnTKI7uOFpsUHZWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:48.6315774+00:00\"}", - "x-ms-client-request-id" : "e694ccfa-8366-4613-bfba-ccc6776bca63", + "X-Processing-Time" : "38ms", + "MS-CV" : "QX4BmuNlQ0u81R4qdUfs+Q.0", + "X-Azure-Ref" : "054fLYAAAAADnaI+w5N5MQJdM513W2kvfV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:35.0487194+00:00\"}", + "x-ms-client-request-id" : "1eaae1f3-1555-4c58-9235-a33aab33e543", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -128,8 +123,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "1a78282a-e81d-4de4-bc3c-f867d238eee5", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "7bb20acf-0505-4d5b-959f-9d5b9505f538", "Content-Type" : "application/json" }, "Response" : { @@ -138,22 +133,21 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:49 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:36 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "455ms", - "MS-CV" : "XpooxvG53UKT/XpK8c8maA.0", - "X-Azure-Ref" : "0Xb7DYAAAAACFNW87Sk6vT6kPJO0o/32PWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:6XxQPnLtQeeH3Wz3gwwGI2PnXXpHq7bWMjkaoiv2x-Y1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:49Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-4095-28c5-593a0d00ac27\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-4095-28c5-593a0d00ac27\"}}}}", + "X-Processing-Time" : "712ms", + "MS-CV" : "8pYMHvOpHki3LYsom0a9FQ.0", + "X-Azure-Ref" : "06IfLYAAAAADeZajX5z9lSryfvs8t6T6sV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:PMdBG8OQNl0lwNC3crf-p_4NOK2XsFB1uqinRsuJ-AY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:36Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8442-e3c7-593a0d00f800\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8442-e3c7-593a0d00f800\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3A6XxQPnLtQeeH3Wz3gwwGI2PnXXpHq7bWMjkaoiv2x-Y1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3APMdBG8OQNl0lwNC3crf-p_4NOK2XsFB1uqinRsuJ-AY1@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.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "943abe76-408d-4edb-8a22-736f11f07506", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -162,13 +156,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:49 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:36 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "uflXoxIwtUmN8kyTLTZDGg.0", - "X-Azure-Ref" : "0Xr7DYAAAAABx2D8Wey9MTbs0UuskvdpKWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-43fe-28c5-593a0d00ac2c\"}}", - "x-ms-client-request-id" : "943abe76-408d-4edb-8a22-736f11f07506", + "X-Processing-Time" : "57ms", + "MS-CV" : "ru1V4sABbEa47oor8Zq2hg.0", + "X-Azure-Ref" : "06IfLYAAAAABCPRSZabCDSZDxfbShzo/bV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-89c8-e3c7-593a0d00f803\"}}", + "x-ms-client-request-id" : "31da02c5-06d8-4f32-bcfa-1c60a9f52d1f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -177,8 +171,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "bc281ac5-22d2-4e6e-9c6d-ec34f75c3f34", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -187,23 +180,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:49 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:36 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "wq/izsx/x0Sz2vLxfTmSdA.0", - "X-Azure-Ref" : "0Xr7DYAAAAAC73828abUwSqrnEhoCHdX/WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-4444-28c5-593a0d00ac2d\"}}", - "x-ms-client-request-id" : "bc281ac5-22d2-4e6e-9c6d-ec34f75c3f34", + "X-Processing-Time" : "30ms", + "MS-CV" : "e21l89ugXUSc/ukrTKwwCw.0", + "X-Azure-Ref" : "06IfLYAAAAAD3M3xnmrXrT7Lo0qh5cqPmV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8a07-e3c7-593a0d00f804\"}}", + "x-ms-client-request-id" : "1cae67b1-ad40-4d22-9f0e-8847099c09d6", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:6XxQPnLtQeeH3Wz3gwwGI2PnXXpHq7bWMjkaoiv2x-Y1@thread.v2/participants/:add?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:PMdBG8OQNl0lwNC3crf-p_4NOK2XsFB1uqinRsuJ-AY1@thread.v2/participants/:add?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "4d487c8d-7f5c-46d5-a58b-aaa13e983a87", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "5acdc93e-6627-442f-b4d5-64e53d246c90", "Content-Type" : "application/json" }, "Response" : { @@ -211,76 +204,76 @@ "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", - "X-Processing-Time" : "341ms", - "MS-CV" : "wywEnqYj8EO0owcQkxUohg.0", + "X-Processing-Time" : "193ms", + "MS-CV" : "+Ktz39XPRE+5f0iCPJWVlg.0", "retry-after" : "0", - "X-Azure-Ref" : "0Xr7DYAAAAAA2Yt6XbdYbSasbOjO8DHgmWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "06YfLYAAAAACyvXxAuoA4TouiXbH+IJu4V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "201", "Body" : "{}", - "Date" : "Fri, 11 Jun 2021 19:49:49 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:36 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:6XxQPnLtQeeH3Wz3gwwGI2PnXXpHq7bWMjkaoiv2x-Y1@thread.v2/participants?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:PMdBG8OQNl0lwNC3crf-p_4NOK2XsFB1uqinRsuJ-AY1@thread.v2/participants?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "699799bd-4d6a-4aa0-9c19-2f81084836e4" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "fc206aec-9760-4536-b74f-764964e8f89f" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "100ms", - "MS-CV" : "twxrYq9h5UOGFQt+KHwGUg.0", + "X-Processing-Time" : "92ms", + "MS-CV" : "xT7WEvIMykqRCjDdCm3Qbg.0", "retry-after" : "0", - "X-Azure-Ref" : "0Xr7DYAAAAADZhWZpgUX1Q6HW1pcyrSmrWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "06YfLYAAAAAALBkJmhZJSRagcvsrj1SvmV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-4095-28c5-593a0d00ac27\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-4095-28c5-593a0d00ac27\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-40db-28c5-593a0d00ac28\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-40db-28c5-593a0d00ac28\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-43fe-28c5-593a0d00ac2c\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-43fe-28c5-593a0d00ac2c\"}},\"displayName\":\"Added Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-4444-28c5-593a0d00ac2d\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-4444-28c5-593a0d00ac2d\"}},\"displayName\":\"Added Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", - "Date" : "Fri, 11 Jun 2021 19:49:50 GMT", + "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8442-e3c7-593a0d00f800\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8442-e3c7-593a0d00f800\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-85b1-99c6-593a0d00cc42\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-85b1-99c6-593a0d00cc42\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-89c8-e3c7-593a0d00f803\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-89c8-e3c7-593a0d00f803\"}},\"displayName\":\"Added Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8a07-e3c7-593a0d00f804\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8a07-e3c7-593a0d00f804\"}},\"displayName\":\"Added Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", + "Date" : "Thu, 17 Jun 2021 17:35:36 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:6XxQPnLtQeeH3Wz3gwwGI2PnXXpHq7bWMjkaoiv2x-Y1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:PMdBG8OQNl0lwNC3crf-p_4NOK2XsFB1uqinRsuJ-AY1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "96c5bcb9-a2e8-4db5-b6f1-02600bbcbc7d", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "4b7ee59a-1a4f-448b-a691-8955c76bf7b3", "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "204ms", - "MS-CV" : "IHXyS/xg206DORjRscWDCw.0", + "X-Processing-Time" : "228ms", + "MS-CV" : "9jWFAWoQW02++oo8tTPbrw.0", "retry-after" : "0", - "X-Azure-Ref" : "0Xr7DYAAAAAA6RuSqDLDHTomuxFB3G0XDWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "06YfLYAAAAADsK0oTGp6fRriNK7s8EOJpV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:49:50 GMT" + "Date" : "Thu, 17 Jun 2021 17:35:37 GMT" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:6XxQPnLtQeeH3Wz3gwwGI2PnXXpHq7bWMjkaoiv2x-Y1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:PMdBG8OQNl0lwNC3crf-p_4NOK2XsFB1uqinRsuJ-AY1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "c607e327-94d5-43da-b2c1-f80c765385c2", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "c83de6c9-1240-40aa-b066-a4acf50dede6", "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "215ms", - "MS-CV" : "6c0RA9QGC0ixXO2Ngg9TQQ.0", + "X-Processing-Time" : "246ms", + "MS-CV" : "cnTER+XnMUuh4uHwb7Hj1w.0", "retry-after" : "0", - "X-Azure-Ref" : "0X77DYAAAAAB47v3SfBr+R743lfNWR7gYWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "06YfLYAAAAAB49gzAdeXBSL0Yjj8GcGRAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:49:50 GMT" + "Date" : "Thu, 17 Jun 2021 17:35:37 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 ba945b1b002f0..6a9a28bc149df 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "6371a4b2-2e34-4cef-8a5b-038dfb0ce3ed", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:04 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "QCDfrGDy/U+txZsdH/4VSg.0", - "X-Azure-Ref" : "0bL7DYAAAAAD/4sw49vn3RppC4bK+3xbrWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-7dd2-28c5-593a0d00ac5a\"}}", - "x-ms-client-request-id" : "6371a4b2-2e34-4cef-8a5b-038dfb0ce3ed", + "X-Processing-Time" : "32ms", + "MS-CV" : "JwfyVY8ZXkiE1SJURBepQA.0", + "X-Azure-Ref" : "0+YfLYAAAAADrmeL+kQ5mQLYTSncOIceXV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cb07-e3c7-593a0d00f825\"}}", + "x-ms-client-request-id" : "2a5836cb-5ea4-459d-be00-d9c845bf7b4c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "6c35b888-1bc9-484e-9784-3d2e215c72aa", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,13 +36,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:04 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:52 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "2GZ8MQyinECBJ2yEBj4EyA.0", - "X-Azure-Ref" : "0bb7DYAAAAABm+G+v+/aQTL/rEf72ARK0WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-7e14-28c5-593a0d00ac5b\"}}", - "x-ms-client-request-id" : "6c35b888-1bc9-484e-9784-3d2e215c72aa", + "X-Processing-Time" : "29ms", + "MS-CV" : "Kvrg1ax76Eigooo61DT4Jg.0", + "X-Azure-Ref" : "0+YfLYAAAAAA07lk0m0hcS7kx/CoS3Mh0V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cb46-e3c7-593a0d00f826\"}}", + "x-ms-client-request-id" : "63e29e15-55aa-445d-9096-7e813a97aed6", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,8 +51,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "fb01efed-cac9-496d-b647-356ddf6c023f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:04 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "CuLTbQPsTU65hvEcGopkpQ.0", - "X-Azure-Ref" : "0bb7DYAAAAAAFidtWv+G3QoG5ore99qNcWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-7e54-28c5-593a0d00ac5c\"}}", - "x-ms-client-request-id" : "fb01efed-cac9-496d-b647-356ddf6c023f", + "X-Processing-Time" : "31ms", + "MS-CV" : "oNF26iW5eEGKjtwY8GapMg.0", + "X-Azure-Ref" : "0+YfLYAAAAACtK5Ovk9YLQ5szBhXdBA+aV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cb84-e3c7-593a0d00f827\"}}", + "x-ms-client-request-id" : "727826f1-3f62-4949-8b9f-a637ee2c6cf9", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "e0b802f6-b056-44ae-969e-ddd45dc4df9b", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -88,23 +84,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:04 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "f08ykrEk/kGBQawBB0hvaQ.0", - "X-Azure-Ref" : "0bb7DYAAAAABlY7SDKSNoR7T8jXAvSv1WWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-7e98-28c5-593a0d00ac5d\"}}", - "x-ms-client-request-id" : "e0b802f6-b056-44ae-969e-ddd45dc4df9b", + "X-Processing-Time" : "38ms", + "MS-CV" : "Q09WY98WJk6HNs2E5IRhsQ.0", + "X-Azure-Ref" : "0+YfLYAAAAAAHuTmi3p3dSJRN30UGQaacV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cbcb-99c6-593a0d00cc55\"}}", + "x-ms-client-request-id" : "966c64f9-e4f0-461a-9574-f0c4a5c134ed", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-7dd2-28c5-593a0d00ac5a/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cb07-e3c7-593a0d00f825/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "277701e1-ad6a-423c-b1fa-d5ed43152c1d", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -113,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:50:04 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "1Pr/T3NIwUqVhsl7gOqwOw.0", - "X-Azure-Ref" : "0bb7DYAAAAADBLUe5xYvkTr/p8B0zJ0S0WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:50:04.2865724+00:00\"}", - "x-ms-client-request-id" : "277701e1-ad6a-423c-b1fa-d5ed43152c1d", + "X-Processing-Time" : "66ms", + "MS-CV" : "yGjSgLXjUUe7kxCsIIUNyA.0", + "X-Azure-Ref" : "0+YfLYAAAAACEwHEkr7N7S40XhMzJFvp8V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:52.9097906+00:00\"}", + "x-ms-client-request-id" : "c5dcd49b-8bf7-44ed-a13c-32daf19084ec", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -128,8 +123,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "f935d065-7641-4f2d-ab97-8cff756cd220", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "9df890b4-d917-402d-81f0-684ade564a07", "Content-Type" : "application/json" }, "Response" : { @@ -138,22 +133,21 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:04 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "346ms", - "MS-CV" : "9oOuRm1LV0SytxZ1fpSh9A.0", - "X-Azure-Ref" : "0bb7DYAAAAAABGkOP60+YTY85LDh8xGoUWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:dR9T0RJW8osJoVwQXU2cZb6_4VqUYywSdbeMM5wJM1Y1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:50:05Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-7dd2-28c5-593a0d00ac5a\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-7dd2-28c5-593a0d00ac5a\"}}}}", + "X-Processing-Time" : "554ms", + "MS-CV" : "/sMv7fMiSUarnz9YWG+YQA.0", + "X-Azure-Ref" : "0+YfLYAAAAAA+b2p/nyXMRr7lK3xtvUWPV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:K3LW9B1Ku7K_t7fNvKet9_6UU-cRQTa4GUzU_2u-JUo1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:54Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cb07-e3c7-593a0d00f825\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cb07-e3c7-593a0d00f825\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AdR9T0RJW8osJoVwQXU2cZb6_4VqUYywSdbeMM5wJM1Y1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AK3LW9B1Ku7K_t7fNvKet9_6UU-cRQTa4GUzU_2u-JUo1@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.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "a55b34d4-d3e5-4401-8e0a-e3a6e95355f9", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -162,23 +156,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:04 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "24ms", - "MS-CV" : "bGp59RHbYki1Afg2siKRnQ.0", - "X-Azure-Ref" : "0bb7DYAAAAAAeQk4imS6XSYYfQakJr9v5WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-80bd-28c5-593a0d00ac5e\"}}", - "x-ms-client-request-id" : "a55b34d4-d3e5-4401-8e0a-e3a6e95355f9", + "X-Processing-Time" : "30ms", + "MS-CV" : "8ExMGG/ffk6zdCmrrh3hog.0", + "X-Azure-Ref" : "0+ofLYAAAAAAqUGwgmjJURIrZOj9o2IWPV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cec7-e3c7-593a0d00f828\"}}", + "x-ms-client-request-id" : "55e23415-b6bc-49ac-869d-cde44ae18d28", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:dR9T0RJW8osJoVwQXU2cZb6_4VqUYywSdbeMM5wJM1Y1@thread.v2/participants/:add?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:K3LW9B1Ku7K_t7fNvKet9_6UU-cRQTa4GUzU_2u-JUo1@thread.v2/participants/:add?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "e6c6a770-d96a-48ac-b200-5e9c6076149a", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "4889c031-63bd-4981-90b8-02e85da9c3ff", "Content-Type" : "application/json" }, "Response" : { @@ -186,35 +180,35 @@ "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", - "X-Processing-Time" : "223ms", - "MS-CV" : "ADa9BSms0kGyxWFcpw9fJg.0", + "X-Processing-Time" : "254ms", + "MS-CV" : "pYxnucyDNkiuKJN+1T5XOA.0", "retry-after" : "0", - "X-Azure-Ref" : "0bb7DYAAAAADMSzLcdVkYTb32zpZAWhdcWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0+ofLYAAAAADIN5lAbHUiTLuOMPa+ZfXHV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "201", "Body" : "{}", - "Date" : "Fri, 11 Jun 2021 19:50:05 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:54 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:dR9T0RJW8osJoVwQXU2cZb6_4VqUYywSdbeMM5wJM1Y1@thread.v2/participants?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:K3LW9B1Ku7K_t7fNvKet9_6UU-cRQTa4GUzU_2u-JUo1@thread.v2/participants?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "093781e8-7223-4837-b82c-48e143b4fcd1" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "dd5c03c1-b3f5-4653-bcff-54087cc67346" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "114ms", - "MS-CV" : "TTuU0HotCk6wIViC+4EcMA.0", + "X-Processing-Time" : "117ms", + "MS-CV" : "JP9oA2+ly06ZcVJ4ch4iaQ.0", "retry-after" : "0", - "X-Azure-Ref" : "0br7DYAAAAAC9Coo0fEmrSq2I/OelXgLgWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0+ofLYAAAAAAQKFLf5nsRSo66GCNF9Bf3V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-7dd2-28c5-593a0d00ac5a\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-7dd2-28c5-593a0d00ac5a\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-7e14-28c5-593a0d00ac5b\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-7e14-28c5-593a0d00ac5b\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-80bd-28c5-593a0d00ac5e\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-80bd-28c5-593a0d00ac5e\"}},\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", - "Date" : "Fri, 11 Jun 2021 19:50:05 GMT", + "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cb07-e3c7-593a0d00f825\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cb07-e3c7-593a0d00f825\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cb46-e3c7-593a0d00f826\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cb46-e3c7-593a0d00f826\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cec7-e3c7-593a0d00f828\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cec7-e3c7-593a0d00f828\"}},\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", + "Date" : "Thu, 17 Jun 2021 17:35:54 GMT", "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 6e8bb4f7b62d3..1d6f84789877c 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "6f6110fc-d0dc-46b7-9f6d-86a4b3faa19b", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:05 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "gltTjw/jJUKw8OXkMScNaA.0", - "X-Azure-Ref" : "0br7DYAAAAACaetm4Rp/ZSZ3pGAQfKlOKWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-8302-28c5-593a0d00ac5f\"}}", - "x-ms-client-request-id" : "6f6110fc-d0dc-46b7-9f6d-86a4b3faa19b", + "X-Processing-Time" : "33ms", + "MS-CV" : "8hRhfGPH/0ur+V73nXKkJA.0", + "X-Azure-Ref" : "0+4fLYAAAAABl0lXOEKz/QbryK0aCezAWV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d0cf-e3c7-593a0d00f829\"}}", + "x-ms-client-request-id" : "5a82d397-b0ac-42b9-b0f1-6309db2569b5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "62c5d906-9546-4d31-9d6d-cf939fdee690", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,13 +36,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:05 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "m74hasYEkUiaEN3XgZnRhQ.0", - "X-Azure-Ref" : "0br7DYAAAAACIYkBtixCfT5aSwH93Pzw1WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-8345-28c5-593a0d00ac60\"}}", - "x-ms-client-request-id" : "62c5d906-9546-4d31-9d6d-cf939fdee690", + "X-Processing-Time" : "34ms", + "MS-CV" : "IUGF0BJfBUG4S1ZCta3gVQ.0", + "X-Azure-Ref" : "0+4fLYAAAAABqGg/rRnydSIcsNT1aDHz9V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d115-e3c7-593a0d00f82a\"}}", + "x-ms-client-request-id" : "57033c38-d7c9-450a-af2b-02fff1429c70", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,8 +51,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "0e9b00cb-17c5-46e4-9000-de2b15b0b930", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:05 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "1rjt+kf2pUOzexofdvMI5Q.0", - "X-Azure-Ref" : "0br7DYAAAAABjWIy34tFmTI73PsoSE4ZDWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-8388-28c5-593a0d00ac61\"}}", - "x-ms-client-request-id" : "0e9b00cb-17c5-46e4-9000-de2b15b0b930", + "X-Processing-Time" : "32ms", + "MS-CV" : "uRU9KPxsCEWjJKPu+HHH4A.0", + "X-Azure-Ref" : "0+4fLYAAAAAAqBEVI9ohLRKfgkcTRmWPjV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d15c-99c6-593a0d00cc57\"}}", + "x-ms-client-request-id" : "b5d21ee3-e00e-490b-bab9-1b3cf4d87222", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "e2bba070-f9de-4a04-ab75-cfe62a2a1e23", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -88,23 +84,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:05 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "1ww9gyV2eUiRNLbmGFLT/g.0", - "X-Azure-Ref" : "0br7DYAAAAAAUFETFuOx2SYIs8qbM5r9MWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-83c8-28c5-593a0d00ac62\"}}", - "x-ms-client-request-id" : "e2bba070-f9de-4a04-ab75-cfe62a2a1e23", + "X-Processing-Time" : "60ms", + "MS-CV" : "QvnnCtD05kaDsx8s4FwUNw.0", + "X-Azure-Ref" : "0+4fLYAAAAAAh/5e/BK42RYGWtZWpDwbMV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d1ba-e3c7-593a0d00f82b\"}}", + "x-ms-client-request-id" : "0bf4f328-9122-472b-899f-98441cf3b893", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-8302-28c5-593a0d00ac5f/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d0cf-e3c7-593a0d00f829/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "19870223-3f49-44dc-8892-ea70fe109d5b", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -113,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:50:05 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "26ms", - "MS-CV" : "sSAId7bN3U270UX1sMXraw.0", - "X-Azure-Ref" : "0br7DYAAAAAAEl/PNv6EXSaAUr4KtIAj+WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:50:05.6134543+00:00\"}", - "x-ms-client-request-id" : "19870223-3f49-44dc-8892-ea70fe109d5b", + "X-Processing-Time" : "79ms", + "MS-CV" : "oBdy/NO4U0ypzgIKD/xr3A.0", + "X-Azure-Ref" : "0+4fLYAAAAAC+f6p4FSudTp5DzVCGEvTAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:54.4401797+00:00\"}", + "x-ms-client-request-id" : "1c799d33-7f33-44fe-a997-2b634c628eb7", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -128,8 +123,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "7d35bf12-be33-4209-8f77-ae0ac7632027", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "5bde0f18-8123-427b-8c65-d209b4af5efd", "Content-Type" : "application/json" }, "Response" : { @@ -138,22 +133,21 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:06 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:55 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "548ms", - "MS-CV" : "G5LqKIs5Ekaeh6SVSzhLcA.0", - "X-Azure-Ref" : "0br7DYAAAAAAa2CPFaIp9T4rnzGgnxj5CWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:1a_OJvI4zYX18_9-htQ5KMobHBEXCBqNBa8Vy8-TCWw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:50:06Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-8302-28c5-593a0d00ac5f\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-8302-28c5-593a0d00ac5f\"}}}}", + "X-Processing-Time" : "442ms", + "MS-CV" : "0NXoFhSC0UGk3yAELOo48A.0", + "X-Azure-Ref" : "0+4fLYAAAAACdiGoVglDXSaVdxOe/vxBfV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:WEsxfYLLG-0W-sZW-tVPbAZlgfo83bc-xO251YDcXd01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:55Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d0cf-e3c7-593a0d00f829\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d0cf-e3c7-593a0d00f829\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3A1a_OJvI4zYX18_9-htQ5KMobHBEXCBqNBa8Vy8-TCWw1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AWEsxfYLLG-0W-sZW-tVPbAZlgfo83bc-xO251YDcXd01@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.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "ac2e2042-bb90-427e-bcbf-9d0215244ea1", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -162,23 +156,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:06 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:55 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "20ms", - "MS-CV" : "4t0sciVlA0C5SoRph1xvGw.0", - "X-Azure-Ref" : "0b77DYAAAAACcTSGSr+cJT76sdWenNtPzWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-8783-28c5-593a0d00ac63\"}}", - "x-ms-client-request-id" : "ac2e2042-bb90-427e-bcbf-9d0215244ea1", + "X-Processing-Time" : "55ms", + "MS-CV" : "OYBmac+8IE2jRlP6Le1HjQ.0", + "X-Azure-Ref" : "0+4fLYAAAAAALl/z4PddkSLm3F6NuKNgTV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d45c-99c6-593a0d00cc59\"}}", + "x-ms-client-request-id" : "d726a96a-cd8c-4157-a038-2f95d55d11c5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:1a_OJvI4zYX18_9-htQ5KMobHBEXCBqNBa8Vy8-TCWw1@thread.v2/participants/:add?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:WEsxfYLLG-0W-sZW-tVPbAZlgfo83bc-xO251YDcXd01@thread.v2/participants/:add?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "97857114-9411-4465-9e64-c9e6eee06519", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "4cce44df-4ae5-4d41-8690-a1b406237e76", "Content-Type" : "application/json" }, "Response" : { @@ -186,35 +180,35 @@ "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", - "X-Processing-Time" : "308ms", - "MS-CV" : "DgoAvTmbdECFQaGZ1Ifc3g.0", + "X-Processing-Time" : "326ms", + "MS-CV" : "3B6Cum7cL0WDa2udo0KAdg.0", "retry-after" : "0", - "X-Azure-Ref" : "0b77DYAAAAABvKICcgo4mR7nVmf4kfKsGWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0/IfLYAAAAAAuqk/fUCnsT6l8it0ejvT7V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "201", "Body" : "{}", - "Date" : "Fri, 11 Jun 2021 19:50:06 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:55 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:1a_OJvI4zYX18_9-htQ5KMobHBEXCBqNBa8Vy8-TCWw1@thread.v2/participants?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:WEsxfYLLG-0W-sZW-tVPbAZlgfo83bc-xO251YDcXd01@thread.v2/participants?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "ec11c226-1ce7-4920-82fe-ff95c354f0c8" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "274b355c-aed7-44b6-8544-490270f595fb" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "105ms", - "MS-CV" : "dRAUBEv9jkyeur12s8Uo9Q.0", + "X-Processing-Time" : "226ms", + "MS-CV" : "27pdB2txAkSOnGRazt9VKw.0", "retry-after" : "0", - "X-Azure-Ref" : "0b77DYAAAAACL2DCn185KT7zH2qh8x0AhWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0/IfLYAAAAADAPmHNdul0TJ7cOxBGQvE4V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-8302-28c5-593a0d00ac5f\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-8302-28c5-593a0d00ac5f\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-8345-28c5-593a0d00ac60\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-8345-28c5-593a0d00ac60\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-8783-28c5-593a0d00ac63\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-8783-28c5-593a0d00ac63\"}},\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", - "Date" : "Fri, 11 Jun 2021 19:50:08 GMT", + "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d0cf-e3c7-593a0d00f829\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d0cf-e3c7-593a0d00f829\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d115-e3c7-593a0d00f82a\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d115-e3c7-593a0d00f82a\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d45c-99c6-593a0d00cc59\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d45c-99c6-593a0d00cc59\"}},\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", + "Date" : "Thu, 17 Jun 2021 17:35:55 GMT", "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 f40312d429130..1972680edd84f 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "b36aa4f1-aa79-4eae-86a9-31ac418224cd", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:47 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "WFX8SQL0i0esR2mKUa1wsQ.0", - "X-Azure-Ref" : "0W77DYAAAAACDRLUuowkiS4ySbQcMP6gYWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-3ac4-28c5-593a0d00ac23\"}}", - "x-ms-client-request-id" : "b36aa4f1-aa79-4eae-86a9-31ac418224cd", + "X-Processing-Time" : "57ms", + "MS-CV" : "KH1/nAQEq02cZkOdS1eUIA.0", + "X-Azure-Ref" : "05YfLYAAAAAAzpypZiWm0RJfbGTvfEV66V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7e9c-e3c7-593a0d00f7fd\"}}", + "x-ms-client-request-id" : "6b5816e9-c4d8-4c14-a175-66180560d18d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "523cfca5-ecb9-49fb-b9a4-fb80e4e83723", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,13 +36,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:47 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "tM5yUrCHbEyEax9wTPKM+w.0", - "X-Azure-Ref" : "0W77DYAAAAAAhiKiorQ9+QL0LLZu/M7IuWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-3b04-28c5-593a0d00ac24\"}}", - "x-ms-client-request-id" : "523cfca5-ecb9-49fb-b9a4-fb80e4e83723", + "X-Processing-Time" : "63ms", + "MS-CV" : "DzjqurbgP0my9LSxw9oVKA.0", + "X-Azure-Ref" : "05ofLYAAAAAARvisQUWiESJbxXG3AhK/tV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7f0a-99c6-593a0d00cc41\"}}", + "x-ms-client-request-id" : "561113cb-888d-4c41-b2e1-30e9ed2e0179", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,8 +51,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "4b90b68b-2d92-4c06-9cf1-b79eb2e1dab5", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:47 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "19ms", - "MS-CV" : "Iq5ZWzm6q0+/bCE8dKHh0A.0", - "X-Azure-Ref" : "0W77DYAAAAAC74WFEf44YT5eSNuyCvt13WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-3b47-28c5-593a0d00ac25\"}}", - "x-ms-client-request-id" : "4b90b68b-2d92-4c06-9cf1-b79eb2e1dab5", + "X-Processing-Time" : "41ms", + "MS-CV" : "0eIHRpoM+EOtUUqs2VFbgQ.0", + "X-Azure-Ref" : "05ofLYAAAAAB87dPRQ96oTqH4kha3a5mmV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7f54-e3c7-593a0d00f7fe\"}}", + "x-ms-client-request-id" : "6ac370d8-3246-49b1-95b3-3992e850e9f8", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "c938ba3a-ba94-42ba-80e2-d0b557f93e40", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -88,23 +84,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:47 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "wbRIrPHzxky5l2B846F4gQ.0", - "X-Azure-Ref" : "0XL7DYAAAAACe8L72oEdGQKKVV2y9xKIhWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-3b8b-28c5-593a0d00ac26\"}}", - "x-ms-client-request-id" : "c938ba3a-ba94-42ba-80e2-d0b557f93e40", + "X-Processing-Time" : "58ms", + "MS-CV" : "gtM5pigZ2EGRAejkGGHxBQ.0", + "X-Azure-Ref" : "05ofLYAAAAADepOJKNTlLQYN3L6shW0m9V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7fae-e3c7-593a0d00f7ff\"}}", + "x-ms-client-request-id" : "9d44e564-875c-4cc6-8ed2-d1d39a091dd4", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-3ac4-28c5-593a0d00ac23/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7e9c-e3c7-593a0d00f7fd/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "b6ec30de-2da4-4c30-b877-7072f90fd75b", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -113,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:47 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:34 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "26ms", - "MS-CV" : "orYKOedYt0y38DG+2R4iqw.0", - "X-Azure-Ref" : "0XL7DYAAAAABunXKJqVuYTYcMmr14/C31WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:47.1264678+00:00\"}", - "x-ms-client-request-id" : "b6ec30de-2da4-4c30-b877-7072f90fd75b", + "X-Processing-Time" : "65ms", + "MS-CV" : "0QcmOXo9JUKBMiISrXCqgQ.0", + "X-Azure-Ref" : "05ofLYAAAAABcEUJpFUwvS6zsdh5AoRVqV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:33.4269606+00:00\"}", + "x-ms-client-request-id" : "361b78dd-3f38-49b1-b3cb-ea14420a7327", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -128,8 +123,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "e40aede6-5683-4280-a76a-c9231ec2854f", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "942c0b68-1e4d-4bcf-be29-9d657ee0a03c", "Content-Type" : "application/json" }, "Response" : { @@ -138,22 +133,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:48 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:34 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "717ms", - "MS-CV" : "Pt4TpeT11k2Jq3xviHDSSQ.0", - "X-Azure-Ref" : "0XL7DYAAAAACn95awvPL3RrMBddsTSc8nWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:4Cur_tytPTorKnovdxdEss_Pc31IYIU9crynD3eE5AY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:48Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-3ac4-28c5-593a0d00ac23\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-3ac4-28c5-593a0d00ac23\"}}}}", + "X-Processing-Time" : "411ms", + "MS-CV" : "D5ygYCOqckybY4VDVFvhqw.0", + "X-Azure-Ref" : "05ofLYAAAAADxlYK/mlgWRoV3BHh82dfOV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:riFJUb8t5zivyjAqr6EUIo5uGnzN_RhfRSMwtFB3h8c1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:34Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7e9c-e3c7-593a0d00f7fd\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7e9c-e3c7-593a0d00f7fd\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3A4Cur_tytPTorKnovdxdEss_Pc31IYIU9crynD3eE5AY1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AriFJUb8t5zivyjAqr6EUIo5uGnzN_RhfRSMwtFB3h8c1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4Cur_tytPTorKnovdxdEss_Pc31IYIU9crynD3eE5AY1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:riFJUb8t5zivyjAqr6EUIo5uGnzN_RhfRSMwtFB3h8c1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "c7599310-6f90-4f6a-89e8-2aa0fa127865", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "c424cc57-6b42-434e-9974-4ca166dc1f0c", "Content-Type" : "application/json" }, "Response" : { @@ -162,33 +157,33 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:48 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:34 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "126ms", - "MS-CV" : "+7gRRZzRmkOQHvK/vG/IfQ.0", - "X-Azure-Ref" : "0XL7DYAAAAABhl2fzTuPBTb/R1zoD7ab5WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"id\":\"1623440989004\"}", + "X-Processing-Time" : "283ms", + "MS-CV" : "ujqGqgyvZ0W3LUnR3Hqjfw.0", + "X-Azure-Ref" : "05ofLYAAAAACh6lzSZd+NQKaGwWJq7OJoV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623951335047\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3A4Cur_tytPTorKnovdxdEss_Pc31IYIU9crynD3eE5AY1@thread.v2/messages/1623440989004" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AriFJUb8t5zivyjAqr6EUIo5uGnzN_RhfRSMwtFB3h8c1@thread.v2/messages/1623951335047" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4Cur_tytPTorKnovdxdEss_Pc31IYIU9crynD3eE5AY1@thread.v2/messages/1623440989004?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:riFJUb8t5zivyjAqr6EUIo5uGnzN_RhfRSMwtFB3h8c1@thread.v2/messages/1623951335047?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "a7cecfde-8e42-4332-846f-ea1edba610e4" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "bdafa6de-211a-4891-9a72-0a5976a2a544" }, "Response" : { "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", - "X-Processing-Time" : "128ms", - "MS-CV" : "Im+ORKE4cUWCETIvQzZMRg.0", + "X-Processing-Time" : "169ms", + "MS-CV" : "+1A83YdsoE+AwgmaJ+aL7Q.0", "retry-after" : "0", - "X-Azure-Ref" : "0Xb7DYAAAAACVY+zLGYi+S6dbCg0fag8CWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "054fLYAAAAACJFkQcUpqJT7J7QMJcGN0ZV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:49:48 GMT" + "Date" : "Thu, 17 Jun 2021 17:35:34 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 88af6ca860133..5f0ed5898cc80 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "426b0db7-35b4-4fa3-adae-b0bceec0193f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:58 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "5eR7tNO970mtwq6j+2/QCQ.0", - "X-Azure-Ref" : "0Zr7DYAAAAAALp01q5IgZS5LyME6/RT6qWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-6656-28c5-593a0d00ac48\"}}", - "x-ms-client-request-id" : "426b0db7-35b4-4fa3-adae-b0bceec0193f", + "X-Processing-Time" : "38ms", + "MS-CV" : "jnfzk1k8REyuM/aydCygrg.0", + "X-Azure-Ref" : "08ofLYAAAAACB/VFebmJoQbfZwerA0sX0V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-addf-e3c7-593a0d00f815\"}}", + "x-ms-client-request-id" : "8cf7c09d-c662-47de-b706-2b653416d491", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "49071811-ed21-49d2-b2a0-04542023cb9c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,13 +36,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:58 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "25ms", - "MS-CV" : "ZnOsMAr9R0i/MoESdLcRYw.0", - "X-Azure-Ref" : "0Z77DYAAAAACJhcowwuBCQpY+bIM/eVjeWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-669e-28c5-593a0d00ac49\"}}", - "x-ms-client-request-id" : "49071811-ed21-49d2-b2a0-04542023cb9c", + "X-Processing-Time" : "36ms", + "MS-CV" : "4WOmVTETO02Yfk+Ohs0xPg.0", + "X-Azure-Ref" : "08ofLYAAAAAC5vArEIjGrTbt8SRJznkOIV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-ae1d-e3c7-593a0d00f816\"}}", + "x-ms-client-request-id" : "0335ff8f-b0b7-4794-b305-65cef312452d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,8 +51,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "7d6f8e16-8185-4a3d-8966-4ede075976a9", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:58 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "vdrpSGjEOE+dPnC2bZJRPg.0", - "X-Azure-Ref" : "0Z77DYAAAAAAQF0VBnoz5Q6Ql5ghdqz87WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-66f7-28c5-593a0d00ac4a\"}}", - "x-ms-client-request-id" : "7d6f8e16-8185-4a3d-8966-4ede075976a9", + "X-Processing-Time" : "57ms", + "MS-CV" : "Hs+YtewTUECvSx+PrvPgnQ.0", + "X-Azure-Ref" : "08ofLYAAAAADoJq3EsZpWSIHBAmKFcL6/V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-ae78-e3c7-593a0d00f817\"}}", + "x-ms-client-request-id" : "5a7e6db6-a060-48c4-8456-80b5757d8ceb", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "2d320b21-ba0f-498a-a174-653d7c7b7363", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -88,23 +84,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:58 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "bMCurIsE3kOjHjIYq3dL0g.0", - "X-Azure-Ref" : "0Z77DYAAAAADezvhzL5O7S6brmKHxED5eWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-673b-28c5-593a0d00ac4b\"}}", - "x-ms-client-request-id" : "2d320b21-ba0f-498a-a174-653d7c7b7363", + "X-Processing-Time" : "34ms", + "MS-CV" : "DT1+k4OCsUW+7wqUQXj4HQ.0", + "X-Azure-Ref" : "08ofLYAAAAAA7k9Ym1Ec9QZTugAE0PyiQV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-aed2-99c6-593a0d00cc4d\"}}", + "x-ms-client-request-id" : "3f6f0225-9b73-4fe3-a50f-69c5d91e4c82", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-6656-28c5-593a0d00ac48/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-addf-e3c7-593a0d00f815/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "14a7c863-a870-4818-967c-02b4d08edee6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -113,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:58 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:46 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "tNIw7AZ/iEWOKdBiia8dIA.0", - "X-Azure-Ref" : "0Z77DYAAAAAC2FBb4GekiQJS3ktQ86dkuWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:58.3031538+00:00\"}", - "x-ms-client-request-id" : "14a7c863-a870-4818-967c-02b4d08edee6", + "X-Processing-Time" : "65ms", + "MS-CV" : "jc0II6fI+0a+mgZRW8OQtg.0", + "X-Azure-Ref" : "08ofLYAAAAACQ5UBYY2lqSon4l3r2XIj2V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:45.492615+00:00\"}", + "x-ms-client-request-id" : "9c6509a9-ba48-4feb-b3c1-514753dbc1d2", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -128,8 +123,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "d260fd5e-507f-4538-9c52-419bb8a097cb", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "4c2f29ab-743a-4352-84d8-8b345ad2eeeb", "Content-Type" : "application/json" }, "Response" : { @@ -138,22 +133,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:58 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:46 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "524ms", - "MS-CV" : "JF86euTSYEunTOdvdHZSAw.0", - "X-Azure-Ref" : "0Z77DYAAAAAAGR26lq/psSqYEoItQc5G7WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:gqbaCsiJX10nZNmboq0e6hi6II8PA1_1_LlrfHaAEP81@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:59Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-6656-28c5-593a0d00ac48\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-6656-28c5-593a0d00ac48\"}}}}", + "X-Processing-Time" : "545ms", + "MS-CV" : "5M5+dO7lokS4gkn2FpwMDQ.0", + "X-Azure-Ref" : "08ofLYAAAAACrhVEfEOQLQ7hVQtSWrhi/V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:bw7HGTUfX7TfDTckNDPifTK233aMSrwx1XqpeYwevyE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:46Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-addf-e3c7-593a0d00f815\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-addf-e3c7-593a0d00f815\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AgqbaCsiJX10nZNmboq0e6hi6II8PA1_1_LlrfHaAEP81@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Abw7HGTUfX7TfDTckNDPifTK233aMSrwx1XqpeYwevyE1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:gqbaCsiJX10nZNmboq0e6hi6II8PA1_1_LlrfHaAEP81@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:bw7HGTUfX7TfDTckNDPifTK233aMSrwx1XqpeYwevyE1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "bab79358-5f4a-477a-a78d-7da474260d97", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "e4674c57-f9a1-4f88-8981-fcaecc098714", "Content-Type" : "application/json" }, "Response" : { @@ -162,33 +157,33 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:59 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:46 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "139ms", - "MS-CV" : "p7k7nqWeSEuSNmINOrhcIQ.0", - "X-Azure-Ref" : "0Z77DYAAAAADjySZEy0sCRo0TlwN3XTBdWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"id\":\"1623440999967\"}", + "X-Processing-Time" : "175ms", + "MS-CV" : "1F8VfPxKAka58fymrkWnWQ.0", + "X-Azure-Ref" : "084fLYAAAAACuXI+zFmrETq1UftRwfT+ZV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623951347174\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AgqbaCsiJX10nZNmboq0e6hi6II8PA1_1_LlrfHaAEP81@thread.v2/messages/1623440999967" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Abw7HGTUfX7TfDTckNDPifTK233aMSrwx1XqpeYwevyE1@thread.v2/messages/1623951347174" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:gqbaCsiJX10nZNmboq0e6hi6II8PA1_1_LlrfHaAEP81@thread.v2/messages/1623440999967?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:bw7HGTUfX7TfDTckNDPifTK233aMSrwx1XqpeYwevyE1@thread.v2/messages/1623951347174?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "39645a13-d325-4bc4-9bb0-7e8ddf627bb8" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "9f5862a7-d31f-458f-b6e0-5f9603a60ed4" }, "Response" : { "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", - "X-Processing-Time" : "128ms", - "MS-CV" : "ve81pprCBkW4A1YncQ16jQ.0", + "X-Processing-Time" : "212ms", + "MS-CV" : "GezWjZDnhEmAsbJGV3wj7Q.0", "retry-after" : "0", - "X-Azure-Ref" : "0aL7DYAAAAAC+v0Ra0KVWSKo+vGCPjpp8WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "084fLYAAAAAArs/1DfgREQauabNc1nkozV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:49:59 GMT" + "Date" : "Thu, 17 Jun 2021 17:35:46 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 490cb12cffb9a..11196784fec31 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "bd80dde0-01e3-4d0d-9aec-1b9130ca2e88", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:53 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:41 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "VSPcvvXuukKBV7cLjB/qCQ.0", - "X-Azure-Ref" : "0Yr7DYAAAAAB3eJ2mbVAZSKTgbRvUE8JfWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-5555-28c5-593a0d00ac3b\"}}", - "x-ms-client-request-id" : "bd80dde0-01e3-4d0d-9aec-1b9130ca2e88", + "X-Processing-Time" : "27ms", + "MS-CV" : "jH9IWfPA20ygxr/r73Xx4g.0", + "X-Azure-Ref" : "07YfLYAAAAACQHHAVZtsoTb+ZrYhjI70vV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-9d25-e3c7-593a0d00f80c\"}}", + "x-ms-client-request-id" : "7f91ac4e-0cf9-457f-9874-3841b5f3034a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "40c6fbbf-15d3-4e94-936a-e38bdfde204f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,13 +36,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:54 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:41 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "237ms", - "MS-CV" : "tlIB4j4xtUC1V16BRnO79A.0", - "X-Azure-Ref" : "0Yr7DYAAAAABUfL6r2eHiT73g7R5NefveWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-566d-28c5-593a0d00ac3c\"}}", - "x-ms-client-request-id" : "40c6fbbf-15d3-4e94-936a-e38bdfde204f", + "X-Processing-Time" : "62ms", + "MS-CV" : "2nMQog26F0iH5aS0SUjiOQ.0", + "X-Azure-Ref" : "07YfLYAAAAADeNK7HkhkETrib1bDBPLkwV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-9d83-99c6-593a0d00cc48\"}}", + "x-ms-client-request-id" : "d6692ed5-bdaf-42dd-954c-fab6c7f809e1", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,8 +51,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "61263f0e-3174-4602-a155-4aba07657cbb", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:54 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:41 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "20ms", - "MS-CV" : "ht9VNV8Je0ahTF4STXXMyA.0", - "X-Azure-Ref" : "0Yr7DYAAAAABGfofZMtMQSK+Dv+tvwAHJWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-56bc-28c5-593a0d00ac3d\"}}", - "x-ms-client-request-id" : "61263f0e-3174-4602-a155-4aba07657cbb", + "X-Processing-Time" : "32ms", + "MS-CV" : "uYrznWoQpkqlMTtvk/Xzag.0", + "X-Azure-Ref" : "07YfLYAAAAADyuoVPSxGETaun83VRWMguV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-9dc4-e3c7-593a0d00f80d\"}}", + "x-ms-client-request-id" : "4dde0445-9d45-451b-9a0c-a65248546b10", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "3afc21e6-5fbd-47a1-88e0-2e273949dc94", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -88,23 +84,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:54 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:41 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "T4mz65UU3kmDNvlRcZ+EiA.0", - "X-Azure-Ref" : "0Y77DYAAAAADUgg6WrVZbTY5M9AtRvZq5WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-5709-28c5-593a0d00ac3e\"}}", - "x-ms-client-request-id" : "3afc21e6-5fbd-47a1-88e0-2e273949dc94", + "X-Processing-Time" : "56ms", + "MS-CV" : "48jhjSToN0KRsPc+wfV8Iw.0", + "X-Azure-Ref" : "07ofLYAAAAABGww9k3ofmS4azM6XI66zYV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-9e1a-e3c7-593a0d00f80e\"}}", + "x-ms-client-request-id" : "8ccfd5f0-af57-4de7-8304-b59cb8128dd1", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-5555-28c5-593a0d00ac3b/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-9d25-e3c7-593a0d00f80c/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "b4bbfb2a-ad9f-4d66-b1ba-8fc62f8ae39e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -113,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:54 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:41 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "iaxHmTiTjEWzlm1fYV7WBQ.0", - "X-Azure-Ref" : "0Y77DYAAAAACD0NwS1kciQJ0optbKfTAXWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:54.1591989+00:00\"}", - "x-ms-client-request-id" : "b4bbfb2a-ad9f-4d66-b1ba-8fc62f8ae39e", + "X-Processing-Time" : "37ms", + "MS-CV" : "QalMSvlDtUyIKLBCJQ4wpw.0", + "X-Azure-Ref" : "07ofLYAAAAAAGwOTJNCoHQbCYASDaU58eV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:41.1831256+00:00\"}", + "x-ms-client-request-id" : "5419c578-4624-4af9-91a8-0320f3d1066a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -128,8 +123,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "1fc08f1e-0c34-4d1b-8aee-e4e258a2b4a9", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "a3f56a83-8555-4ab4-a870-92e0c19f2952", "Content-Type" : "application/json" }, "Response" : { @@ -138,35 +133,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:55 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "624ms", - "MS-CV" : "t7OuqO5t1EaxgHgsuNjxUg.0", - "X-Azure-Ref" : "0Y77DYAAAAAAwMKm2So4eSbdpDyE7VtxgWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:m6j7s9ivB3I3s3fZIkrDKpxQE9QBayr79JPMW3ONAX01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:55Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-5555-28c5-593a0d00ac3b\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-5555-28c5-593a0d00ac3b\"}}}}", + "X-Processing-Time" : "536ms", + "MS-CV" : "ZIDysfguKUCKGV4lh1A49A.0", + "X-Azure-Ref" : "07ofLYAAAAABwHHJ/lZnNQocI7GPchwORV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:195aVQ_wGOGoq3EOJSkO49h0j6BUUfNq8-GgeBCX8vM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:42Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-9d25-e3c7-593a0d00f80c\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-9d25-e3c7-593a0d00f80c\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3Am6j7s9ivB3I3s3fZIkrDKpxQE9QBayr79JPMW3ONAX01@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A195aVQ_wGOGoq3EOJSkO49h0j6BUUfNq8-GgeBCX8vM1@thread.v2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:m6j7s9ivB3I3s3fZIkrDKpxQE9QBayr79JPMW3ONAX01@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:195aVQ_wGOGoq3EOJSkO49h0j6BUUfNq8-GgeBCX8vM1@thread.v2?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "5e3155e1-4fe5-4716-80b2-90ebaa8d9478" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "465f0762-3fbf-4e87-8ded-015afc580a1e" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "80ms", - "MS-CV" : "AkrFl1s+sUmJN9cyroXCYw.0", + "X-Processing-Time" : "100ms", + "MS-CV" : "qkvxV60/BkmTWeoa67yOxg.0", "retry-after" : "0", - "X-Azure-Ref" : "0Y77DYAAAAADZ6/DGjp4KQJUME53n+sK4WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "07ofLYAAAAABODA4Rzkj9T6tpx0XSSkmMV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"19:m6j7s9ivB3I3s3fZIkrDKpxQE9QBayr79JPMW3ONAX01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:55Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-5555-28c5-593a0d00ac3b\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-5555-28c5-593a0d00ac3b\"}}}", - "Date" : "Fri, 11 Jun 2021 19:49:55 GMT", + "Body" : "{\"id\":\"19:195aVQ_wGOGoq3EOJSkO49h0j6BUUfNq8-GgeBCX8vM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:42Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-9d25-e3c7-593a0d00f80c\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-9d25-e3c7-593a0d00f80c\"}}}", + "Date" : "Thu, 17 Jun 2021 17:35:42 GMT", "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 b821037dc8a77..1a4eaf79263f8 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "a8afc0df-2658-4934-96d4-cd5c4420e4dc", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:59 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:47 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "24ms", - "MS-CV" : "jL3s1EW1h0+IB9eTLmSGdQ.0", - "X-Azure-Ref" : "0aL7DYAAAAAAkCGbJ3AZ5TZKqyLtfL0/pWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-6b70-28c5-593a0d00ac4c\"}}", - "x-ms-client-request-id" : "a8afc0df-2658-4934-96d4-cd5c4420e4dc", + "X-Processing-Time" : "30ms", + "MS-CV" : "UgteDt5SdE+8vqXmX3hU5w.0", + "X-Azure-Ref" : "084fLYAAAAAABJ3KJ0TtsT7koHjBkOfmCV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b3bb-e3c7-593a0d00f818\"}}", + "x-ms-client-request-id" : "1fa0eb72-ca12-4290-ae2c-aad3cec2cc50", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "a66a205b-02c9-4473-ad8b-c0a1676ef1ef", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,13 +36,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:59 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:47 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "NBCZ2ISv7kGCM4U0Mu4QwQ.0", - "X-Azure-Ref" : "0aL7DYAAAAAA2eNVlKxiPRpaa/JwcGU+aWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-6bb0-28c5-593a0d00ac4d\"}}", - "x-ms-client-request-id" : "a66a205b-02c9-4473-ad8b-c0a1676ef1ef", + "X-Processing-Time" : "33ms", + "MS-CV" : "ocUgIovvuUWiYZI8nf1eRA.0", + "X-Azure-Ref" : "084fLYAAAAAAkHwuU8pnGQ4Mltb4vkwalV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b400-e3c7-593a0d00f819\"}}", + "x-ms-client-request-id" : "bacef1d5-ed15-4625-b790-4db9419ef941", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,8 +51,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "9d7488b6-3626-4b05-b97d-d6552438815c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:59 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:47 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "MahXkHk9pEykV6hQAXLl/g.0", - "X-Azure-Ref" : "0aL7DYAAAAADieZE9kRg6RqZaYYPEFi5qWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-6bf5-28c5-593a0d00ac4e\"}}", - "x-ms-client-request-id" : "9d7488b6-3626-4b05-b97d-d6552438815c", + "X-Processing-Time" : "31ms", + "MS-CV" : "o8bQO8Z5PUS+b0mp3WIrgw.0", + "X-Azure-Ref" : "084fLYAAAAAAu+/xJb2RDRZeBUczU0K+CV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b46d-e3c7-593a0d00f81a\"}}", + "x-ms-client-request-id" : "3f5211bc-7cc3-4146-a5e3-2f496c3ea0a2", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "ab4bd8e9-c3b9-49f8-9b01-622b4153bc67", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -88,23 +84,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:00 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:47 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "Cz19S4xqj0ib8wDPSCkhTA.0", - "X-Azure-Ref" : "0ab7DYAAAAAAl2uDi1G2cS6JLUc/uKbgYWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-6e64-28c5-593a0d00ac4f\"}}", - "x-ms-client-request-id" : "ab4bd8e9-c3b9-49f8-9b01-622b4153bc67", + "X-Processing-Time" : "33ms", + "MS-CV" : "Bw5V3aKGWkmfmdFUkrwg/A.0", + "X-Azure-Ref" : "084fLYAAAAADct8z0XykeTrqLb4Rm8Du8V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b4af-99c6-593a0d00cc50\"}}", + "x-ms-client-request-id" : "eb9510bf-9239-4b4f-ad27-de0cad46ab30", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-6b70-28c5-593a0d00ac4c/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b3bb-e3c7-593a0d00f818/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "9337cb0a-a997-45cd-abd6-2d11907c57f4", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -113,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:50:00 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:47 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "26ms", - "MS-CV" : "JxqE2tlZSEK5DKpcxTnI9A.0", - "X-Azure-Ref" : "0ab7DYAAAAAAVSj5+WqSaSrRvdlHru+N4WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:50:00.3821557+00:00\"}", - "x-ms-client-request-id" : "9337cb0a-a997-45cd-abd6-2d11907c57f4", + "X-Processing-Time" : "39ms", + "MS-CV" : "wloRyGirCUCa0uOoOmP72w.0", + "X-Azure-Ref" : "084fLYAAAAACByR6J6MoES757TQ8xObEZV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:46.967446+00:00\"}", + "x-ms-client-request-id" : "2ab91844-5398-44db-a8b5-60c9e6771fe2", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -128,8 +123,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "f586308f-86f6-402c-9591-a6d47e78569d", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "2e5335df-7793-4f66-9ded-89311334c9b1", "Content-Type" : "application/json" }, "Response" : { @@ -138,35 +133,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:01 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:47 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "692ms", - "MS-CV" : "L6YfMR/uh0Ci6i4a0hXs4g.0", - "X-Azure-Ref" : "0ab7DYAAAAAA/P3jge76tQ5zFMLfx34J+WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:2S8_X5WqPdXSdqLxbu26Weq1g0liPougkvKQ8tP4kmo1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:50:01Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-6b70-28c5-593a0d00ac4c\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-6b70-28c5-593a0d00ac4c\"}}}}", + "X-Processing-Time" : "485ms", + "MS-CV" : "v7BboSVr70i0tP7hHLEW5w.0", + "X-Azure-Ref" : "084fLYAAAAABwCz7irEigSbYlA2kVQWb1V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:H4eqK51AiWMScTMWBYkynN17PmO1LTo4A1g2gdjx5Tw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:48Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b3bb-e3c7-593a0d00f818\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b3bb-e3c7-593a0d00f818\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3A2S8_X5WqPdXSdqLxbu26Weq1g0liPougkvKQ8tP4kmo1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AH4eqK51AiWMScTMWBYkynN17PmO1LTo4A1g2gdjx5Tw1@thread.v2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:2S8_X5WqPdXSdqLxbu26Weq1g0liPougkvKQ8tP4kmo1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:H4eqK51AiWMScTMWBYkynN17PmO1LTo4A1g2gdjx5Tw1@thread.v2?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "2ffcf74b-794f-4866-acb0-0e3e7cdbef44" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "49e76d43-70b3-4dbc-acf0-638529a36065" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "109ms", - "MS-CV" : "y5dsx4dJIkevjZE23kO/Pw.0", + "X-Processing-Time" : "121ms", + "MS-CV" : "S5qOiDqgwkSF79IjZyLwwg.0", "retry-after" : "0", - "X-Azure-Ref" : "0ar7DYAAAAABvT077cdfXSZMXWn/VLTyiWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "09IfLYAAAAAC90uJYZzf1Q6DfMPg69FsJV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"19:2S8_X5WqPdXSdqLxbu26Weq1g0liPougkvKQ8tP4kmo1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:50:01Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-6b70-28c5-593a0d00ac4c\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-6b70-28c5-593a0d00ac4c\"}}}", - "Date" : "Fri, 11 Jun 2021 19:50:01 GMT", + "Body" : "{\"id\":\"19:H4eqK51AiWMScTMWBYkynN17PmO1LTo4A1g2gdjx5Tw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:48Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b3bb-e3c7-593a0d00f818\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b3bb-e3c7-593a0d00f818\"}}}", + "Date" : "Thu, 17 Jun 2021 17:35:48 GMT", "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 5bd148cc7841b..77941271b4695 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "3675fd15-4532-4045-8fd1-2c5151fc754e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:45 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:31 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "Hkems+fNkUO9bMxPKf+l8A.0", - "X-Azure-Ref" : "0Wr7DYAAAAAAVXxtkZ0LtSZGRdARlCVyeWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-3530-28c5-593a0d00ac1f\"}}", - "x-ms-client-request-id" : "3675fd15-4532-4045-8fd1-2c5151fc754e", + "X-Processing-Time" : "31ms", + "MS-CV" : "KaDcxE2vTUWtmANKc7QZ8A.0", + "X-Azure-Ref" : "044fLYAAAAABdsKLtcQCyTIXAHdBiiyxxV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\"}}", + "x-ms-client-request-id" : "239552b9-95d4-4717-87bd-aa92d0e575c4", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "33e27454-59a7-414a-9ded-b3a750021763", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,13 +36,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:45 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:31 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "EeA0y7/CYUalQRcJOOnlaw.0", - "X-Azure-Ref" : "0Wr7DYAAAAAAef8YM9+iZRoHg8Pq4FcqZWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-3570-28c5-593a0d00ac20\"}}", - "x-ms-client-request-id" : "33e27454-59a7-414a-9ded-b3a750021763", + "X-Processing-Time" : "31ms", + "MS-CV" : "njcJQvW9VEOWrV78CAU2ng.0", + "X-Azure-Ref" : "05IfLYAAAAAC43vWXSPFwT6z/QDgsqcT4V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-76d2-e3c7-593a0d00f7fb\"}}", + "x-ms-client-request-id" : "b343b598-05ea-4922-86a7-e86c62bf6df2", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,8 +51,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "51c8ca80-a6f7-4e98-b8d3-92e2e81848cf", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:45 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:31 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "24ms", - "MS-CV" : "TPmts2cGmE+0EAk5BibRyg.0", - "X-Azure-Ref" : "0Wr7DYAAAAADBOQ0mMz83T61J16MeDv2xWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-35b7-28c5-593a0d00ac21\"}}", - "x-ms-client-request-id" : "51c8ca80-a6f7-4e98-b8d3-92e2e81848cf", + "X-Processing-Time" : "32ms", + "MS-CV" : "DJ8MvIQR/0SUxWcqmvQdvQ.0", + "X-Azure-Ref" : "05IfLYAAAAAAY6yYMNgQPTowoTWLLIDI7V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-775e-99c6-593a0d00cc40\"}}", + "x-ms-client-request-id" : "0dd9fabf-1cbd-4f77-aa3b-48b8f534b122", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "810e5c4a-3b2d-48f4-b679-461ecb564a05", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -88,23 +84,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:45 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:31 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "exCUj6mSSU+9y7/UHpK0iQ.0", - "X-Azure-Ref" : "0Wr7DYAAAAAAV23MnueilQ5Gb+nV8BZueWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-3609-28c5-593a0d00ac22\"}}", - "x-ms-client-request-id" : "810e5c4a-3b2d-48f4-b679-461ecb564a05", + "X-Processing-Time" : "32ms", + "MS-CV" : "6jGgNQeXK0yJbUjsDKIJHg.0", + "X-Azure-Ref" : "05IfLYAAAAACe2DTcqPbWQ6yalzfkP8C8V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-77a4-e3c7-593a0d00f7fc\"}}", + "x-ms-client-request-id" : "a51f7d76-ddcd-4223-b10d-0b54b340e186", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-3530-28c5-593a0d00ac1f/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "2b6b94ed-6b21-4be8-b80b-475433c23028", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -113,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:45 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:31 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "4t9onIuUn0GWAedeD2JVWw.0", - "X-Azure-Ref" : "0Wr7DYAAAAAB+2mVzr+lLS5+D5XIiogxBWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:45.7174598+00:00\"}", - "x-ms-client-request-id" : "2b6b94ed-6b21-4be8-b80b-475433c23028", + "X-Processing-Time" : "37ms", + "MS-CV" : "+KPW/NwrGE6S1rjwbQy45A.0", + "X-Azure-Ref" : "05IfLYAAAAADRRVSy1A8aTKn2qCzRXHgyV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:31.3379288+00:00\"}", + "x-ms-client-request-id" : "da6f5643-ff4a-42d6-bd03-15142a90056b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -128,8 +123,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "5014e5a0-f21c-4af1-a5b4-cccd54eed493", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "cba10040-c4a4-4096-9ca8-b240a645675b", "Content-Type" : "application/json" }, "Response" : { @@ -138,22 +133,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:46 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:32 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "453ms", - "MS-CV" : "5xRj9d6JeEuaMAFTge8B2A.0", - "X-Azure-Ref" : "0Wr7DYAAAAAARjTjgUBQTQ41kATUgJes+WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:GxJsLk-kSjKT-wrsvGaAss7sRo6rrD0bNMe1CL7Ug7w1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:46Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-3530-28c5-593a0d00ac1f\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-3530-28c5-593a0d00ac1f\"}}}}", + "X-Processing-Time" : "539ms", + "MS-CV" : "W+bQnIoPOkaXxhU1wjC1nA.0", + "X-Azure-Ref" : "05IfLYAAAAADGA0a95d8gQax3il8lOBsUV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:vAvpzBE8n2ch3KcsMHoFVmR65z-bpEDvhxlpCrup2Qw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:32Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AGxJsLk-kSjKT-wrsvGaAss7sRo6rrD0bNMe1CL7Ug7w1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AvAvpzBE8n2ch3KcsMHoFVmR65z-bpEDvhxlpCrup2Qw1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:GxJsLk-kSjKT-wrsvGaAss7sRo6rrD0bNMe1CL7Ug7w1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:vAvpzBE8n2ch3KcsMHoFVmR65z-bpEDvhxlpCrup2Qw1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "ff78ce1d-b0dd-4003-86d7-a33f309c40f4", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "8ac01b63-86a6-41ec-9701-d86a93592969", "Content-Type" : "application/json" }, "Response" : { @@ -162,22 +157,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:46 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:32 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "125ms", - "MS-CV" : "q9kn8y2QFEqLx3wChjODfA.0", - "X-Azure-Ref" : "0W77DYAAAAACPzXLZw46ETLwxGhXPRqOnWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"id\":\"1623440987339\"}", + "X-Processing-Time" : "255ms", + "MS-CV" : "yprgTSwz/0av0wSE0EBq3g.0", + "X-Azure-Ref" : "05YfLYAAAAAD9a0j3LCvGT6C78C9Q6vqyV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623951333393\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AGxJsLk-kSjKT-wrsvGaAss7sRo6rrD0bNMe1CL7Ug7w1@thread.v2/messages/1623440987339" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AvAvpzBE8n2ch3KcsMHoFVmR65z-bpEDvhxlpCrup2Qw1@thread.v2/messages/1623951333393" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:GxJsLk-kSjKT-wrsvGaAss7sRo6rrD0bNMe1CL7Ug7w1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:vAvpzBE8n2ch3KcsMHoFVmR65z-bpEDvhxlpCrup2Qw1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "16db84b2-49fc-4491-92ba-5f1070717036", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "b45a6bb0-5fb7-4ebe-a38a-527338a3d742", "Content-Type" : "application/json" }, "Response" : { @@ -186,35 +181,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:46 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "136ms", - "MS-CV" : "tLRRfN4dpEiN0c3i/VDinQ.0", - "X-Azure-Ref" : "0W77DYAAAAAB+0o2rPcUMTLXTddmnoTzfWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"id\":\"1623440987509\"}", + "X-Processing-Time" : "176ms", + "MS-CV" : "pSh0bxl9+E69NQbJyNtBow.0", + "X-Azure-Ref" : "05YfLYAAAAACunJIwSHYGRas5fjPGbijvV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623951333675\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AGxJsLk-kSjKT-wrsvGaAss7sRo6rrD0bNMe1CL7Ug7w1@thread.v2/messages/1623440987509" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AvAvpzBE8n2ch3KcsMHoFVmR65z-bpEDvhxlpCrup2Qw1@thread.v2/messages/1623951333675" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:GxJsLk-kSjKT-wrsvGaAss7sRo6rrD0bNMe1CL7Ug7w1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:vAvpzBE8n2ch3KcsMHoFVmR65z-bpEDvhxlpCrup2Qw1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "11f7d039-2070-4886-87e2-d3d2ad2c2322" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "8b549b53-77b1-4371-8b2a-21ef528abde6" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "94ms", - "MS-CV" : "FWv/FBvjS0mzNRLdzkK8/Q.0", + "X-Processing-Time" : "135ms", + "MS-CV" : "lZr4EO8RjkiEe/i5he8O4Q.0", "retry-after" : "0", - "X-Azure-Ref" : "0W77DYAAAAABbIa991fwyTKncrXW3hr4BWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "05YfLYAAAAABf4cpd5pkFS4JOvBq/xexAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"id\":\"1623440987509\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1623440987509\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-11T19:49:47Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-3530-28c5-593a0d00ac1f\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-3530-28c5-593a0d00ac1f\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}},{\"id\":\"1623440987339\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1623440987339\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-11T19:49:47Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-3530-28c5-593a0d00ac1f\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-3530-28c5-593a0d00ac1f\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}},{\"id\":\"1623440987089\",\"type\":\"topicUpdated\",\"sequenceId\":\"2\",\"version\":\"1623440987089\",\"content\":{\"topic\":\"Test\",\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-3530-28c5-593a0d00ac1f\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-3530-28c5-593a0d00ac1f\"}}},\"createdOn\":\"2021-06-11T19:49:47Z\"},{\"id\":\"1623440987059\",\"type\":\"participantAdded\",\"sequenceId\":\"1\",\"version\":\"1623440987059\",\"content\":{\"participants\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-3530-28c5-593a0d00ac1f\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-3530-28c5-593a0d00ac1f\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-3570-28c5-593a0d00ac20\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-3570-28c5-593a0d00ac20\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}],\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-3530-28c5-593a0d00ac1f\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-3530-28c5-593a0d00ac1f\"}}},\"createdOn\":\"2021-06-11T19:49:47Z\"}]}", - "Date" : "Fri, 11 Jun 2021 19:49:46 GMT", + "Body" : "{\"value\":[{\"id\":\"1623951333675\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1623951333675\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T17:35:33Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}},{\"id\":\"1623951333393\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1623951333393\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T17:35:33Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}},{\"id\":\"1623951332681\",\"type\":\"topicUpdated\",\"sequenceId\":\"2\",\"version\":\"1623951332681\",\"content\":{\"topic\":\"Test\",\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\"}}},\"createdOn\":\"2021-06-17T17:35:32Z\"},{\"id\":\"1623951332616\",\"type\":\"participantAdded\",\"sequenceId\":\"1\",\"version\":\"1623951332616\",\"content\":{\"participants\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-76d2-e3c7-593a0d00f7fb\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-76d2-e3c7-593a0d00f7fb\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}],\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\"}}},\"createdOn\":\"2021-06-17T17:35:32Z\"}]}", + "Date" : "Thu, 17 Jun 2021 17:35:33 GMT", "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 b006ecb1a183a..03ac29527df6d 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "1e815cf2-d131-46ad-a4a8-71ebea6b6f3a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:42 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:28 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "cnnR8s2T0E+DzUiMuuehgA.0", - "X-Azure-Ref" : "0V77DYAAAAAAH8Q5UySRMRJAvlBYDt/lUWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-29a3-28c5-593a0d00ac17\"}}", - "x-ms-client-request-id" : "1e815cf2-d131-46ad-a4a8-71ebea6b6f3a", + "X-Processing-Time" : "55ms", + "MS-CV" : "W1iCVMM3YkC4/3B5RAjlWw.0", + "X-Azure-Ref" : "04IfLYAAAAADsMgt8gCShTpCnoQ4jEnFmV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\"}}", + "x-ms-client-request-id" : "57c90ae5-4b66-4cef-97c1-a8581b8598ac", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "e44b2b91-8703-4099-8391-4883befcdfb1", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,13 +36,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:42 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:27 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "24ms", - "MS-CV" : "uwIJlxFyXU2wTqDhGK5Jnw.0", - "X-Azure-Ref" : "0V77DYAAAAAD3aoAPdsnyRrLJ1Wsch5lxWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-29ef-28c5-593a0d00ac18\"}}", - "x-ms-client-request-id" : "e44b2b91-8703-4099-8391-4883befcdfb1", + "X-Processing-Time" : "30ms", + "MS-CV" : "07lmKx0P90OfjFxxf7G5fg.0", + "X-Azure-Ref" : "04IfLYAAAAAAoXVtOfRf3QIBfpTiktvgMV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-68ad-e3c7-593a0d00f7f5\"}}", + "x-ms-client-request-id" : "979e8413-85d1-4e3b-a7df-f60bf0dc9f3a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,8 +51,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "e09a2950-0b16-4ced-9f46-4ef7aa3df176", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:42 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:28 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "24ms", - "MS-CV" : "iZE3QunsZU6ku8Gv3eTpxA.0", - "X-Azure-Ref" : "0V77DYAAAAADzBwO311svQaOtr5dJ5tt1WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-2a3d-28c5-593a0d00ac19\"}}", - "x-ms-client-request-id" : "e09a2950-0b16-4ced-9f46-4ef7aa3df176", + "X-Processing-Time" : "58ms", + "MS-CV" : "AXJQwECsYUCmJHiN0p4M6g.0", + "X-Azure-Ref" : "04IfLYAAAAABzj5a2cSCZS5KPcGSYwILkV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6905-e3c7-593a0d00f7f6\"}}", + "x-ms-client-request-id" : "a5c1b338-960d-4cde-b274-866ef57bc764", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "e11f8c0b-c506-4c41-b7b1-c6f656971abc", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -88,23 +84,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:42 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:28 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "k0/2XDxQOkOFCC2dTz3zWg.0", - "X-Azure-Ref" : "0V77DYAAAAAA4rSEIufyQQJ9kCkXHztxAWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-2a84-28c5-593a0d00ac1a\"}}", - "x-ms-client-request-id" : "e11f8c0b-c506-4c41-b7b1-c6f656971abc", + "X-Processing-Time" : "86ms", + "MS-CV" : "Tt9XWMTt/UuhObOdu6psUQ.0", + "X-Azure-Ref" : "04IfLYAAAAABiPHargh/2RqzDaxC9T6lAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6995-99c6-593a0d00cc3d\"}}", + "x-ms-client-request-id" : "b872aeb9-8c36-472c-9fa1-0a017b74c0af", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-29a3-28c5-593a0d00ac17/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "8ec45d2a-6511-4c74-93b2-cc2c3a9fbe8c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -113,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:43 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:28 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "F874ilOkPUqFYuFS9YvvfQ.0", - "X-Azure-Ref" : "0V77DYAAAAAB8Lh0wo17iRL1Camk5eBqHWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:42.7673581+00:00\"}", - "x-ms-client-request-id" : "8ec45d2a-6511-4c74-93b2-cc2c3a9fbe8c", + "X-Processing-Time" : "79ms", + "MS-CV" : "C++8bR+xeEOsFTTkYHjabQ.0", + "X-Azure-Ref" : "04IfLYAAAAAA3EGBeM9lpTLFNGQfyQNEoV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:27.8050927+00:00\"}", + "x-ms-client-request-id" : "21d7a2ee-de57-4495-b59d-d703f1bbfd56", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -128,8 +123,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "3a6926d2-7705-4c2c-81a0-6df81c8e62d1", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "bf47604b-4f34-40d9-8f0d-13ad61a489d6", "Content-Type" : "application/json" }, "Response" : { @@ -138,22 +133,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:43 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:28 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "543ms", - "MS-CV" : "8p7TkBPfjUengr9DarCn1Q.0", - "X-Azure-Ref" : "0V77DYAAAAACH8OiSwA1RSK4/yQCMAWliWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:4dRmeNoJn82R2XKe41YSk13m1-_KXcxZt5vpWJsJazA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:43Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-29a3-28c5-593a0d00ac17\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-29a3-28c5-593a0d00ac17\"}}}}", + "X-Processing-Time" : "630ms", + "MS-CV" : "cczhPY2DEUy9I9Hd3h9k6A.0", + "X-Azure-Ref" : "04IfLYAAAAAB95k48+XYlTonRTzeVXHxdV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:YCyqfEUPhEtKTdf2FytNnlDEkMNq9OzLwZ39sY0rvRs1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:28Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3A4dRmeNoJn82R2XKe41YSk13m1-_KXcxZt5vpWJsJazA1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AYCyqfEUPhEtKTdf2FytNnlDEkMNq9OzLwZ39sY0rvRs1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4dRmeNoJn82R2XKe41YSk13m1-_KXcxZt5vpWJsJazA1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:YCyqfEUPhEtKTdf2FytNnlDEkMNq9OzLwZ39sY0rvRs1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "12fc3f08-1517-4463-b1dd-012ac1ca5784", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "4b3edbde-d82a-4997-89aa-6eae93e63dcb", "Content-Type" : "application/json" }, "Response" : { @@ -162,22 +157,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:43 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:29 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "129ms", - "MS-CV" : "Wiuj2Zeig0OgBY9fcnXMpg.0", - "X-Azure-Ref" : "0WL7DYAAAAABANRUJBT1+QKFqBrCibVF0WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"id\":\"1623440984464\"}", + "X-Processing-Time" : "284ms", + "MS-CV" : "K+w6q0Rq5UyHyTxZ6ClBfg.0", + "X-Azure-Ref" : "04YfLYAAAAAA24wYt7zrpTav4x3NoF2kXV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623951330047\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3A4dRmeNoJn82R2XKe41YSk13m1-_KXcxZt5vpWJsJazA1@thread.v2/messages/1623440984464" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AYCyqfEUPhEtKTdf2FytNnlDEkMNq9OzLwZ39sY0rvRs1@thread.v2/messages/1623951330047" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4dRmeNoJn82R2XKe41YSk13m1-_KXcxZt5vpWJsJazA1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:YCyqfEUPhEtKTdf2FytNnlDEkMNq9OzLwZ39sY0rvRs1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "155e31f2-540d-49ed-9a05-8a1266242978", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "a3a71281-2292-4744-8a0f-a2b01f48b06f", "Content-Type" : "application/json" }, "Response" : { @@ -186,35 +181,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:43 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:29 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "136ms", - "MS-CV" : "vmKSECEbSk+ws4baVDytZw.0", - "X-Azure-Ref" : "0WL7DYAAAAAAupjjVxPXJSpmEQEdnFQyuWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"id\":\"1623440984639\"}", + "X-Processing-Time" : "153ms", + "MS-CV" : "9dhojvHyYES6PLFjBihMoA.0", + "X-Azure-Ref" : "04ofLYAAAAACdoYtnnN8oSp3dcYSdZ+kDV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623951330284\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3A4dRmeNoJn82R2XKe41YSk13m1-_KXcxZt5vpWJsJazA1@thread.v2/messages/1623440984639" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AYCyqfEUPhEtKTdf2FytNnlDEkMNq9OzLwZ39sY0rvRs1@thread.v2/messages/1623951330284" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4dRmeNoJn82R2XKe41YSk13m1-_KXcxZt5vpWJsJazA1@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:YCyqfEUPhEtKTdf2FytNnlDEkMNq9OzLwZ39sY0rvRs1@thread.v2/messages?maxPageSize=10&startTime=2020-09-08T01%3A02%3A14.387Z&api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "5524d6b3-b091-4d08-8ebd-c23648ce424c" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "ed6710da-76cf-4fff-b53e-faa864c622b3" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "94ms", - "MS-CV" : "o1rW5zyV8E+uFNtmVt2z2Q.0", + "X-Processing-Time" : "105ms", + "MS-CV" : "QU4/cKJHdUW+RjjYDhQjgw.0", "retry-after" : "0", - "X-Azure-Ref" : "0WL7DYAAAAACi3HW42ml1ToDRI3SF1EdzWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "04ofLYAAAAABsRWsQ2fXbRoZDMzaD4040V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"id\":\"1623440984639\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1623440984639\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-11T19:49:44Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-29a3-28c5-593a0d00ac17\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-29a3-28c5-593a0d00ac17\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}},{\"id\":\"1623440984464\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1623440984464\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-11T19:49:44Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-29a3-28c5-593a0d00ac17\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-29a3-28c5-593a0d00ac17\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}},{\"id\":\"1623440984146\",\"type\":\"topicUpdated\",\"sequenceId\":\"2\",\"version\":\"1623440984146\",\"content\":{\"topic\":\"Test\",\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-29a3-28c5-593a0d00ac17\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-29a3-28c5-593a0d00ac17\"}}},\"createdOn\":\"2021-06-11T19:49:44Z\"},{\"id\":\"1623440984061\",\"type\":\"participantAdded\",\"sequenceId\":\"1\",\"version\":\"1623440984061\",\"content\":{\"participants\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-29a3-28c5-593a0d00ac17\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-29a3-28c5-593a0d00ac17\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-29ef-28c5-593a0d00ac18\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-29ef-28c5-593a0d00ac18\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}],\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-29a3-28c5-593a0d00ac17\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-29a3-28c5-593a0d00ac17\"}}},\"createdOn\":\"2021-06-11T19:49:44Z\"}]}", - "Date" : "Fri, 11 Jun 2021 19:49:44 GMT", + "Body" : "{\"value\":[{\"id\":\"1623951330284\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1623951330284\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T17:35:30Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}},{\"id\":\"1623951330047\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1623951330047\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T17:35:30Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}},{\"id\":\"1623951329188\",\"type\":\"topicUpdated\",\"sequenceId\":\"2\",\"version\":\"1623951329188\",\"content\":{\"topic\":\"Test\",\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\"}}},\"createdOn\":\"2021-06-17T17:35:29Z\"},{\"id\":\"1623951329138\",\"type\":\"participantAdded\",\"sequenceId\":\"1\",\"version\":\"1623951329138\",\"content\":{\"participants\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-68ad-e3c7-593a0d00f7f5\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-68ad-e3c7-593a0d00f7f5\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}],\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\"}}},\"createdOn\":\"2021-06-17T17:35:29Z\"}]}", + "Date" : "Thu, 17 Jun 2021 17:35:30 GMT", "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 9a78712b0a730..3bce6762101c2 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 @@ -3,8 +3,8 @@ "Method" : "GET", "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "42e5f42b-8f17-4a34-b31c-34dcea2e0a7c" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "3ead657f-2d2c-425a-9f58-36a31d6d4909" }, "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 50f6268b5a5e5..cb5a3608c298d 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 @@ -3,8 +3,8 @@ "Method" : "GET", "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "31bc85a9-144c-4b51-ad98-3a766461c6d2" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "c4eb45ff-1fdb-46de-922c-f8f01e5c5a0a" }, "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 e731b2c48c774..c2b51ca5f7970 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "661068d1-81a4-4ad5-a004-c6c7e656d1d3", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:14 GMT", + "Date" : "Thu, 17 Jun 2021 17:36:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "25ms", - "MS-CV" : "k0/qmtkzW0OWnZ0/R5R4fw.0", - "X-Azure-Ref" : "0dr7DYAAAAABObiv52ZukRIncpE72SA+KWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-a35c-28c5-593a0d00ac77\"}}", - "x-ms-client-request-id" : "661068d1-81a4-4ad5-a004-c6c7e656d1d3", + "X-Processing-Time" : "56ms", + "MS-CV" : "HaQKbz3EuEKcaRiPiQHF7A.0", + "X-Azure-Ref" : "0BYjLYAAAAAALb4tc5tKrS5ccebUhvzaNV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-f8d0-e3c7-593a0d00f842\"}}", + "x-ms-client-request-id" : "d56dfbb8-d84a-4d81-a72a-fc37916a6b54", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "aaf7826f-d98f-4625-ada4-f182c084d666", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,13 +36,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:14 GMT", + "Date" : "Thu, 17 Jun 2021 17:36:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "25ms", - "MS-CV" : "qM6JlqSYVUK+kkwrNFYO2w.0", - "X-Azure-Ref" : "0dr7DYAAAAAAl9pH8ZYCpTZ01p6Be0qVIWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-a3d9-28c5-593a0d00ac78\"}}", - "x-ms-client-request-id" : "aaf7826f-d98f-4625-ada4-f182c084d666", + "X-Processing-Time" : "58ms", + "MS-CV" : "iUTCB/kmvkqZNtjC0wHRyQ.0", + "X-Azure-Ref" : "0BYjLYAAAAACkzeHMBJafR7di18uUf9U1V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-f925-e3c7-593a0d00f843\"}}", + "x-ms-client-request-id" : "ebb3cd92-2f41-4f4f-b29c-09125e64597a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,8 +51,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "f6b77615-5524-4d4b-a6e7-5cc39189a3aa", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:14 GMT", + "Date" : "Thu, 17 Jun 2021 17:36:05 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "CLQzHWpgKkOWo4vujiMqFQ.0", - "X-Azure-Ref" : "0dr7DYAAAAADNtnbQMfR5RajQnFSIeWsHWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-a438-28c5-593a0d00ac79\"}}", - "x-ms-client-request-id" : "f6b77615-5524-4d4b-a6e7-5cc39189a3aa", + "X-Processing-Time" : "30ms", + "MS-CV" : "0KqR+c2250GmFmT7TwKnFQ.0", + "X-Azure-Ref" : "0BYjLYAAAAAAW0MsOq36PTJGVg9JSbamyV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-f966-e3c7-593a0d00f844\"}}", + "x-ms-client-request-id" : "8c951591-9692-4208-9af6-b2280c624a8a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "5b18f529-3941-48eb-bb46-4f7682978ce7", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -88,23 +84,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:14 GMT", + "Date" : "Thu, 17 Jun 2021 17:36:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "QBaNZpO0KUyybkmnzckYRA.0", - "X-Azure-Ref" : "0dr7DYAAAAADFbbjb/PluT6QDQMJZbZypWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-a49a-28c5-593a0d00ac7a\"}}", - "x-ms-client-request-id" : "5b18f529-3941-48eb-bb46-4f7682978ce7", + "X-Processing-Time" : "60ms", + "MS-CV" : "5AQrfr03mUuPsborxsHkaQ.0", + "X-Azure-Ref" : "0BYjLYAAAAADXVjwqdnlVTKISJZbiA2kqV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-f9be-99c6-593a0d00cc63\"}}", + "x-ms-client-request-id" : "dfacf594-becb-42da-9f03-d2fe735b1dc1", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-a35c-28c5-593a0d00ac77/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-f8d0-e3c7-593a0d00f842/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "3ea2a482-e4ef-4801-88fd-c6262bb5efa0", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -113,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:50:14 GMT", + "Date" : "Thu, 17 Jun 2021 17:36:05 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "WYDaqywJm0G4547GXRkO5g.0", - "X-Azure-Ref" : "0dr7DYAAAAACa4BO9118lQa7eq3bb78VZWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:50:14.0389202+00:00\"}", - "x-ms-client-request-id" : "3ea2a482-e4ef-4801-88fd-c6262bb5efa0", + "X-Processing-Time" : "62ms", + "MS-CV" : "2G//pXHA3kCCo6z6c+3YUQ.0", + "X-Azure-Ref" : "0BYjLYAAAAAAsEeQECtRIQpw9bhjkxcwkV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:36:04.6700018+00:00\"}", + "x-ms-client-request-id" : "d1b9e310-0514-472d-9349-5b44a829670e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -128,8 +123,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "51c8de3e-e926-46ea-b9ef-9e03d76f8f5d", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "4d2b3fbe-9bc8-40bf-9782-e809ef1efa97", "Content-Type" : "application/json" }, "Response" : { @@ -138,22 +133,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:15 GMT", + "Date" : "Thu, 17 Jun 2021 17:36:05 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "634ms", - "MS-CV" : "/j6OUVk2FUip+OhGSovepA.0", - "X-Azure-Ref" : "0d77DYAAAAAADca9H4/LZRLdRM+VTwkIlWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:R6yJ58mD28akLiWBevt0dK6qo9_Dq3gmGaSHMNNB9nw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:50:15Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-a35c-28c5-593a0d00ac77\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-a35c-28c5-593a0d00ac77\"}}}}", + "X-Processing-Time" : "513ms", + "MS-CV" : "doWj8zeYyEW5UBkiA9ccpg.0", + "X-Azure-Ref" : "0BYjLYAAAAABvloyqVDPBSI2mNxRgC3cxV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:uiCnnBVRswCa1A0aJzeeodVVGn7RudQs9MFhsz0YJck1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:36:05Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-f8d0-e3c7-593a0d00f842\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-f8d0-e3c7-593a0d00f842\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AR6yJ58mD28akLiWBevt0dK6qo9_Dq3gmGaSHMNNB9nw1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AuiCnnBVRswCa1A0aJzeeodVVGn7RudQs9MFhsz0YJck1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:R6yJ58mD28akLiWBevt0dK6qo9_Dq3gmGaSHMNNB9nw1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:uiCnnBVRswCa1A0aJzeeodVVGn7RudQs9MFhsz0YJck1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "d85e360f-17cc-4fbe-99f0-9a762bb1f8cf", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "9ec16325-2f38-4b4a-91aa-c6951cc157ff", "Content-Type" : "application/json" }, "Response" : { @@ -162,22 +157,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:15 GMT", + "Date" : "Thu, 17 Jun 2021 17:36:05 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "126ms", - "MS-CV" : "fvi/HN+bPUOGPUngaEPsvA.0", - "X-Azure-Ref" : "0d77DYAAAAAA5R/BsSm4+QogMBghR0C2XWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"id\":\"1623441015862\"}", + "X-Processing-Time" : "167ms", + "MS-CV" : "Z5jckXqdh0qy2ulIO/FQqQ.0", + "X-Azure-Ref" : "0BojLYAAAAADTJrb7XH4nQIxSg97nsKnMV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623951366304\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AR6yJ58mD28akLiWBevt0dK6qo9_Dq3gmGaSHMNNB9nw1@thread.v2/messages/1623441015862" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AuiCnnBVRswCa1A0aJzeeodVVGn7RudQs9MFhsz0YJck1@thread.v2/messages/1623951366304" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:R6yJ58mD28akLiWBevt0dK6qo9_Dq3gmGaSHMNNB9nw1@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:uiCnnBVRswCa1A0aJzeeodVVGn7RudQs9MFhsz0YJck1@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "03af351d-1a82-42e7-b684-ace74e51ef36", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "db42b537-5640-43f7-b013-f24d53272eee", "Content-Type" : "application/json" }, "Response" : { @@ -185,12 +180,12 @@ "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", - "X-Processing-Time" : "496ms", - "MS-CV" : "SI2QSyDfF0iTV9pOWENYQg.0", + "X-Processing-Time" : "118ms", + "MS-CV" : "9aDTfmg+I0+KvBq769WSIw.0", "retry-after" : "0", - "X-Azure-Ref" : "0d77DYAAAAAALO9SROnIuQ4VOK3uPuzPrWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0BojLYAAAAABoV2HEIlavQ5S9JxCZq9qqV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:50:16 GMT" + "Date" : "Thu, 17 Jun 2021 17:36:05 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 a899535e4180a..3c92a22ce71ce 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "79587b19-d5e8-4a6a-9ca6-f5fc85f974c4", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:13 GMT", + "Date" : "Thu, 17 Jun 2021 17:36:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "CCCcMmDrb02FQb2VY1pZVw.0", - "X-Azure-Ref" : "0db7DYAAAAADkYvGeVHaEQadFY6JU9qN1WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-9f0e-28c5-593a0d00ac72\"}}", - "x-ms-client-request-id" : "79587b19-d5e8-4a6a-9ca6-f5fc85f974c4", + "X-Processing-Time" : "58ms", + "MS-CV" : "tNw4BdvjtkCYN7BqcTwJOA.0", + "X-Azure-Ref" : "0AojLYAAAAADiasIrCwqhTqbFir6JtMKnV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-efd1-e3c7-593a0d00f83e\"}}", + "x-ms-client-request-id" : "ad970cc1-efaa-45e6-8335-f19874cc69ad", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "7b218b44-f95e-4811-b95a-10aa70f4cadd", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,13 +36,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:13 GMT", + "Date" : "Thu, 17 Jun 2021 17:36:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "o9LoIgUGZkeXYC4m0TvNzw.0", - "X-Azure-Ref" : "0db7DYAAAAADuqeOUENAnR7btJcd6abBVWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-9f58-28c5-593a0d00ac73\"}}", - "x-ms-client-request-id" : "7b218b44-f95e-4811-b95a-10aa70f4cadd", + "X-Processing-Time" : "59ms", + "MS-CV" : "FaAKvYXaTU2Pd6VLxD/4zQ.0", + "X-Azure-Ref" : "0A4jLYAAAAABtREFYXPpBRbUc+UvP3dK2V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-f049-e3c7-593a0d00f83f\"}}", + "x-ms-client-request-id" : "751fbd48-0b74-4f98-b70c-54f1689b36b3", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,8 +51,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "6beba083-3b54-429f-927c-a064841bc495", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:13 GMT", + "Date" : "Thu, 17 Jun 2021 17:36:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "UPXXoaD11Uqx3gWZqKlRjg.0", - "X-Azure-Ref" : "0db7DYAAAAABuTy5ThlPQRrGHWGxHEPgYWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-9f99-28c5-593a0d00ac74\"}}", - "x-ms-client-request-id" : "6beba083-3b54-429f-927c-a064841bc495", + "X-Processing-Time" : "30ms", + "MS-CV" : "EBTRkGFk40e0gG1BXRCmsQ.0", + "X-Azure-Ref" : "0A4jLYAAAAADUCpwIHn2DS7jS/20ipxiZV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-f086-e3c7-593a0d00f840\"}}", + "x-ms-client-request-id" : "640f26d1-5501-4ffc-a38c-50c07ca9f7eb", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "5262718c-d521-4065-9d6a-4ff6bdb7e36f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -88,23 +84,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:13 GMT", + "Date" : "Thu, 17 Jun 2021 17:36:03 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "nCs5OqHmiEKjdrlYaPTdZA.0", - "X-Azure-Ref" : "0db7DYAAAAABdXOZhDQEERJjPXL2uulHyWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-9fd7-28c5-593a0d00ac75\"}}", - "x-ms-client-request-id" : "5262718c-d521-4065-9d6a-4ff6bdb7e36f", + "X-Processing-Time" : "59ms", + "MS-CV" : "A5+t6r+fZkCaBHSmKDbeEg.0", + "X-Azure-Ref" : "0BIjLYAAAAADhP0FwWK9KRbTcPxTyH4yoV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-f463-99c6-593a0d00cc62\"}}", + "x-ms-client-request-id" : "f8286a47-28db-435a-b5b2-45fb26b5b7eb", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-9f0e-28c5-593a0d00ac72/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-efd1-e3c7-593a0d00f83e/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "74c5ee66-9b0e-4946-9476-4b5ea49cb9a6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -113,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:50:13 GMT", + "Date" : "Thu, 17 Jun 2021 17:36:03 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "HrLHbsaTnkGRdVGU9soqhA.0", - "X-Azure-Ref" : "0db7DYAAAAAB3SJ7oodCcQaAB7GpdsAiQWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:50:12.7994721+00:00\"}", - "x-ms-client-request-id" : "74c5ee66-9b0e-4946-9476-4b5ea49cb9a6", + "X-Processing-Time" : "38ms", + "MS-CV" : "VqmZfgfkm02P/avQXh0S4Q.0", + "X-Azure-Ref" : "0BIjLYAAAAAD+iFppS9eRR4DDQKr3+BSoV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:36:03.2728245+00:00\"}", + "x-ms-client-request-id" : "4a13b35b-d790-44e1-b417-ec3d0610d4b9", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -128,8 +123,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "5107d300-5068-402e-afe1-08fc4f8c7e6f", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "393e61f2-3bf8-4c70-aa4f-674282d2ec87", "Content-Type" : "application/json" }, "Response" : { @@ -138,22 +133,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:14 GMT", + "Date" : "Thu, 17 Jun 2021 17:36:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "329ms", - "MS-CV" : "aehIhiU+ekOfuVPKyP6gYQ.0", - "X-Azure-Ref" : "0db7DYAAAAAD/41tD8K5DRJIi2yAv8RCVWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:su1xfSf4ZzmZR5wzvHNkPSud2QYg9U0R_d0EXh1NM8s1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:50:13Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-9f0e-28c5-593a0d00ac72\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-9f0e-28c5-593a0d00ac72\"}}}}", + "X-Processing-Time" : "517ms", + "MS-CV" : "mgZWaeL8Eki7pQ0JVDRqZg.0", + "X-Azure-Ref" : "0BIjLYAAAAAC3DgQ+FKZhRb4sPq3lqwCsV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:gnxZJMqJo8pj5jRa9bA-OsoWNoDRAoR5jR0r4ogg-C41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:36:04Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-efd1-e3c7-593a0d00f83e\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-efd1-e3c7-593a0d00f83e\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3Asu1xfSf4ZzmZR5wzvHNkPSud2QYg9U0R_d0EXh1NM8s1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AgnxZJMqJo8pj5jRa9bA-OsoWNoDRAoR5jR0r4ogg-C41@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:su1xfSf4ZzmZR5wzvHNkPSud2QYg9U0R_d0EXh1NM8s1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:gnxZJMqJo8pj5jRa9bA-OsoWNoDRAoR5jR0r4ogg-C41@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "68a90a6a-b57a-4d2e-8a7e-b36606cc769e", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "c3f91024-df72-49cd-a69c-f9a70d1c04f0", "Content-Type" : "application/json" }, "Response" : { @@ -162,22 +157,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:14 GMT", + "Date" : "Thu, 17 Jun 2021 17:36:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "128ms", - "MS-CV" : "TylvIu3dG0WG2XKAt1FSxw.0", - "X-Azure-Ref" : "0dr7DYAAAAABUy2bAkXM/Q7caAC/UysLjWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"id\":\"1623441014286\"}", + "X-Processing-Time" : "170ms", + "MS-CV" : "3WjuZKSCcE69V2k5WBvdgw.0", + "X-Azure-Ref" : "0BIjLYAAAAAAIfbyfP+cMRYG+mG3QUoyhV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623951364927\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3Asu1xfSf4ZzmZR5wzvHNkPSud2QYg9U0R_d0EXh1NM8s1@thread.v2/messages/1623441014286" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AgnxZJMqJo8pj5jRa9bA-OsoWNoDRAoR5jR0r4ogg-C41@thread.v2/messages/1623951364927" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:su1xfSf4ZzmZR5wzvHNkPSud2QYg9U0R_d0EXh1NM8s1@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:gnxZJMqJo8pj5jRa9bA-OsoWNoDRAoR5jR0r4ogg-C41@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "4469fb24-163a-46cd-acf9-958f62f41dd9", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "88bccd09-4b88-412e-886c-2299dc73824e", "Content-Type" : "application/json" }, "Response" : { @@ -185,12 +180,12 @@ "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", - "X-Processing-Time" : "101ms", - "MS-CV" : "C39FtbgtOUCwAzk2kVF3jw.0", + "X-Processing-Time" : "181ms", + "MS-CV" : "il4ohUENUEKTlRYAKk3SQQ.0", "retry-after" : "0", - "X-Azure-Ref" : "0dr7DYAAAAAAUt0vYqvOxRpWAqLfsVGUmWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0BYjLYAAAAAD3xFUU0yTYT4rW88/jzX85V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:50:14 GMT" + "Date" : "Thu, 17 Jun 2021 17:36:04 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 bb9559d56ae3b..ad00ce126d4c5 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "fb4631bd-652a-41f2-9efd-8832cf3c8329", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:56 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:44 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "MVB+L1GNGk+6J1HfEEzoNw.0", - "X-Azure-Ref" : "0Zb7DYAAAAADUajivY/ZKRLbJCMYSuXn7WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-61c4-28c5-593a0d00ac44\"}}", - "x-ms-client-request-id" : "fb4631bd-652a-41f2-9efd-8832cf3c8329", + "X-Processing-Time" : "32ms", + "MS-CV" : "QMZOYdp3ikqmDcTTLcBAbA.0", + "X-Azure-Ref" : "08IfLYAAAAACAFxYfnXCzSr+v/KMUFqDOV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a796-e3c7-593a0d00f812\"}}", + "x-ms-client-request-id" : "3095882a-dabe-4327-bf97-26dd12ccac8f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "0daa715d-6ffc-4404-bb2d-9c71a10a409a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,13 +36,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:57 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:43 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "IuirOriFZ0WfzM7Uyzm6zQ.0", - "X-Azure-Ref" : "0Zb7DYAAAAAAJa7RRneP0Sa+MwNe0QehWWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-6207-28c5-593a0d00ac45\"}}", - "x-ms-client-request-id" : "0daa715d-6ffc-4404-bb2d-9c71a10a409a", + "X-Processing-Time" : "34ms", + "MS-CV" : "R2jvCqXbDESa8NHF8kqoVw.0", + "X-Azure-Ref" : "08IfLYAAAAABkH076M2NQQqFFIBJt/aeCV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a7f6-e3c7-593a0d00f813\"}}", + "x-ms-client-request-id" : "51322509-aad3-4ead-be89-fc83cbd402c1", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,8 +51,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "3083fbf8-3bfb-49b8-9b57-79e73ae632ef", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:57 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:44 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "24ms", - "MS-CV" : "yMOewrwbuUG5auVbFFMnPA.0", - "X-Azure-Ref" : "0Zb7DYAAAAADQbOxSb9V9S73+4xH3dqdAWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-625f-28c5-593a0d00ac46\"}}", - "x-ms-client-request-id" : "3083fbf8-3bfb-49b8-9b57-79e73ae632ef", + "X-Processing-Time" : "56ms", + "MS-CV" : "ZXAe/gjSpEevkvDQnHysFg.0", + "X-Azure-Ref" : "08IfLYAAAAABjlQ4s8ZtoTbmSbQU9Tl/UV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a84b-e3c7-593a0d00f814\"}}", + "x-ms-client-request-id" : "50de5d99-e529-4b59-af1f-3494b6d6d0ac", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "00117c2a-ad43-4ba2-a4f0-c0343cadbb75", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -88,23 +84,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:57 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:44 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "uZmJu5o9REa7zGHj9AdNPg.0", - "X-Azure-Ref" : "0Zr7DYAAAAAB5CvVZR40IRpmNmFOi71SNWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-62c5-28c5-593a0d00ac47\"}}", - "x-ms-client-request-id" : "00117c2a-ad43-4ba2-a4f0-c0343cadbb75", + "X-Processing-Time" : "34ms", + "MS-CV" : "EfE/LVIJv02PjyVJtVzKiw.0", + "X-Azure-Ref" : "08IfLYAAAAAAkcjybDbRDQp5EIoYmE0M4V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a896-99c6-593a0d00cc4b\"}}", + "x-ms-client-request-id" : "0e56706e-9d66-4a3d-80d7-b5a810db8a16", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-61c4-28c5-593a0d00ac44/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a796-e3c7-593a0d00f812/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "b504b200-8c10-486e-9365-cd56ffe77b86", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -113,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:57 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:44 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "OVYiJ6mNbEeUymGarL+9fQ.0", - "X-Azure-Ref" : "0Zr7DYAAAAADxPxJEZlTZTr5q3aZZjHi3WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:57.1706584+00:00\"}", - "x-ms-client-request-id" : "b504b200-8c10-486e-9365-cd56ffe77b86", + "X-Processing-Time" : "37ms", + "MS-CV" : "oJ9v1e+PI0S+dwEtWYPP4w.0", + "X-Azure-Ref" : "08IfLYAAAAAAGbJ4YUGblRZXgN9sUcB8IV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:43.8713114+00:00\"}", + "x-ms-client-request-id" : "a8f2f272-37d6-4673-8ff1-5349786aeec9", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -128,8 +123,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "8e15919e-920d-4449-842e-60bc4811da75", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "0e19c0bf-353b-4c16-acc5-37666defae11", "Content-Type" : "application/json" }, "Response" : { @@ -138,22 +133,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:57 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "376ms", - "MS-CV" : "ioNHSXmtWkeL3jL0J/OnPw.0", - "X-Azure-Ref" : "0Zr7DYAAAAAC+DeJVG5ytS7B0PYowiabAWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:cCeDgidjOfBC22MEwLhCMMr4greayZPETL5evRfZjBM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:58Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-61c4-28c5-593a0d00ac44\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-61c4-28c5-593a0d00ac44\"}}}}", + "X-Processing-Time" : "781ms", + "MS-CV" : "Djee2MV2u0e3zaLSrgw4cg.0", + "X-Azure-Ref" : "08IfLYAAAAABpru/7JtxUTqnFdO/K1vewV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:JMWrkSBL0NDnygLKTQ-llZ2H_UPsRyxcAQy5xmmVfY01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:44Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a796-e3c7-593a0d00f812\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a796-e3c7-593a0d00f812\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AcCeDgidjOfBC22MEwLhCMMr4greayZPETL5evRfZjBM1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AJMWrkSBL0NDnygLKTQ-llZ2H_UPsRyxcAQy5xmmVfY01@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:cCeDgidjOfBC22MEwLhCMMr4greayZPETL5evRfZjBM1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:JMWrkSBL0NDnygLKTQ-llZ2H_UPsRyxcAQy5xmmVfY01@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "6de25061-80d0-4740-a95f-be40ed0411bf", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "392cde45-3ecc-4e4c-922c-27a5b6d6dd1c", "Content-Type" : "application/json" }, "Response" : { @@ -162,35 +157,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:57 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "135ms", - "MS-CV" : "yKK9tQSC9USnNBav18Sz1g.0", - "X-Azure-Ref" : "0Zr7DYAAAAAAHn3XCp8UjTodSymI5weYwWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"id\":\"1623440998712\"}", + "X-Processing-Time" : "170ms", + "MS-CV" : "28FIYemdpUqdFqbb6J981A.0", + "X-Azure-Ref" : "08YfLYAAAAADkwF4nJN8pTbDBfiUbn6oFV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623951345784\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AcCeDgidjOfBC22MEwLhCMMr4greayZPETL5evRfZjBM1@thread.v2/messages/1623440998712" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AJMWrkSBL0NDnygLKTQ-llZ2H_UPsRyxcAQy5xmmVfY01@thread.v2/messages/1623951345784" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:cCeDgidjOfBC22MEwLhCMMr4greayZPETL5evRfZjBM1@thread.v2/messages/1623440998712?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:JMWrkSBL0NDnygLKTQ-llZ2H_UPsRyxcAQy5xmmVfY01@thread.v2/messages/1623951345784?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "e5412896-5129-437e-bc9a-0d78fa593431" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "0d12d0f9-9069-4f48-a96e-4157cca45b78" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "82ms", - "MS-CV" : "I/QvR/rHoESAgWbIi44GlQ.0", + "X-Processing-Time" : "126ms", + "MS-CV" : "sBuPdtbClEuxB4jN2GkqbQ.0", "retry-after" : "0", - "X-Azure-Ref" : "0Zr7DYAAAAACYvTCI5PG4RI7lxLjvZ3BHWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "08YfLYAAAAADO4OuKUpO4RoIjaZF5MmhxV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"1623440998712\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1623440998712\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-11T19:49:58Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-61c4-28c5-593a0d00ac44\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-61c4-28c5-593a0d00ac44\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", - "Date" : "Fri, 11 Jun 2021 19:49:58 GMT", + "Body" : "{\"id\":\"1623951345784\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1623951345784\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T17:35:45Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a796-e3c7-593a0d00f812\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a796-e3c7-593a0d00f812\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", + "Date" : "Thu, 17 Jun 2021 17:35:45 GMT", "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 8b98468356336..e4068f3819708 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "fd6c2bf5-707b-4cfb-af2e-354381275e12", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:36 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:19 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "Ct2J2Arf802FwAbEpytdrg.0", - "X-Azure-Ref" : "0Ub7DYAAAAADzwccRfu60T7Ptksn6s4oNWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-113b-28c5-593a0d00ac06\"}}", - "x-ms-client-request-id" : "fd6c2bf5-707b-4cfb-af2e-354381275e12", + "X-Processing-Time" : "33ms", + "MS-CV" : "CjjlLG6jrUypcxl9NbiTYQ.0", + "X-Azure-Ref" : "02IfLYAAAAAAJyNcU1IH7TKHirHDjo4e8V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-49f0-e3c7-593a0d00f7e1\"}}", + "x-ms-client-request-id" : "e0d5cfc4-5617-470e-9200-29057657d2bd", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "c4c96cbc-1a14-400b-be1b-467c6cfec021", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,13 +36,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:36 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:20 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "IBv+8hA/gk2yY3tdMISALA.0", - "X-Azure-Ref" : "0Ub7DYAAAAACe+hzjH+xYRbjkKLteh9cJWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-1187-28c5-593a0d00ac07\"}}", - "x-ms-client-request-id" : "c4c96cbc-1a14-400b-be1b-467c6cfec021", + "X-Processing-Time" : "56ms", + "MS-CV" : "8bapUo9SyE6mPKNe9WHZbw.0", + "X-Azure-Ref" : "02IfLYAAAAADzcstbkjExToAlZpuAxNmEV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-4a56-e3c7-593a0d00f7e2\"}}", + "x-ms-client-request-id" : "eb34ae3b-1c3e-4b00-a7ec-b40dd9a25f39", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,8 +51,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "25841ab9-f41c-4c1e-ac06-371c75742316", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:36 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:20 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "IEKhVu9TJkOUj64xYyNy5w.0", - "X-Azure-Ref" : "0Ub7DYAAAAAB58ikO9Ms2SKgpYz9eLR0oWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-11ca-28c5-593a0d00ac08\"}}", - "x-ms-client-request-id" : "25841ab9-f41c-4c1e-ac06-371c75742316", + "X-Processing-Time" : "54ms", + "MS-CV" : "7xJYPdRDoEubQJ0VBBxwzw.0", + "X-Azure-Ref" : "02IfLYAAAAACphlssfzyJTLrYR0W0vKtcV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-4aae-e3c7-593a0d00f7e3\"}}", + "x-ms-client-request-id" : "964ec049-9f11-41bf-9081-9404ff879d91", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "f00f2dea-d354-488b-ba02-e1023b864274", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -88,23 +84,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:36 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:20 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "20ms", - "MS-CV" : "CS6jtghz7Ee/POX/uj8D4g.0", - "X-Azure-Ref" : "0Ub7DYAAAAABPEQ2reNkSTY/A13/POEgJWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-120e-28c5-593a0d00ac09\"}}", - "x-ms-client-request-id" : "f00f2dea-d354-488b-ba02-e1023b864274", + "X-Processing-Time" : "38ms", + "MS-CV" : "JIjuBAt/HU+2gNOwgPKnnw.0", + "X-Azure-Ref" : "02IfLYAAAAAAxxY6UG0Q0R4R8Yr72SRGOV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-4b10-e3c7-593a0d00f7e4\"}}", + "x-ms-client-request-id" : "30e6bafd-a192-4405-826e-369a1c5ed4b5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-113b-28c5-593a0d00ac06/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-49f0-e3c7-593a0d00f7e1/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "02a30417-adb4-46c6-9267-2f6673255059", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -113,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:36 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:20 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "mOQre53FQ0G2FNxLzISK0A.0", - "X-Azure-Ref" : "0Ub7DYAAAAAC2g83eo/TCSbpFQ0KgHdUvWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:36.5148027+00:00\"}", - "x-ms-client-request-id" : "02a30417-adb4-46c6-9267-2f6673255059", + "X-Processing-Time" : "42ms", + "MS-CV" : "yfD0osmxjUqWqFA8/93Aqg.0", + "X-Azure-Ref" : "02IfLYAAAAAB3ONMkFiHvSpdoyFT3t3ipV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:19.9319185+00:00\"}", + "x-ms-client-request-id" : "949d81b2-844a-46f8-a0e6-e1c26afc1ac0", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -128,8 +123,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "ed5652c7-716c-47de-8a21-dc7e122bd866", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "02fac4e8-9250-4ed3-8348-2802187bf156", "Content-Type" : "application/json" }, "Response" : { @@ -138,22 +133,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:37 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:21 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "569ms", - "MS-CV" : "OGuXaaKUi0eF231jNVyKcQ.0", - "X-Azure-Ref" : "0Ub7DYAAAAACLxBH7oomKR6Xa3FAkHQPWWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:jrY2Q3Osv9Y3ap-h7utq8FQYnz_JB6chzloO0AC-ToM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:37Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-113b-28c5-593a0d00ac06\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-113b-28c5-593a0d00ac06\"}}}}", + "X-Processing-Time" : "676ms", + "MS-CV" : "ElXXk9cz50KuoSe7dMs2cA.0", + "X-Azure-Ref" : "02IfLYAAAAADek6wf6h13TqgHbEGzDiPyV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:3czMWxHEFEMpHsCdpl_LzshRDt0iJHwye1AD7on_MVM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:21Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-49f0-e3c7-593a0d00f7e1\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-49f0-e3c7-593a0d00f7e1\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AjrY2Q3Osv9Y3ap-h7utq8FQYnz_JB6chzloO0AC-ToM1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A3czMWxHEFEMpHsCdpl_LzshRDt0iJHwye1AD7on_MVM1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:jrY2Q3Osv9Y3ap-h7utq8FQYnz_JB6chzloO0AC-ToM1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:3czMWxHEFEMpHsCdpl_LzshRDt0iJHwye1AD7on_MVM1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "97acfc0d-c1fb-4976-92b6-c65cc64d9463", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "798295fe-7e0a-44f1-9f2e-27855bd77dd4", "Content-Type" : "application/json" }, "Response" : { @@ -162,35 +157,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:37 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:21 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "127ms", - "MS-CV" : "IIMxnxmO3kOwedkChEUU7g.0", - "X-Azure-Ref" : "0Ur7DYAAAAAAosrQc206WSbpFVbKI3xp1WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"id\":\"1623440978234\"}", + "X-Processing-Time" : "334ms", + "MS-CV" : "L5RuTysnG0ybaiA/dFISAg.0", + "X-Azure-Ref" : "02YfLYAAAAAC2RjgX00NgTKQ7DGnaSKSTV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623951321934\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AjrY2Q3Osv9Y3ap-h7utq8FQYnz_JB6chzloO0AC-ToM1@thread.v2/messages/1623440978234" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A3czMWxHEFEMpHsCdpl_LzshRDt0iJHwye1AD7on_MVM1@thread.v2/messages/1623951321934" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:jrY2Q3Osv9Y3ap-h7utq8FQYnz_JB6chzloO0AC-ToM1@thread.v2/messages/1623440978234?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:3czMWxHEFEMpHsCdpl_LzshRDt0iJHwye1AD7on_MVM1@thread.v2/messages/1623951321934?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "69a2e006-a24c-4630-87e6-57e497540e07" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "5ad6b744-9fab-4b45-a7dd-0d4c60718f76" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "85ms", - "MS-CV" : "Ojs/xOHjc0ixAuh3YW239g.0", + "X-Processing-Time" : "183ms", + "MS-CV" : "yOnmkMRQqEqs5z1JNqSZ2w.0", "retry-after" : "0", - "X-Azure-Ref" : "0Ur7DYAAAAABITlAJAiykRb087KHFvNrRWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "02ofLYAAAAAAMz4Z1o3C/TKp6STfFTwOLV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"1623440978234\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1623440978234\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-11T19:49:38Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-113b-28c5-593a0d00ac06\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-113b-28c5-593a0d00ac06\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", - "Date" : "Fri, 11 Jun 2021 19:49:38 GMT", + "Body" : "{\"id\":\"1623951321934\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1623951321934\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T17:35:21Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-49f0-e3c7-593a0d00f7e1\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-49f0-e3c7-593a0d00f7e1\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", + "Date" : "Thu, 17 Jun 2021 17:35:21 GMT", "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 b1502a49d0bfc..d1b7285d1b8a6 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "fa5dd3bc-b27b-4af8-813a-1e71b559725d", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:01 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "nb2aB1RiqE+88mBVvdXMig.0", - "X-Azure-Ref" : "0ar7DYAAAAABZaFOXl8hsR7R+EPI1KXCWWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-7369-28c5-593a0d00ac52\"}}", - "x-ms-client-request-id" : "fa5dd3bc-b27b-4af8-813a-1e71b559725d", + "X-Processing-Time" : "35ms", + "MS-CV" : "fqgfMNJmEUCWCR9xq9iP0g.0", + "X-Azure-Ref" : "09IfLYAAAAAAp7KP7pvhcRpEEpRP600GgV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b7eb-e3c7-593a0d00f81b\"}}", + "x-ms-client-request-id" : "a9b1cabe-a7c8-4519-b07e-62ba551f17e4", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "059536dc-d09a-4fba-a93e-49cbaabad6cd", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,13 +36,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:01 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "18ms", - "MS-CV" : "aT7aua1NlkaK8IdPP1Oqag.0", - "X-Azure-Ref" : "0ar7DYAAAAAAaf733w7aLQ5tEEHP7fC6wWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-73ab-28c5-593a0d00ac53\"}}", - "x-ms-client-request-id" : "059536dc-d09a-4fba-a93e-49cbaabad6cd", + "X-Processing-Time" : "55ms", + "MS-CV" : "up+qdaOGBUWv+Tvp/wPYVg.0", + "X-Azure-Ref" : "09IfLYAAAAACja2ExMb+BSJrUd7z7XccIV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b845-e3c7-593a0d00f81c\"}}", + "x-ms-client-request-id" : "6755e498-5d7a-4906-90e7-864737aac645", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,8 +51,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "3f29825f-fd39-4d4c-ae4a-0b562930b594", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:01 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "24ms", - "MS-CV" : "DQzcyAee8EKeHUCHmilhzA.0", - "X-Azure-Ref" : "0ar7DYAAAAAAWEL+HUev2Qqg5ovrhxZvpWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-73fe-28c5-593a0d00ac54\"}}", - "x-ms-client-request-id" : "3f29825f-fd39-4d4c-ae4a-0b562930b594", + "X-Processing-Time" : "39ms", + "MS-CV" : "PCEC/cLcMUG8ZtyEE0c87w.0", + "X-Azure-Ref" : "09IfLYAAAAACaqM5wP/NjSKbqGa0Fx4qIV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b88a-99c6-593a0d00cc52\"}}", + "x-ms-client-request-id" : "7ee45a9f-5d4a-4be1-8827-391ee5145f7b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "d59ad82f-0534-4b0e-8ccf-857d139a0cb6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -88,23 +84,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:01 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "24ms", - "MS-CV" : "SIUFGljqRUqFwY5nWTl7zw.0", - "X-Azure-Ref" : "0ar7DYAAAAAAKPUrXFoTfToYrhTdaS0P/WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-7442-28c5-593a0d00ac55\"}}", - "x-ms-client-request-id" : "d59ad82f-0534-4b0e-8ccf-857d139a0cb6", + "X-Processing-Time" : "32ms", + "MS-CV" : "sqXU2beC/kKBkC/MuqNOzQ.0", + "X-Azure-Ref" : "09IfLYAAAAAChp9KNQ8eCR7q2hNtTOse/V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b8cc-e3c7-593a0d00f81d\"}}", + "x-ms-client-request-id" : "e030004c-50b3-4446-a1fd-558be0898565", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-7369-28c5-593a0d00ac52/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b7eb-e3c7-593a0d00f81b/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "adeb1eba-c5a4-4b2e-9870-0c94a5d2dfef", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -113,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:50:01 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "GmaV7tt83kSyhtNb3alNyg.0", - "X-Azure-Ref" : "0ar7DYAAAAABU6J5cVfRRTLlCL35b9XESWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:50:01.6490383+00:00\"}", - "x-ms-client-request-id" : "adeb1eba-c5a4-4b2e-9870-0c94a5d2dfef", + "X-Processing-Time" : "65ms", + "MS-CV" : "mPs1vjU6UEGTVl9AfqTnuw.0", + "X-Azure-Ref" : "09IfLYAAAAACRQLXLfvLBSIvVuEPbONhoV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:48.0468092+00:00\"}", + "x-ms-client-request-id" : "07e1f901-8b5b-472f-acf5-1880c0da9f5b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -128,8 +123,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "ca144932-a10e-4393-9dae-a03e728b775e", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "fa844cff-e324-48f0-81cb-552383d9cd3b", "Content-Type" : "application/json" }, "Response" : { @@ -138,22 +133,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:02 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:49 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "597ms", - "MS-CV" : "4dTtKgGWmEyrSdVz1fbcFg.0", - "X-Azure-Ref" : "0ar7DYAAAAACYjnggZtdwTo5aOtFfK6JxWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:GH3HR9irPclyTgQRN87VWWnzzsPu4YA5oOXBmTOZ8gg1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:50:02Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-7369-28c5-593a0d00ac52\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-7369-28c5-593a0d00ac52\"}}}}", + "X-Processing-Time" : "606ms", + "MS-CV" : "7ynk1CdORE2/SgoiG+7E8w.0", + "X-Azure-Ref" : "09YfLYAAAAACPZ6JeEqQ7Sp5wilBU5zGOV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:rnn2NCeC5XqkKqnW39Um0g0d0TtCvK-0642QWQp9tyA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:49Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b7eb-e3c7-593a0d00f81b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b7eb-e3c7-593a0d00f81b\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AGH3HR9irPclyTgQRN87VWWnzzsPu4YA5oOXBmTOZ8gg1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Arnn2NCeC5XqkKqnW39Um0g0d0TtCvK-0642QWQp9tyA1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:GH3HR9irPclyTgQRN87VWWnzzsPu4YA5oOXBmTOZ8gg1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:rnn2NCeC5XqkKqnW39Um0g0d0TtCvK-0642QWQp9tyA1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "7b57cb4b-bdd5-4368-ac7c-a6501321d891", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "ea8fa846-bda6-471e-ac54-6a81f0938bfd", "Content-Type" : "application/json" }, "Response" : { @@ -162,22 +157,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:02 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:49 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "133ms", - "MS-CV" : "Tg1WMMYqVEC7MRjAzSCmAg.0", - "X-Azure-Ref" : "0a77DYAAAAABRZagvgnQMQ7tm13RQoGIbWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"id\":\"1623441003403\"}", + "X-Processing-Time" : "203ms", + "MS-CV" : "ztaCKIgZa0WgZ75gEXd1jQ.0", + "X-Azure-Ref" : "09YfLYAAAAAB8babaZNGUSbk+S8WuhDkjV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623951349778\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AGH3HR9irPclyTgQRN87VWWnzzsPu4YA5oOXBmTOZ8gg1@thread.v2/messages/1623441003403" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Arnn2NCeC5XqkKqnW39Um0g0d0TtCvK-0642QWQp9tyA1@thread.v2/messages/1623951349778" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:GH3HR9irPclyTgQRN87VWWnzzsPu4YA5oOXBmTOZ8gg1@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:rnn2NCeC5XqkKqnW39Um0g0d0TtCvK-0642QWQp9tyA1@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "42f07807-4c47-43b4-9226-fd5589527fce", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "4bcc5611-bdd0-4d08-9b92-e19dfca7f05d", "Content-Type" : "application/json" }, "Response" : { @@ -185,33 +180,33 @@ "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", - "X-Processing-Time" : "113ms", - "MS-CV" : "IRRrcdDRwkqiVaR2j5iShA.0", + "X-Processing-Time" : "205ms", + "MS-CV" : "7dO7SMZ+50e3WLwnzexqSw.0", "retry-after" : "0", - "X-Azure-Ref" : "0a77DYAAAAAAJoGYjiPbbR50Eq6lR6nvyWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "09YfLYAAAAAD+et3NBUH7T6pLRzhbWpeSV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:50:02 GMT" + "Date" : "Thu, 17 Jun 2021 17:35:49 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:GH3HR9irPclyTgQRN87VWWnzzsPu4YA5oOXBmTOZ8gg1@thread.v2/readReceipts?maxPageSize=1&api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:rnn2NCeC5XqkKqnW39Um0g0d0TtCvK-0642QWQp9tyA1@thread.v2/readReceipts?maxPageSize=1&api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "0d47f04b-7c14-4def-b283-1acfb519ce58" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "0987df8d-b55e-4895-96fd-03b88119ee47" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "181ms", - "MS-CV" : "n44Q7/gk7kuEp4MYL7AtGg.0", + "X-Processing-Time" : "176ms", + "MS-CV" : "yI+QZ0EbWUmXTbf7tEUCFg.0", "retry-after" : "0", - "X-Azure-Ref" : "0a77DYAAAAAAtWDtTdxi5RKuClJk7KzdFWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "09ofLYAAAAABM4QNN1/vrQpX5AbdT3dIEV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-7369-28c5-593a0d00ac52\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-7369-28c5-593a0d00ac52\"}},\"chatMessageId\":\"1623441003403\",\"readOn\":\"2021-06-11T19:50:03Z\"}]}", - "Date" : "Fri, 11 Jun 2021 19:50:02 GMT", + "Body" : "{\"value\":[{\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b7eb-e3c7-593a0d00f81b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b7eb-e3c7-593a0d00f81b\"}},\"chatMessageId\":\"1623951349778\",\"readOn\":\"2021-06-17T17:35:49Z\"}]}", + "Date" : "Thu, 17 Jun 2021 17:35:49 GMT", "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 6e674e5b9829b..5077e25bdb36e 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "f09ca8ef-4f1e-4cd6-bd22-c30616a054cf", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:39 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:23 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "20ms", - "MS-CV" : "xB9omqO3R0yYD5LKHDaLgw.0", - "X-Azure-Ref" : "0VL7DYAAAAAC6eWVafmaNQYkqQgZDnqjpWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-1c71-28c5-593a0d00ac0e\"}}", - "x-ms-client-request-id" : "f09ca8ef-4f1e-4cd6-bd22-c30616a054cf", + "X-Processing-Time" : "33ms", + "MS-CV" : "+o0qKulnG0+v2AVrO/wBUw.0", + "X-Azure-Ref" : "024fLYAAAAABRSCkJ/q0iQJalTBMXnnOrV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-554c-e3c7-593a0d00f7e9\"}}", + "x-ms-client-request-id" : "7a700203-d388-4585-b627-e410095e2058", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "64e07ed6-9650-4552-8b1e-f4cd478b3d43", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,13 +36,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:39 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:22 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "YnAQzjqyM0aOgnFTbvSpNw.0", - "X-Azure-Ref" : "0VL7DYAAAAADgBQhggC0kRbRdfZnNYElaWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-1cbb-28c5-593a0d00ac0f\"}}", - "x-ms-client-request-id" : "64e07ed6-9650-4552-8b1e-f4cd478b3d43", + "X-Processing-Time" : "32ms", + "MS-CV" : "XfgzhSiv70+6QD+6zyatww.0", + "X-Azure-Ref" : "024fLYAAAAACTupPeVeHFRIFXzqQizO+gV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-558c-e3c7-593a0d00f7ea\"}}", + "x-ms-client-request-id" : "b0b3fe74-8991-474e-860e-92feb904fcf2", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,8 +51,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "fec08bcd-1a52-4973-a25d-eb417ea24181", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:39 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:23 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "8qT9n/3+2ES2kMO0hCjhaQ.0", - "X-Azure-Ref" : "0VL7DYAAAAADjpoILrZKaRr8RcCYaWZZJWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-1cfc-28c5-593a0d00ac10\"}}", - "x-ms-client-request-id" : "fec08bcd-1a52-4973-a25d-eb417ea24181", + "X-Processing-Time" : "56ms", + "MS-CV" : "r8xgs9ZPyEm9tbqBsr3lLg.0", + "X-Azure-Ref" : "024fLYAAAAAD2DifgwFstQ58udGdddRCIV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-55e7-e3c7-593a0d00f7eb\"}}", + "x-ms-client-request-id" : "03ebad0c-4a1a-439f-9790-83ff3d43e9e5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "48add2d6-5f7a-4ed4-bb62-11247a5400f0", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -88,23 +84,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:39 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:23 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "NptubxUmjEWG4T2QcJCTJw.0", - "X-Azure-Ref" : "0VL7DYAAAAABDla+JEB9WQLmjFJjW2kFlWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-1d52-28c5-593a0d00ac11\"}}", - "x-ms-client-request-id" : "48add2d6-5f7a-4ed4-bb62-11247a5400f0", + "X-Processing-Time" : "30ms", + "MS-CV" : "CWyUFvRqC0m8a4+ZZocF+g.0", + "X-Azure-Ref" : "024fLYAAAAAC0wseJr7gNRLLmWoz4+k8tV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-5627-e3c7-593a0d00f7ec\"}}", + "x-ms-client-request-id" : "2dd781a1-8db6-4b08-88d3-690260807c09", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-1c71-28c5-593a0d00ac0e/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-554c-e3c7-593a0d00f7e9/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "0be0eb68-b02d-4273-9589-fe5a0acec041", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -113,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:39 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:23 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "mytupbRCukukjeoUPqynpA.0", - "X-Azure-Ref" : "0VL7DYAAAAABhuABtFhJkTba5hBLFEawBWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:39.4098707+00:00\"}", - "x-ms-client-request-id" : "0be0eb68-b02d-4273-9589-fe5a0acec041", + "X-Processing-Time" : "37ms", + "MS-CV" : "nMt1UH4zZk2SwzjEZtChRg.0", + "X-Azure-Ref" : "024fLYAAAAADn4sfrFQjFQo24ohRJGaLPV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:22.7670298+00:00\"}", + "x-ms-client-request-id" : "ce4ccdc3-b717-4980-b6dc-b40df8cd5a4c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -128,8 +123,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "26ee69c3-3610-44a1-9175-08607bc55b36", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "059ffee3-2082-4338-b998-0f12af776a2b", "Content-Type" : "application/json" }, "Response" : { @@ -138,22 +133,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:40 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:23 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "678ms", - "MS-CV" : "8JoIgyX9zkyQv29Fwwxozw.0", - "X-Azure-Ref" : "0VL7DYAAAAACZWsSs2IGgQrtQfoWFWZHpWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:EQG83jDqqf-7XDjq-6taQyqhG4zwyKIXZXKrRM5HUNU1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:40Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-1c71-28c5-593a0d00ac0e\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-1c71-28c5-593a0d00ac0e\"}}}}", + "X-Processing-Time" : "450ms", + "MS-CV" : "neUVygRj70uBB2vCmNbJGg.0", + "X-Azure-Ref" : "03IfLYAAAAAD31nkj6yGeT7NLQxdZXMYVV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:FNQhjWkdKBXTJvU1ij6m6_NCY4DG-34SUTy1AEfI3Ho1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:24Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-554c-e3c7-593a0d00f7e9\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-554c-e3c7-593a0d00f7e9\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AEQG83jDqqf-7XDjq-6taQyqhG4zwyKIXZXKrRM5HUNU1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AFNQhjWkdKBXTJvU1ij6m6_NCY4DG-34SUTy1AEfI3Ho1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:EQG83jDqqf-7XDjq-6taQyqhG4zwyKIXZXKrRM5HUNU1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:FNQhjWkdKBXTJvU1ij6m6_NCY4DG-34SUTy1AEfI3Ho1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "1d1c8778-6f8c-425c-bee9-827a43bd1ebf", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "864bf9d7-4311-4cc6-8667-204440c55e42", "Content-Type" : "application/json" }, "Response" : { @@ -162,22 +157,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:40 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:24 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "128ms", - "MS-CV" : "t99KK2rL2UKoLyKKgvWASQ.0", - "X-Azure-Ref" : "0Vb7DYAAAAADxHnMy9N62Q4tiY+XfioWGWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"id\":\"1623440981262\"}", + "X-Processing-Time" : "214ms", + "MS-CV" : "ih/ItGgsU0StjHKgtoTBHQ.0", + "X-Azure-Ref" : "03IfLYAAAAAArS+9uku5DQarqYbcTkHVpV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623951324706\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AEQG83jDqqf-7XDjq-6taQyqhG4zwyKIXZXKrRM5HUNU1@thread.v2/messages/1623440981262" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AFNQhjWkdKBXTJvU1ij6m6_NCY4DG-34SUTy1AEfI3Ho1@thread.v2/messages/1623951324706" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:EQG83jDqqf-7XDjq-6taQyqhG4zwyKIXZXKrRM5HUNU1@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:FNQhjWkdKBXTJvU1ij6m6_NCY4DG-34SUTy1AEfI3Ho1@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "7e99c59c-ed6a-487d-bfd7-f7d9bf62f78e", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "8c472ffc-e04e-456f-9cf2-c5048c57457a", "Content-Type" : "application/json" }, "Response" : { @@ -185,33 +180,33 @@ "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", - "X-Processing-Time" : "431ms", - "MS-CV" : "OFpWgEfj6U6xW24K0H49aw.0", + "X-Processing-Time" : "240ms", + "MS-CV" : "yaWsYvTy8EyTkyE/rAei1A.0", "retry-after" : "0", - "X-Azure-Ref" : "0Vb7DYAAAAAANuYG3YrwFR7PL6X9vvCINWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "03IfLYAAAAABhSGnqeA1YSI2vqDiRVRr6V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:41 GMT" + "Date" : "Thu, 17 Jun 2021 17:35:24 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:EQG83jDqqf-7XDjq-6taQyqhG4zwyKIXZXKrRM5HUNU1@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:FNQhjWkdKBXTJvU1ij6m6_NCY4DG-34SUTy1AEfI3Ho1@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "8d1a9cd9-35cd-4807-b942-41fe1e43195c" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "9db4e087-6e37-4c52-83f6-4ab137892c63" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "205ms", - "MS-CV" : "L3p1LNVfokSAdA6gN7Ii1w.0", + "X-Processing-Time" : "244ms", + "MS-CV" : "rd6N+FvaL02GHr+9y2SdMA.0", "retry-after" : "0", - "X-Azure-Ref" : "0Vb7DYAAAAAAVzSRhY75BRard++DcISx0WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "03YfLYAAAAADSJGHrcKSGQqcSeIxxK9HGV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-1c71-28c5-593a0d00ac0e\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-1c71-28c5-593a0d00ac0e\"}},\"chatMessageId\":\"1623440981262\",\"readOn\":\"2021-06-11T19:49:41Z\"}]}", - "Date" : "Fri, 11 Jun 2021 19:49:41 GMT", + "Body" : "{\"value\":[{\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-554c-e3c7-593a0d00f7e9\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-554c-e3c7-593a0d00f7e9\"}},\"chatMessageId\":\"1623951324706\",\"readOn\":\"2021-06-17T17:35:24Z\"}]}", + "Date" : "Thu, 17 Jun 2021 17:35:25 GMT", "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 ca4b1ff5678f4..c41132e1c6cb8 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "eada44ae-2d63-4dc8-b315-caba9a6de4d1", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:55 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "26ms", - "MS-CV" : "zp6KD53NaE2qXHEB0nrPFw.0", - "X-Azure-Ref" : "0ZL7DYAAAAABnKGuprM4aT5+Q0o8bQMPPWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-5aee-28c5-593a0d00ac3f\"}}", - "x-ms-client-request-id" : "eada44ae-2d63-4dc8-b315-caba9a6de4d1", + "X-Processing-Time" : "31ms", + "MS-CV" : "tdfNtGB1M0eQNAhJbCxF9g.0", + "X-Azure-Ref" : "07ofLYAAAAAC1sy8MYdGzQoYlaS/u6xqxV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a16a-99c6-593a0d00cc4a\"}}", + "x-ms-client-request-id" : "e8a61535-6532-4e28-a867-5c171185bb4f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "67c55d54-07b5-4965-aa4a-4389217a88ef", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,13 +36,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:55 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "kNP0XPeJBUWjITfsNsuytA.0", - "X-Azure-Ref" : "0ZL7DYAAAAABs+XlLs/PYS7jShZQJtD2sWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-5b37-28c5-593a0d00ac40\"}}", - "x-ms-client-request-id" : "67c55d54-07b5-4965-aa4a-4389217a88ef", + "X-Processing-Time" : "113ms", + "MS-CV" : "OWgl0w1r6UuR07PNPcjspg.0", + "X-Azure-Ref" : "07ofLYAAAAABmIoG7UoeSTI7mWpjILBKaV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a1f9-e3c7-593a0d00f80f\"}}", + "x-ms-client-request-id" : "22918c91-12a7-48b7-9f1e-bfa95b1ae4e3", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,8 +51,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "6ea223ab-9ae0-4387-94f9-c814b427fd21", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:55 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "25ms", - "MS-CV" : "GguY7Lv1C0aN/3E6wm+EBA.0", - "X-Azure-Ref" : "0ZL7DYAAAAACyPdbVfco8RoMBNp62FRuTWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-5b78-28c5-593a0d00ac41\"}}", - "x-ms-client-request-id" : "6ea223ab-9ae0-4387-94f9-c814b427fd21", + "X-Processing-Time" : "31ms", + "MS-CV" : "hcfg+w6K7U6gBQ8HUViY8A.0", + "X-Azure-Ref" : "074fLYAAAAACcCujnXb2yRKCuZI0SnfrAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a23b-e3c7-593a0d00f810\"}}", + "x-ms-client-request-id" : "d01cd473-9507-4b82-8fb9-98e94863f09d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "e5321189-a51d-4fea-8728-a1cd21ac5188", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -88,23 +84,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:55 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "20ms", - "MS-CV" : "+dAVlJQidUevVrBaqlo3JQ.0", - "X-Azure-Ref" : "0ZL7DYAAAAAC8sqeAFlBqSJTVfpGKnlnDWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-5bbe-28c5-593a0d00ac42\"}}", - "x-ms-client-request-id" : "e5321189-a51d-4fea-8728-a1cd21ac5188", + "X-Processing-Time" : "30ms", + "MS-CV" : "g0ccnuE3hU6xa49UvDxjIw.0", + "X-Azure-Ref" : "074fLYAAAAAAAaG3wnHOpTKtAEIsAkzbhV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a277-e3c7-593a0d00f811\"}}", + "x-ms-client-request-id" : "fd240a57-bcec-4972-b8bb-759d3131291c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-5aee-28c5-593a0d00ac3f/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a16a-99c6-593a0d00cc4a/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "2c98c4dc-0de9-4370-81ed-7ba8b7ade7bd", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -113,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:55 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "pq8frD8xq029jby9CItD4w.0", - "X-Azure-Ref" : "0ZL7DYAAAAABNPrB6aJg7RpK54iFuI/HiWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:55.3620554+00:00\"}", - "x-ms-client-request-id" : "2c98c4dc-0de9-4370-81ed-7ba8b7ade7bd", + "X-Processing-Time" : "39ms", + "MS-CV" : "T4xVgXnc90Ch8zm98zdo3w.0", + "X-Azure-Ref" : "074fLYAAAAAAVk6f18etnQLYPsJdGnoGkV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:42.3015947+00:00\"}", + "x-ms-client-request-id" : "126ec3b1-b93f-4971-aff7-20b84c9bf709", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -128,8 +123,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "4846a73a-1078-4ba6-8a58-47cc6884ebaa", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "c4ca6538-b0d4-4163-8c35-7818cad68e57", "Content-Type" : "application/json" }, "Response" : { @@ -138,22 +133,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:56 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:43 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "492ms", - "MS-CV" : "2Viqp3Bjt0S1pvA3WNdzow.0", - "X-Azure-Ref" : "0ZL7DYAAAAADay9w8SwRASZRIuQeapytLWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:tGneyNYwjzNJABzpjlVpd254dTSwVHVsniZsFWcgmr41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:56Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-5aee-28c5-593a0d00ac3f\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-5aee-28c5-593a0d00ac3f\"}}}}", + "X-Processing-Time" : "474ms", + "MS-CV" : "QnNVwtTtSkWWixr4CzbP8A.0", + "X-Azure-Ref" : "074fLYAAAAABCIAcvAj9QT6rKM0ntbUdHV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:i4g-gdzJlh6vtvTeH6ipLBWLv_x-A6vHRf6dG_H8fLw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:43Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a16a-99c6-593a0d00cc4a\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a16a-99c6-593a0d00cc4a\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AtGneyNYwjzNJABzpjlVpd254dTSwVHVsniZsFWcgmr41@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ai4g-gdzJlh6vtvTeH6ipLBWLv_x-A6vHRf6dG_H8fLw1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:tGneyNYwjzNJABzpjlVpd254dTSwVHVsniZsFWcgmr41@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:i4g-gdzJlh6vtvTeH6ipLBWLv_x-A6vHRf6dG_H8fLw1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "efc547f9-eb39-4d40-a6fa-ec730daa4722", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "d9e30aeb-84c8-4461-a94f-2efc5a006683", "Content-Type" : "application/json" }, "Response" : { @@ -162,22 +157,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:56 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:43 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "201ms", - "MS-CV" : "n718dniJJkKMXUSz9Ykprg.0", - "X-Azure-Ref" : "0ZL7DYAAAAACS5NT0LT5RQ6MmuJtiYlgTWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"id\":\"1623440997036\"}", + "X-Processing-Time" : "195ms", + "MS-CV" : "EbJAgnPSU0ug1f4xQvSxBw.0", + "X-Azure-Ref" : "074fLYAAAAACRJ86eQRHiTp4XKWyu1UamV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623951343916\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3AtGneyNYwjzNJABzpjlVpd254dTSwVHVsniZsFWcgmr41@thread.v2/messages/1623440997036" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ai4g-gdzJlh6vtvTeH6ipLBWLv_x-A6vHRf6dG_H8fLw1@thread.v2/messages/1623951343916" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:tGneyNYwjzNJABzpjlVpd254dTSwVHVsniZsFWcgmr41@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:i4g-gdzJlh6vtvTeH6ipLBWLv_x-A6vHRf6dG_H8fLw1@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "8b2f90cb-1962-4ba2-84a8-65cb972f927f", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "9eac03e2-06c4-4c77-8056-4fac2610847b", "Content-Type" : "application/json" }, "Response" : { @@ -185,33 +180,33 @@ "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", - "X-Processing-Time" : "228ms", - "MS-CV" : "IJdLz6sK1kuMTOI9dbpR9w.0", + "X-Processing-Time" : "135ms", + "MS-CV" : "tvd7YaXvbUOX2D7P4EbQ2A.0", "retry-after" : "0", - "X-Azure-Ref" : "0Zb7DYAAAAABDp+hrRjebTpWrXOof+OY6WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "08IfLYAAAAADcxrglhYlTTYj2OJBYC2cdV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:56 GMT" + "Date" : "Thu, 17 Jun 2021 17:35:43 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:tGneyNYwjzNJABzpjlVpd254dTSwVHVsniZsFWcgmr41@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:i4g-gdzJlh6vtvTeH6ipLBWLv_x-A6vHRf6dG_H8fLw1@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "82fa5a39-6df8-403e-8d5f-81320f0c2faa" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "1c6b589f-757c-4eff-8331-c4a1e0980929" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "190ms", - "MS-CV" : "k6pxtSPtzUarL+ukzMndbg.0", + "X-Processing-Time" : "207ms", + "MS-CV" : "8N1ea1pLW0CqoYWr5hYzFQ.0", "retry-after" : "0", - "X-Azure-Ref" : "0Zb7DYAAAAABlqcxHEM2jQ5wtCTZfLVuoWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "08IfLYAAAAAD0geYJLmW9RoZIxGky4nDWV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-5aee-28c5-593a0d00ac3f\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-5aee-28c5-593a0d00ac3f\"}},\"chatMessageId\":\"1623440997036\",\"readOn\":\"2021-06-11T19:49:57Z\"}]}", - "Date" : "Fri, 11 Jun 2021 19:49:56 GMT", + "Body" : "{\"value\":[{\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a16a-99c6-593a0d00cc4a\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a16a-99c6-593a0d00cc4a\"}},\"chatMessageId\":\"1623951343916\",\"readOn\":\"2021-06-17T17:35:44Z\"}]}", + "Date" : "Thu, 17 Jun 2021 17:35:43 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendTypingNotificationWithOptions[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendTypingNotificationWithOptions[1].json new file mode 100644 index 0000000000000..25362cfdc1691 --- /dev/null +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendTypingNotificationWithOptions[1].json @@ -0,0 +1,169 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Cache" : "CONFIG_NOCACHE", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", + "retry-after" : "0", + "StatusCode" : "201", + "Date" : "Thu, 17 Jun 2021 17:35:24 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "58ms", + "MS-CV" : "sprMCkUfMku0b5jgHxINfA.0", + "X-Azure-Ref" : "03YfLYAAAAAAnPhu+RiW3T5towf/Sa5FqV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-5d18-e3c7-593a0d00f7ed\"}}", + "x-ms-client-request-id" : "bd9baec3-fb06-4dd7-90c6-ed5c648857bb", + "Content-Type" : "application/json; charset=utf-8", + "Request-Context" : "appId=" + }, + "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.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Cache" : "CONFIG_NOCACHE", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", + "retry-after" : "0", + "StatusCode" : "201", + "Date" : "Thu, 17 Jun 2021 17:35:25 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "34ms", + "MS-CV" : "0F2OnOsM40a4nC+3xDqRzg.0", + "X-Azure-Ref" : "03YfLYAAAAADMrOhhAWbcTo6bW/M2453RV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-5d57-e3c7-593a0d00f7ee\"}}", + "x-ms-client-request-id" : "942f1a25-a9b7-48e3-a6b7-f491198ec9c1", + "Content-Type" : "application/json; charset=utf-8", + "Request-Context" : "appId=" + }, + "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.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Cache" : "CONFIG_NOCACHE", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", + "retry-after" : "0", + "StatusCode" : "201", + "Date" : "Thu, 17 Jun 2021 17:35:25 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "33ms", + "MS-CV" : "pIgymruwyk+kTqVfxZ0khQ.0", + "X-Azure-Ref" : "03YfLYAAAAACMYV61n2LCQbZpcVj/DvktV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-5de9-99c6-593a0d00cc3a\"}}", + "x-ms-client-request-id" : "620be955-5957-4719-ae14-bbcf9c709957", + "Content-Type" : "application/json; charset=utf-8", + "Request-Context" : "appId=" + }, + "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.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Cache" : "CONFIG_NOCACHE", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", + "retry-after" : "0", + "StatusCode" : "201", + "Date" : "Thu, 17 Jun 2021 17:35:25 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "60ms", + "MS-CV" : "OzHPVOpYNEuLn6MQtycDUw.0", + "X-Azure-Ref" : "03YfLYAAAAABDB6TeHiuRTYE//ionb8AKV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-5e49-e3c7-593a0d00f7ef\"}}", + "x-ms-client-request-id" : "7a9c9323-10e6-4ab7-8e73-c61268f24090", + "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_0000000a-baec-5d18-e3c7-593a0d00f7ed/:issueAccessToken?api-version=2021-03-07", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Cache" : "CONFIG_NOCACHE", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", + "retry-after" : "0", + "StatusCode" : "200", + "Date" : "Thu, 17 Jun 2021 17:35:25 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "39ms", + "MS-CV" : "L2A1390WgUuvQX9kII7tfw.0", + "X-Azure-Ref" : "03YfLYAAAAADyj9CoznGlQ51VuOod0GhEV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:24.8872064+00:00\"}", + "x-ms-client-request-id" : "8a9ef987-76a8-46d0-b2d5-8aebd8ad818f", + "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", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "0f5f1fc8-3f0f-475c-9739-8778f0a8d8ec", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "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", + "retry-after" : "0", + "StatusCode" : "201", + "Date" : "Thu, 17 Jun 2021 17:35:26 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "573ms", + "MS-CV" : "p9KIU+eZpE657VvEnQAwwg.0", + "X-Azure-Ref" : "03YfLYAAAAACSSOcz+ELITKY2u9JOLh1cV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:uAX_5BvuzOfmA9577zJQ_JjR8WOXhS-8P_ZIpfWI7mU1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:26Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-5d18-e3c7-593a0d00f7ed\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-5d18-e3c7-593a0d00f7ed\"}}}}", + "Content-Type" : "application/json; charset=utf-8", + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AuAX_5BvuzOfmA9577zJQ_JjR8WOXhS-8P_ZIpfWI7mU1@thread.v2" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:uAX_5BvuzOfmA9577zJQ_JjR8WOXhS-8P_ZIpfWI7mU1@thread.v2/typing?api-version=2021-04-05-preview6", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "16ab8696-aa04-4cbe-9059-794d82c4a43d", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "Strict-Transport-Security" : "max-age=2592000", + "api-supported-versions" : "2021-04-05-preview6", + "X-Processing-Time" : "184ms", + "MS-CV" : "PkaC/sYehUC8rPrKheh/2w.0", + "retry-after" : "0", + "X-Azure-Ref" : "03ofLYAAAAACnJhtw13mOSovi/yqPDU04V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "Date" : "Thu, 17 Jun 2021 17:35:26 GMT" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file 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 new file mode 100644 index 0000000000000..05083445c44f9 --- /dev/null +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendTypingNotificationWithResponseWithOptions[1].json @@ -0,0 +1,169 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Cache" : "CONFIG_NOCACHE", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", + "retry-after" : "0", + "StatusCode" : "201", + "Date" : "Thu, 17 Jun 2021 17:35:50 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "22ms", + "MS-CV" : "j1S5fHYZ2kSkR5UN9lqBZw.0", + "X-Azure-Ref" : "09ofLYAAAAAConuJzVpRHQazodFFIQx12V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-be94-e3c7-593a0d00f81e\"}}", + "x-ms-client-request-id" : "6aa2f5af-eda3-469a-83ad-2510ff4f9a92", + "Content-Type" : "application/json; charset=utf-8", + "Request-Context" : "appId=" + }, + "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.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Cache" : "CONFIG_NOCACHE", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", + "retry-after" : "0", + "StatusCode" : "201", + "Date" : "Thu, 17 Jun 2021 17:35:49 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "31ms", + "MS-CV" : "psCOQwPfVkWue9Is6rwXgw.0", + "X-Azure-Ref" : "09ofLYAAAAACSh/CRMSlJQZSAiSy5wi5GV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-bef9-99c6-593a0d00cc53\"}}", + "x-ms-client-request-id" : "f1ab83c8-9396-439f-9847-da0a45c86eea", + "Content-Type" : "application/json; charset=utf-8", + "Request-Context" : "appId=" + }, + "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.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Cache" : "CONFIG_NOCACHE", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", + "retry-after" : "0", + "StatusCode" : "201", + "Date" : "Thu, 17 Jun 2021 17:35:50 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "59ms", + "MS-CV" : "cEw0dtkFnkG6hA8ypovXNg.0", + "X-Azure-Ref" : "09ofLYAAAAAD+ApL1yeMiS50p+zb1yAAEV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-bf7e-e3c7-593a0d00f81f\"}}", + "x-ms-client-request-id" : "93a0ba18-4679-4d74-9312-3418a462abf1", + "Content-Type" : "application/json; charset=utf-8", + "Request-Context" : "appId=" + }, + "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.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Cache" : "CONFIG_NOCACHE", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", + "retry-after" : "0", + "StatusCode" : "201", + "Date" : "Thu, 17 Jun 2021 17:35:50 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "35ms", + "MS-CV" : "xrj9TJxCiE6HumXdaL50vg.0", + "X-Azure-Ref" : "09ofLYAAAAAC4gd/vAFlyTaWklFKwV4OOV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-bfd9-e3c7-593a0d00f820\"}}", + "x-ms-client-request-id" : "112b0daa-1a44-4425-b42d-0780944119e4", + "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_0000000a-baec-be94-e3c7-593a0d00f81e/:issueAccessToken?api-version=2021-03-07", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "X-Cache" : "CONFIG_NOCACHE", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", + "retry-after" : "0", + "StatusCode" : "200", + "Date" : "Thu, 17 Jun 2021 17:35:50 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "40ms", + "MS-CV" : "JPxephvpO0qAJTeYb5q+5g.0", + "X-Azure-Ref" : "09ofLYAAAAADRppE9RESlQKrKmIc19GHYV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:49.85414+00:00\"}", + "x-ms-client-request-id" : "100a7846-92f9-425e-ba77-771f51699f41", + "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", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "b9a9b2d4-2df3-4983-9621-914cf0e509d2", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "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", + "retry-after" : "0", + "StatusCode" : "201", + "Date" : "Thu, 17 Jun 2021 17:35:50 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "776ms", + "MS-CV" : "079JUUmuwE284nceOC7UhQ.0", + "X-Azure-Ref" : "09ofLYAAAAAAnEfJGgeslTIBTcU9kHEk1V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:k1pLjiNy61eDai6_Ph7xrrUoXCwEOqzqrexkhM0KK1c1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:50Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-be94-e3c7-593a0d00f81e\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-be94-e3c7-593a0d00f81e\"}}}}", + "Content-Type" : "application/json; charset=utf-8", + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ak1pLjiNy61eDai6_Ph7xrrUoXCwEOqzqrexkhM0KK1c1@thread.v2" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:k1pLjiNy61eDai6_Ph7xrrUoXCwEOqzqrexkhM0KK1c1@thread.v2/typing?api-version=2021-04-05-preview6", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "6fc754bd-b95e-4d5b-8e37-703e3cb637e1", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "Strict-Transport-Security" : "max-age=2592000", + "api-supported-versions" : "2021-04-05-preview6", + "X-Processing-Time" : "145ms", + "MS-CV" : "ZjrGIiGtDUmM6qpdLwmajQ.0", + "retry-after" : "0", + "X-Azure-Ref" : "094fLYAAAAADI4O5sy6njSYuFfBrhQ5gZV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "Date" : "Thu, 17 Jun 2021 17:35:51 GMT" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file 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 c51a781cc47d6..6bd088d3922a4 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "dc9e7b73-d236-4994-b474-10d3b7f01957", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:52 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:39 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "ZPFWleOkZUOm68qPfdaS8w.0", - "X-Azure-Ref" : "0Yb7DYAAAAACJEwh7ztBHSYuVmfQx2Y+/WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-512b-28c5-593a0d00ac36\"}}", - "x-ms-client-request-id" : "dc9e7b73-d236-4994-b474-10d3b7f01957", + "X-Processing-Time" : "32ms", + "MS-CV" : "TyF5BbCE5kuIyntPY1N07w.0", + "X-Azure-Ref" : "07IfLYAAAAACidvv9AZflT4Fkf5ThjpNBV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-981d-e3c7-593a0d00f809\"}}", + "x-ms-client-request-id" : "88fb824d-e241-4a69-a46e-f5f70a60fc64", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "4509fb66-e10c-4134-b2f1-a22ebc87d103", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,13 +36,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:52 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:40 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "toJfHrf4FUWF4AKEr+g5JQ.0", - "X-Azure-Ref" : "0Yb7DYAAAAACESaoYM6YxQoGyOqt0mIi3WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-516d-28c5-593a0d00ac37\"}}", - "x-ms-client-request-id" : "4509fb66-e10c-4134-b2f1-a22ebc87d103", + "X-Processing-Time" : "29ms", + "MS-CV" : "rVf8vKaDdUO1HOaRvz/OsQ.0", + "X-Azure-Ref" : "07IfLYAAAAADppvPRNAp6Sop6p5hYEEdHV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-985c-e3c7-593a0d00f80a\"}}", + "x-ms-client-request-id" : "be2a15c8-4fb9-4c97-8dac-e3b3fac9a755", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,8 +51,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "dc773c2b-2d41-499c-bdea-c1a198bfb10d", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:52 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:40 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "gHgfNtb8bEKZaejt1eoukw.0", - "X-Azure-Ref" : "0Yb7DYAAAAADfgU6bLr11R79k1dOpzElYWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-51b1-28c5-593a0d00ac38\"}}", - "x-ms-client-request-id" : "dc773c2b-2d41-499c-bdea-c1a198bfb10d", + "X-Processing-Time" : "33ms", + "MS-CV" : "yYygxLgHEEeuFOuUe9wJxw.0", + "X-Azure-Ref" : "07IfLYAAAAAD/lcMEApM8RLIlSL2UK8C3V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-989b-99c6-593a0d00cc45\"}}", + "x-ms-client-request-id" : "c13225e5-cc50-4515-81d6-82dbb167d9b0", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "4fbc4b8d-c617-44d5-b4b1-832b3449f31f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -88,23 +84,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:53 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:40 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "/TSi6zBATkGRSoffiCm+rg.0", - "X-Azure-Ref" : "0Yb7DYAAAAADcvkldOblRSqDazeZpbQSRWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-51f6-28c5-593a0d00ac39\"}}", - "x-ms-client-request-id" : "4fbc4b8d-c617-44d5-b4b1-832b3449f31f", + "X-Processing-Time" : "58ms", + "MS-CV" : "SDoW9jVAIU2sWfHnDdlyEw.0", + "X-Azure-Ref" : "07IfLYAAAAABSzVQ4YB7WT5aowiUAbx/KV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-9900-e3c7-593a0d00f80b\"}}", + "x-ms-client-request-id" : "c0e8f9e8-45c8-4779-94a1-e87e8a6dfac9", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-512b-28c5-593a0d00ac36/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-981d-e3c7-593a0d00f809/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "1a3c21f2-9ecf-4005-8d4a-59b54f302c54", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -113,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:53 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:40 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "/JGGuCY0WUi/Z8cBXIUjnA.0", - "X-Azure-Ref" : "0Yb7DYAAAAABtTYFgCUXrT5YUlLsfWbdgWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:52.8664581+00:00\"}", - "x-ms-client-request-id" : "1a3c21f2-9ecf-4005-8d4a-59b54f302c54", + "X-Processing-Time" : "66ms", + "MS-CV" : "KtCDgBOXAEGpc5yFT8NSCw.0", + "X-Azure-Ref" : "07IfLYAAAAABL59WrW304TYn5ppOoWplhV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:39.9076916+00:00\"}", + "x-ms-client-request-id" : "e74bf1e2-36eb-4f4b-9d36-a9637e5f9e97", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -128,8 +123,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "e7af01b0-4057-46bc-8a70-088de020799b", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "90a3ac46-8db7-48d4-a59d-86df01033d12", "Content-Type" : "application/json" }, "Response" : { @@ -138,34 +133,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:53 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:41 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "509ms", - "MS-CV" : "5rLkXocLiUmZdGnZgYWXeg.0", - "X-Azure-Ref" : "0Yb7DYAAAAAB0noGnSZ0wSJ1LllhH1WNPWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:CIScA3PdvNisKPsqTeUnw_bRtE4EW113u6rWcGOzMMg1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:53Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-512b-28c5-593a0d00ac36\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-512b-28c5-593a0d00ac36\"}}}}", + "X-Processing-Time" : "563ms", + "MS-CV" : "BdUU7Blh7kq3/zVPFvY3iA.0", + "X-Azure-Ref" : "07IfLYAAAAAByqSh7fCZbToVL0nq7iq+HV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:6unzUcPhqkoCKO0p5DU_LyvC_ylQE8nbV0ijbJOm71c1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:41Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-981d-e3c7-593a0d00f809\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-981d-e3c7-593a0d00f809\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3ACIScA3PdvNisKPsqTeUnw_bRtE4EW113u6rWcGOzMMg1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A6unzUcPhqkoCKO0p5DU_LyvC_ylQE8nbV0ijbJOm71c1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:CIScA3PdvNisKPsqTeUnw_bRtE4EW113u6rWcGOzMMg1@thread.v2/typing?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:6unzUcPhqkoCKO0p5DU_LyvC_ylQE8nbV0ijbJOm71c1@thread.v2/typing?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "c8b38b8e-2bd6-4894-a76d-a5eadc05704d" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "7c50dde0-33c4-4aed-9daf-4297ec456401", + "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "105ms", - "MS-CV" : "z5IH7+gtS0qj8uHxbo3xyw.0", + "api-supported-versions" : "2021-04-05-preview6", + "X-Processing-Time" : "155ms", + "MS-CV" : "Q9vZx+Nmo06aPeNUKxZw/g.0", "retry-after" : "0", - "X-Azure-Ref" : "0Yr7DYAAAAAAs2WzEVCR+Sr7I1UW5u/SsWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "07YfLYAAAAADQoyWUMT3DRrXcGHTSp1yhV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:53 GMT" + "Date" : "Thu, 17 Jun 2021 17:35:41 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 dba81be12bfab..209e10966ff3a 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "0df08431-32f2-4bf4-8ae3-83d604ae23da", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:03 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "KPFdFOpOOEWkLV1IHVIRPA.0", - "X-Azure-Ref" : "0a77DYAAAAAAHe9ti+CcQQKItByGu5LHmWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-79ae-28c5-593a0d00ac56\"}}", - "x-ms-client-request-id" : "0df08431-32f2-4bf4-8ae3-83d604ae23da", + "X-Processing-Time" : "36ms", + "MS-CV" : "59+jOoTyW0qSN/xmKBVmFQ.0", + "X-Azure-Ref" : "094fLYAAAAADFf5KeQNAhSrqbpdde80IpV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-c46c-99c6-593a0d00cc54\"}}", + "x-ms-client-request-id" : "97d297ed-6fb6-481a-8b77-8d28b9b98d0d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "d668ddbc-7ee3-455f-8085-82a200384d86", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,13 +36,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:03 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "GtjveTHX9UCpCDyQ/hYJhQ.0", - "X-Azure-Ref" : "0a77DYAAAAAAbkCYNyeW8QLIHwh5r4hH7WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-79fd-28c5-593a0d00ac57\"}}", - "x-ms-client-request-id" : "d668ddbc-7ee3-455f-8085-82a200384d86", + "X-Processing-Time" : "29ms", + "MS-CV" : "ak2c8ZE8fUSUl1pB7GxsOA.0", + "X-Azure-Ref" : "094fLYAAAAADziRVUxsbjSJm/Sv19BSDYV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-c4a6-e3c7-593a0d00f821\"}}", + "x-ms-client-request-id" : "d72cb4ff-aeb6-4e8c-99c7-77ca4db9712c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,8 +51,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "b340aeaf-dbd6-428d-858f-bbb7c4bc6528", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:03 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "20ms", - "MS-CV" : "sXN4Zl5640eppaxA4VI9bQ.0", - "X-Azure-Ref" : "0bL7DYAAAAAAHMT4dcihrRKVv2l4NeIPUWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-7a3d-28c5-593a0d00ac58\"}}", - "x-ms-client-request-id" : "b340aeaf-dbd6-428d-858f-bbb7c4bc6528", + "X-Processing-Time" : "33ms", + "MS-CV" : "Y2yimb6nxkOoSGTywPniNw.0", + "X-Azure-Ref" : "0+IfLYAAAAACCkBeUVWpiRa0UKXdz+BubV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-c4e8-e3c7-593a0d00f822\"}}", + "x-ms-client-request-id" : "6832f774-75ff-4c87-ac7c-2da238d5fb60", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "96363a1e-9839-4ca1-b556-93fd06cabe0e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -88,23 +84,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:03 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "pS6geJw2GUKEDb8UIyWyOA.0", - "X-Azure-Ref" : "0bL7DYAAAAAAQ8BmvyY8ISLcgc8qExOJeWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-7a82-28c5-593a0d00ac59\"}}", - "x-ms-client-request-id" : "96363a1e-9839-4ca1-b556-93fd06cabe0e", + "X-Processing-Time" : "40ms", + "MS-CV" : "LNhZ34tfhkmWUZqwVcMhNQ.0", + "X-Azure-Ref" : "0+IfLYAAAAACvIw1HsLAdQb8du9+yh6QYV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-c52f-e3c7-593a0d00f823\"}}", + "x-ms-client-request-id" : "9ea6d9c1-5eb0-4acb-ba6b-c9185e14ee09", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-79ae-28c5-593a0d00ac56/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-c46c-99c6-593a0d00cc54/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "b7ab953a-83cf-4289-9dc1-03e9f3a92197", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -113,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:50:03 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "6zye8RFFhEmg6pCpjWi0Vg.0", - "X-Azure-Ref" : "0bL7DYAAAAACfRh+03fmZRpN3T4yxYR5yWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:50:03.253721+00:00\"}", - "x-ms-client-request-id" : "b7ab953a-83cf-4289-9dc1-03e9f3a92197", + "X-Processing-Time" : "41ms", + "MS-CV" : "gPm/TdMH3USN/qnuS/kMww.0", + "X-Azure-Ref" : "0+IfLYAAAAACr6YjDBRiNSrV5CmFQc/UuV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:51.192448+00:00\"}", + "x-ms-client-request-id" : "fc3488f1-62cb-448f-9166-7fa4651e4265", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -128,8 +123,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "d0545d03-f791-4206-9be4-0db53e658509", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "9610fa92-c063-4236-8b1e-049de7abdd2e", "Content-Type" : "application/json" }, "Response" : { @@ -138,34 +133,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:03 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:52 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "460ms", - "MS-CV" : "bp9gNK8+E0S2tuTSAYEH7g.0", - "X-Azure-Ref" : "0bL7DYAAAAAClq3u22/5XRoVQVjseKLj+WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:e8qM-BpqrCVHLLNCvC8c3d9aO5EmZBK9GB4yCb8nToI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:50:04Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-79ae-28c5-593a0d00ac56\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-79ae-28c5-593a0d00ac56\"}}}}", + "X-Processing-Time" : "958ms", + "MS-CV" : "sRDpmso/oEqUwjRiJ1qhdw.0", + "X-Azure-Ref" : "0+IfLYAAAAADJQOSAuoE1TKt8S/U62cJnV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:34uT-9HSHvbSUwXbSuhMkWiPx0yYr69Jp9pWSBucvk81@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:52Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-c46c-99c6-593a0d00cc54\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-c46c-99c6-593a0d00cc54\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3Ae8qM-BpqrCVHLLNCvC8c3d9aO5EmZBK9GB4yCb8nToI1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A34uT-9HSHvbSUwXbSuhMkWiPx0yYr69Jp9pWSBucvk81@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:e8qM-BpqrCVHLLNCvC8c3d9aO5EmZBK9GB4yCb8nToI1@thread.v2/typing?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:34uT-9HSHvbSUwXbSuhMkWiPx0yYr69Jp9pWSBucvk81@thread.v2/typing?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "640cedd4-26c1-48ef-976c-7a8482742670" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "0a7b142e-d707-411e-82ff-a507811f9df0", + "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "119ms", - "MS-CV" : "Chy3ZKrtCUiOwsgbqDMEqQ.0", + "api-supported-versions" : "2021-04-05-preview6", + "X-Processing-Time" : "280ms", + "MS-CV" : "HQG/aRbJm0q5ZjPlRpPNEA.0", "retry-after" : "0", - "X-Azure-Ref" : "0bL7DYAAAAAAxgXKy/Ht+SbUzmB+DYKL7WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0+YfLYAAAAAC7Sw6aOhbOSIHiqUsrHycaV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:50:03 GMT" + "Date" : "Thu, 17 Jun 2021 17:35:52 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 b35eaefdf8084..d2a972a2af326 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "83a26e85-e5bf-45d1-9162-5c3617e052b3", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:08 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:56 GMT", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "21ms", - "MS-CV" : "vmIOF+DYq0S67cuYtI24pA.0", - "X-Azure-Ref" : "0cL7DYAAAAAAVfuBcPMUzQ5xRmBZ7518yWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-89d8-28c5-593a0d00ac64\"}}", - "x-ms-client-request-id" : "83a26e85-e5bf-45d1-9162-5c3617e052b3", + "MS-CV" : "W6GlVOIY1US1k8qdR6gXQQ.0", + "X-Azure-Ref" : "0/IfLYAAAAADA4MST0CVnSqXZo+EP8X8IV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d706-e3c7-593a0d00f82f\"}}", + "x-ms-client-request-id" : "8bfd29cc-2b9d-4ee2-b0c4-23e92def9af5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "cf3e1368-a853-4237-ba47-6b18eac7271b", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,13 +36,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:08 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:56 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "19ms", - "MS-CV" : "cfAKNQ1BPkKNr1NMtzAAww.0", - "X-Azure-Ref" : "0cL7DYAAAAAAHJcp5fpNqSL+Zc7ih5AOzWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-8a17-28c5-593a0d00ac65\"}}", - "x-ms-client-request-id" : "cf3e1368-a853-4237-ba47-6b18eac7271b", + "X-Processing-Time" : "32ms", + "MS-CV" : "biXapCmdqkKk13qq+pKqWQ.0", + "X-Azure-Ref" : "0/IfLYAAAAAAfczUB/I7PQpqvPVFXSIdgV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d73f-e3c7-593a0d00f830\"}}", + "x-ms-client-request-id" : "07963a23-026d-4b3e-b2f1-1a992962e002", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,8 +51,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "75aeba59-2cf2-486c-a7be-461b7c048161", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:08 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:56 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "cfMb2ZGAAkG8qXVIUN7fRg.0", - "X-Azure-Ref" : "0cL7DYAAAAABkosGENFcdSrIJovMec2c4WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-8a57-28c5-593a0d00ac66\"}}", - "x-ms-client-request-id" : "75aeba59-2cf2-486c-a7be-461b7c048161", + "X-Processing-Time" : "30ms", + "MS-CV" : "QxnhEgWrWUq5GVlO1qTsfg.0", + "X-Azure-Ref" : "0/IfLYAAAAACxz099xN2pQb6MpxXFV5E4V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d78b-e3c7-593a0d00f831\"}}", + "x-ms-client-request-id" : "80281034-6a92-416d-b9a6-70371577dfe6", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "fcf0ff71-0007-4fb1-9774-4f5e7bf4820c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -88,23 +84,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:08 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:56 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "TtvZ8OdxSkW9GAheDGl0pg.0", - "X-Azure-Ref" : "0cL7DYAAAAADjkFYpLIDOS76brl8uJ4V9WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-8a96-28c5-593a0d00ac67\"}}", - "x-ms-client-request-id" : "fcf0ff71-0007-4fb1-9774-4f5e7bf4820c", + "X-Processing-Time" : "31ms", + "MS-CV" : "LP8kD5Jh0EO93y9nMNiYnA.0", + "X-Azure-Ref" : "0/IfLYAAAAACIiiwg01S5R73QannIWNmIV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d7cb-99c6-593a0d00cc5b\"}}", + "x-ms-client-request-id" : "a7095ef5-eb0c-4cea-bb4e-c158b62f3892", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-89d8-28c5-593a0d00ac64/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d706-e3c7-593a0d00f82f/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "6c6bc1be-132b-418b-a8ec-ef784efe0dff", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -113,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:50:08 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:56 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "7diDtIkrjk+5Y6pkf/3WEQ.0", - "X-Azure-Ref" : "0cL7DYAAAAAC5AIStuML2SKUx/gZfXNi+WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:50:07.3657479+00:00\"}", - "x-ms-client-request-id" : "6c6bc1be-132b-418b-a8ec-ef784efe0dff", + "X-Processing-Time" : "28ms", + "MS-CV" : "tCl6d7QdukeqhRJAW4250g.0", + "X-Azure-Ref" : "0/IfLYAAAAAAPPQVS5PSsS7+JG9bh/432V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:55.9409305+00:00\"}", + "x-ms-client-request-id" : "566b9de7-849f-43fb-aaaa-eac9501d352a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -128,8 +123,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "b7c4b104-2735-4678-aee0-99ef351351ea", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "e8abcd1a-fb0f-40c0-88be-0d67fe537bde", "Content-Type" : "application/json" }, "Response" : { @@ -138,22 +133,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:08 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:57 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "475ms", - "MS-CV" : "TAz8PvMKlku8G74YBsvZdw.0", - "X-Azure-Ref" : "0cL7DYAAAAADkWdKuFIPCSonS7WX0icReWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:BwHENoMpvYB5HyEiDkAXpB8_POAlLOWbr3O277kTqWo1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:50:08Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-89d8-28c5-593a0d00ac64\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-89d8-28c5-593a0d00ac64\"}}}}", + "X-Processing-Time" : "756ms", + "MS-CV" : "gPKLep+HoE+AoPLvj1Uf7A.0", + "X-Azure-Ref" : "0/IfLYAAAAADqSaGOjTyARK9ji/o+3WCxV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:qMLJfZ54pO7f58qJCt-QYXbEaH2H8ManAz-1WtMqA341@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:57Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d706-e3c7-593a0d00f82f\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d706-e3c7-593a0d00f82f\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3ABwHENoMpvYB5HyEiDkAXpB8_POAlLOWbr3O277kTqWo1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AqMLJfZ54pO7f58qJCt-QYXbEaH2H8ManAz-1WtMqA341@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:BwHENoMpvYB5HyEiDkAXpB8_POAlLOWbr3O277kTqWo1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:qMLJfZ54pO7f58qJCt-QYXbEaH2H8ManAz-1WtMqA341@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "5cd9adac-7569-45cd-8a51-d8514ac15d8e", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "59b4847f-3943-41eb-9ffc-c6a8efac4715", "Content-Type" : "application/json" }, "Response" : { @@ -162,55 +157,55 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:09 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:57 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "141ms", - "MS-CV" : "bSB/0QZAsUq7XIwpMJdAug.0", - "X-Azure-Ref" : "0cL7DYAAAAABB/tPHZjt0TqBmZ0+hk85mWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"id\":\"1623441008982\"}", + "X-Processing-Time" : "184ms", + "MS-CV" : "u6sFEv6NQU+rdISK0VCM1w.0", + "X-Azure-Ref" : "0/YfLYAAAAAC+kkWhVWzmRo0gkeP2MBNtV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623951357830\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3ABwHENoMpvYB5HyEiDkAXpB8_POAlLOWbr3O277kTqWo1@thread.v2/messages/1623441008982" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AqMLJfZ54pO7f58qJCt-QYXbEaH2H8ManAz-1WtMqA341@thread.v2/messages/1623951357830" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:BwHENoMpvYB5HyEiDkAXpB8_POAlLOWbr3O277kTqWo1@thread.v2/messages/1623441008982?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:qMLJfZ54pO7f58qJCt-QYXbEaH2H8ManAz-1WtMqA341@thread.v2/messages/1623951357830?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "90e6c792-e05c-4e55-b91a-05755ff8d2e7", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "26c4c7ee-7df3-4efd-b482-0527b9a48c34", "Content-Type" : "application/merge-patch+json" }, "Response" : { "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", - "X-Processing-Time" : "224ms", - "MS-CV" : "LQRbzzZ4W0m0qwGtLi5zsA.0", + "X-Processing-Time" : "332ms", + "MS-CV" : "rU0MiWXTyEqkwVxwxh4G8Q.0", "retry-after" : "0", - "X-Azure-Ref" : "0cb7DYAAAAAAQ0cZwjHyoR4uPKy0hiLO8WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0/YfLYAAAAAB3/CucU4P8S4fsFgpsVIe4V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:50:09 GMT" + "Date" : "Thu, 17 Jun 2021 17:35:57 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:BwHENoMpvYB5HyEiDkAXpB8_POAlLOWbr3O277kTqWo1@thread.v2/messages/1623441008982?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:qMLJfZ54pO7f58qJCt-QYXbEaH2H8ManAz-1WtMqA341@thread.v2/messages/1623951357830?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "046b84f4-c8c8-4a76-923a-0572d26987d5" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "bb421534-c817-4795-8dde-70054139f61e" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "80ms", - "MS-CV" : "CYphCWiNOUOS3UIxJYhqQw.0", + "X-Processing-Time" : "103ms", + "MS-CV" : "ysj6AZbOc0eMlRNdCLEkZg.0", "retry-after" : "0", - "X-Azure-Ref" : "0cb7DYAAAAADPU5HnWNVCRbxh3n5VT8uqWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0/ofLYAAAAAAfwtMgsZWRR6UCxU4ggPs8V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"1623441008982\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1623441009257\",\"content\":{\"message\":\"Update Test\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-11T19:50:08Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-89d8-28c5-593a0d00ac64\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-89d8-28c5-593a0d00ac64\"}},\"editedOn\":\"2021-06-11T19:50:09Z\",\"metadata\":{\"onedriveReferences\":\"onedriveReferences - updated\",\"deliveryMode\":\"deliveryMode value - updated\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\"}}", - "Date" : "Fri, 11 Jun 2021 19:50:09 GMT", + "Body" : "{\"id\":\"1623951357830\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1623951358160\",\"content\":{\"message\":\"Update Test\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T17:35:57Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d706-e3c7-593a0d00f82f\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d706-e3c7-593a0d00f82f\"}},\"editedOn\":\"2021-06-17T17:35:58Z\",\"metadata\":{\"onedriveReferences\":\"onedriveReferences - updated\",\"deliveryMode\":\"deliveryMode value - updated\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\"}}", + "Date" : "Thu, 17 Jun 2021 17:35:58 GMT", "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 7e30bfcea28db..3386acaaa3af0 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "26078c6d-77f2-49ab-bb2e-4a87453d979e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:09 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:57 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "2JkVkyuvz0Smw5FS+oighA.0", - "X-Azure-Ref" : "0cb7DYAAAAADbH3Mob5kLS5TnuT0y+7/FWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-8f91-28c5-593a0d00ac68\"}}", - "x-ms-client-request-id" : "26078c6d-77f2-49ab-bb2e-4a87453d979e", + "X-Processing-Time" : "55ms", + "MS-CV" : "8+EXXgoABkiiD1TuF6xCQA.0", + "X-Azure-Ref" : "0/ofLYAAAAAAKWxgr6xQmTJ+a9xRULSWsV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-de4c-e3c7-593a0d00f836\"}}", + "x-ms-client-request-id" : "352e3e6c-29d7-4266-8301-e3a298f07833", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "5bfc2d2a-2fd7-451c-bd0c-01baac7e8174", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,13 +36,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:09 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:58 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "7lTQ6VEg0kS/woRVp/mpzw.0", - "X-Azure-Ref" : "0cb7DYAAAAABDsHZWx6S/QZnHo5MpVUZBWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-8fe0-28c5-593a0d00ac69\"}}", - "x-ms-client-request-id" : "5bfc2d2a-2fd7-451c-bd0c-01baac7e8174", + "X-Processing-Time" : "30ms", + "MS-CV" : "QuVaOGVZEESvO0vyWrQe+A.0", + "X-Azure-Ref" : "0/ofLYAAAAABuOqUVzorRTaBJTQspyg/RV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-de90-e3c7-593a0d00f837\"}}", + "x-ms-client-request-id" : "ecff911c-33aa-4fd2-b819-271bef7017fa", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,8 +51,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "171c45e6-5ffe-4173-b719-1ad7728cc682", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:09 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:57 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "26ms", - "MS-CV" : "3OTQ1d/pi0KEzsUqEKi0Og.0", - "X-Azure-Ref" : "0cb7DYAAAAABgxEurKLK8SqT16VuBhvhlWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-9024-28c5-593a0d00ac6a\"}}", - "x-ms-client-request-id" : "171c45e6-5ffe-4173-b719-1ad7728cc682", + "X-Processing-Time" : "31ms", + "MS-CV" : "f69d4C6HREuKNpo6yP+Xjg.0", + "X-Azure-Ref" : "0/ofLYAAAAAA0p75oq7AsTaSkqEsNaOsQV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-decb-99c6-593a0d00cc5c\"}}", + "x-ms-client-request-id" : "7896fb96-1091-4c48-8237-e2d598961bcc", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "2503c3fa-abaf-4c02-993e-eb76b3edc66c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -88,23 +84,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:09 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:58 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "3GgGyDTs9kaXtMSZMX8CRw.0", - "X-Azure-Ref" : "0cb7DYAAAAABXHfKXPBcYSq5pP6lKw2YbWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-9068-28c5-593a0d00ac6b\"}}", - "x-ms-client-request-id" : "2503c3fa-abaf-4c02-993e-eb76b3edc66c", + "X-Processing-Time" : "55ms", + "MS-CV" : "fCo/Q62280qnnLQ09XCEiw.0", + "X-Azure-Ref" : "0/ofLYAAAAABCjp4CpcR6R7js3k2jOxEdV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-df21-e3c7-593a0d00f838\"}}", + "x-ms-client-request-id" : "8da0f143-1ab9-4da9-a902-126720039d77", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-8f91-28c5-593a0d00ac68/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-de4c-e3c7-593a0d00f836/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "d86ad329-73bb-4628-b5d5-4093c9fd955f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -113,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:50:09 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:58 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "0wnmz6YqhkeLkrUDVQpqlQ.0", - "X-Azure-Ref" : "0cb7DYAAAAAC11roANH31R6BcM/vYLEd7WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:50:08.8579267+00:00\"}", - "x-ms-client-request-id" : "d86ad329-73bb-4628-b5d5-4093c9fd955f", + "X-Processing-Time" : "36ms", + "MS-CV" : "Ig7n8TmllkG4Y3wLWHlZQA.0", + "X-Azure-Ref" : "0/ofLYAAAAAB6ibYjIDm2S5UbGY+d3E8LV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:57.8328406+00:00\"}", + "x-ms-client-request-id" : "e1181e03-f0f2-4712-8592-3a1c190e55d1", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -128,8 +123,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "655b7b8e-896c-4102-9a2e-080c9fa3d447", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "4c4105eb-999e-4e5f-9311-f0261aab4490", "Content-Type" : "application/json" }, "Response" : { @@ -138,22 +133,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:10 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:59 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "437ms", - "MS-CV" : "6VkpnEw7wkqhbTbiXABlgQ.0", - "X-Azure-Ref" : "0cb7DYAAAAAB5NG94Dw+QQqGCBzjMQWVdWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:vs0fi08yey25cq2FKd-fw-pi4cYxB3mmMImPX9hlJaw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:50:09Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-8f91-28c5-593a0d00ac68\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-8f91-28c5-593a0d00ac68\"}}}}", + "X-Processing-Time" : "946ms", + "MS-CV" : "CUcTi0uUvk6e1thvWwKWCw.0", + "X-Azure-Ref" : "0/ofLYAAAAAC0NSMp8HgJQb0o7uYFXaoMV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:P7LlebEFk1Bm1olCzNC7Ux_6i3v6hsHnjfyWMu7-aAs1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:58Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-de4c-e3c7-593a0d00f836\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-de4c-e3c7-593a0d00f836\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3Avs0fi08yey25cq2FKd-fw-pi4cYxB3mmMImPX9hlJaw1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AP7LlebEFk1Bm1olCzNC7Ux_6i3v6hsHnjfyWMu7-aAs1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:vs0fi08yey25cq2FKd-fw-pi4cYxB3mmMImPX9hlJaw1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:P7LlebEFk1Bm1olCzNC7Ux_6i3v6hsHnjfyWMu7-aAs1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "df7600dc-3727-43b4-9690-bcc471cf72ba", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "61e12801-abe3-4b7a-abe8-93cb7eeefc5b", "Content-Type" : "application/json" }, "Response" : { @@ -162,55 +157,55 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:50:10 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:59 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "129ms", - "MS-CV" : "oBt7cQe4WkacUBUqKQnHLg.0", - "X-Azure-Ref" : "0cr7DYAAAAACCoYAGlkinTJwEDvUCD7YcWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"id\":\"1623441010443\"}", + "X-Processing-Time" : "269ms", + "MS-CV" : "+A48EPykqUGa+jsQNqHb0A.0", + "X-Azure-Ref" : "0/4fLYAAAAADLZZJF0/pRQbmmIljIwl+UV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623951359957\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3Avs0fi08yey25cq2FKd-fw-pi4cYxB3mmMImPX9hlJaw1@thread.v2/messages/1623441010443" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AP7LlebEFk1Bm1olCzNC7Ux_6i3v6hsHnjfyWMu7-aAs1@thread.v2/messages/1623951359957" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:vs0fi08yey25cq2FKd-fw-pi4cYxB3mmMImPX9hlJaw1@thread.v2/messages/1623441010443?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:P7LlebEFk1Bm1olCzNC7Ux_6i3v6hsHnjfyWMu7-aAs1@thread.v2/messages/1623951359957?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "504aa2b6-2fac-4381-9371-8b29a42016c2", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "9039f5f4-1bf7-4436-9679-f84dbd183c54", "Content-Type" : "application/merge-patch+json" }, "Response" : { "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", - "X-Processing-Time" : "326ms", - "MS-CV" : "nWZq9qCIjk2oVh1DNjut+A.0", + "X-Processing-Time" : "443ms", + "MS-CV" : "KcqeoS9Ey0uFiZPbaZDR0g.0", "retry-after" : "0", - "X-Azure-Ref" : "0cr7DYAAAAADwRd8T62KSQr8Wtd9mJDzaWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0AIjLYAAAAADqtzSxAKDaRIWX0YX0yEfoV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:50:10 GMT" + "Date" : "Thu, 17 Jun 2021 17:36:00 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:vs0fi08yey25cq2FKd-fw-pi4cYxB3mmMImPX9hlJaw1@thread.v2/messages/1623441010443?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:P7LlebEFk1Bm1olCzNC7Ux_6i3v6hsHnjfyWMu7-aAs1@thread.v2/messages/1623951359957?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "0df8b82a-9d3f-439b-a6bf-c275b0d640cc" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "30b4755b-e42c-4e00-9fbe-19bc38b4e30d" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "93ms", - "MS-CV" : "QJ21Yc6r/ES89oYEXbZ6JA.0", + "X-Processing-Time" : "137ms", + "MS-CV" : "lGkkQBdXQUWyYLOjd3e8tg.0", "retry-after" : "0", - "X-Azure-Ref" : "0cr7DYAAAAAACERWGkhJiSYpC8vcjAeA7WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "0AIjLYAAAAAB2UTcPyxUNQ5gzxyz6judiV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"1623441010443\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1623441010711\",\"content\":{\"message\":\"Update Test\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-11T19:50:10Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-8f91-28c5-593a0d00ac68\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-8f91-28c5-593a0d00ac68\"}},\"editedOn\":\"2021-06-11T19:50:10Z\",\"metadata\":{\"onedriveReferences\":\"onedriveReferences - updated\",\"deliveryMode\":\"deliveryMode value - updated\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\"}}", - "Date" : "Fri, 11 Jun 2021 19:50:11 GMT", + "Body" : "{\"id\":\"1623951359957\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1623951360396\",\"content\":{\"message\":\"Update Test\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T17:35:59Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-de4c-e3c7-593a0d00f836\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-de4c-e3c7-593a0d00f836\"}},\"editedOn\":\"2021-06-17T17:36:00Z\",\"metadata\":{\"onedriveReferences\":\"onedriveReferences - updated\",\"deliveryMode\":\"deliveryMode value - updated\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\"}}", + "Date" : "Thu, 17 Jun 2021 17:36:00 GMT", "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 e79908431b522..f329a7ef80614 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "f527e662-4ba1-4858-95c3-b9abd986a69f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:44 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:29 GMT", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "30ms", - "MS-CV" : "D+2+Ms5VGE6DY/+WzwTFEA.0", - "X-Azure-Ref" : "0WL7DYAAAAABqmEWTWSNJRrDZY/Niko1mWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-2fd3-28c5-593a0d00ac1b\"}}", - "x-ms-client-request-id" : "f527e662-4ba1-4858-95c3-b9abd986a69f", + "MS-CV" : "oYPSH1Cl1EONrlXqTkoprg.0", + "X-Azure-Ref" : "04ofLYAAAAAB7m/UjqLjaQKi3Sg0xJDOuV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7137-99c6-593a0d00cc3f\"}}", + "x-ms-client-request-id" : "2b43439f-f1bb-454a-a5cc-e53f3789aa30", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "496fe9e6-10d2-45aa-be7e-269211e11c03", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,13 +36,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:44 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:30 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "FM39pvDm/ESglrALa3Bibg.0", - "X-Azure-Ref" : "0Wb7DYAAAAACj8EBTz3QrRaWQzad2Al/ZWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-301b-28c5-593a0d00ac1c\"}}", - "x-ms-client-request-id" : "496fe9e6-10d2-45aa-be7e-269211e11c03", + "X-Processing-Time" : "32ms", + "MS-CV" : "aFfg8ZIdSU+qHjRH760uWA.0", + "X-Azure-Ref" : "04ofLYAAAAACEfzadQ18xTKTHtBril8CjV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7177-e3c7-593a0d00f7f7\"}}", + "x-ms-client-request-id" : "533c61ce-8ffb-4e21-ac93-b1c017aba94d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,8 +51,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "5a04fad0-b764-4dfc-912c-9a9d1038749c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:44 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:30 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "JSNgnpbyvkG7mtVnU1ihdg.0", - "X-Azure-Ref" : "0Wb7DYAAAAACYNEYuNln2QZx1ML3azVCXWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-306b-28c5-593a0d00ac1d\"}}", - "x-ms-client-request-id" : "5a04fad0-b764-4dfc-912c-9a9d1038749c", + "X-Processing-Time" : "31ms", + "MS-CV" : "BB7GErHE8kO9pnpr6+eKsA.0", + "X-Azure-Ref" : "04ofLYAAAAADxu/2+PnreTpdC3iB2xsSNV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-71ba-e3c7-593a0d00f7f8\"}}", + "x-ms-client-request-id" : "631a5fab-cebd-4b49-89f5-66e0dd71ccf8", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "6c023cad-b5ec-47d3-832a-884fba66e260", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -88,23 +84,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:44 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:30 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "qo8MD339o0yO0n0t+J0+lg.0", - "X-Azure-Ref" : "0Wb7DYAAAAACnq3vOzmfBTJf4PNm0jv5eWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-30b6-28c5-593a0d00ac1e\"}}", - "x-ms-client-request-id" : "6c023cad-b5ec-47d3-832a-884fba66e260", + "X-Processing-Time" : "31ms", + "MS-CV" : "KMIUYwNMc0isCmqVU2f58Q.0", + "X-Azure-Ref" : "04ofLYAAAAABs4xjOQKlPTJn0USZtx4p0V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7204-e3c7-593a0d00f7f9\"}}", + "x-ms-client-request-id" : "4e4d42f3-c0d1-4719-8f1b-0b32d67a82f8", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-2fd3-28c5-593a0d00ac1b/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7137-99c6-593a0d00cc3f/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "28e938a4-9917-460a-80f1-a08b67163316", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -113,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:44 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:30 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "otPfYbaFd0qp1Ip0nW4ZRg.0", - "X-Azure-Ref" : "0Wb7DYAAAAACaAGs0WqRNRJR+hPj+yNYGWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:44.3527763+00:00\"}", - "x-ms-client-request-id" : "28e938a4-9917-460a-80f1-a08b67163316", + "X-Processing-Time" : "39ms", + "MS-CV" : "CkSod1qN606m3cW8she99A.0", + "X-Azure-Ref" : "04ofLYAAAAAAOA5/CmkzRTIcE+NFExdpAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:29.9022077+00:00\"}", + "x-ms-client-request-id" : "6cf2b4b3-a45c-404b-bbc5-c7616e90744e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -128,8 +123,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "692b9776-f18a-4265-b498-7b6e8717046f", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "7d6a9fc5-0851-4ad2-9da2-ed727aa1eb48", "Content-Type" : "application/json" }, "Response" : { @@ -138,55 +133,55 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:45 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:31 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "586ms", - "MS-CV" : "Lxspnv12EkKSmE7/bUvaPQ.0", - "X-Azure-Ref" : "0Wb7DYAAAAACcSDywHpXwQr1v+Mod4+S0WVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:8vVst-KwCePIggNGBg7OtCth324r39S8NRGF4MKSz5k1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:45Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-2fd3-28c5-593a0d00ac1b\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-2fd3-28c5-593a0d00ac1b\"}}}}", + "X-Processing-Time" : "497ms", + "MS-CV" : "z+9wg55FUkyADzIiyf89lg.0", + "X-Azure-Ref" : "04ofLYAAAAACOjJOfHgrASLwo+UVPA7cqV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:xcgK2vSexHZSxDHmEDJH5-i_8oH7vvPdnSF1gynBk6Y1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:31Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7137-99c6-593a0d00cc3f\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7137-99c6-593a0d00cc3f\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3A8vVst-KwCePIggNGBg7OtCth324r39S8NRGF4MKSz5k1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AxcgK2vSexHZSxDHmEDJH5-i_8oH7vvPdnSF1gynBk6Y1@thread.v2" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:8vVst-KwCePIggNGBg7OtCth324r39S8NRGF4MKSz5k1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:xcgK2vSexHZSxDHmEDJH5-i_8oH7vvPdnSF1gynBk6Y1@thread.v2?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "42375c09-615f-4215-b9fc-12aa1e0c5b8b", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "f9bc81a6-d393-4b8b-a0e4-78bffef04823", "Content-Type" : "application/merge-patch+json" }, "Response" : { "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", - "X-Processing-Time" : "135ms", - "MS-CV" : "qEHR3UX4FUiCsXv788c34g.0", + "X-Processing-Time" : "247ms", + "MS-CV" : "xanXtYzgCE+ZEll2OO/Jyw.0", "retry-after" : "0", - "X-Azure-Ref" : "0Wr7DYAAAAADc+BTMYUJtQZq2JypUhqOvWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "044fLYAAAAADqDhU2VVBVR6pA494DWcsPV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:49:45 GMT" + "Date" : "Thu, 17 Jun 2021 17:35:31 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:8vVst-KwCePIggNGBg7OtCth324r39S8NRGF4MKSz5k1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:xcgK2vSexHZSxDHmEDJH5-i_8oH7vvPdnSF1gynBk6Y1@thread.v2?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "acf36485-0d8d-44bf-9e59-8d63d8faaa8d" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "7ce16c40-566e-4f92-aadc-0a24ec130caa" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "85ms", - "MS-CV" : "yy9evqojmUmN2zz2w0BLaA.0", + "X-Processing-Time" : "150ms", + "MS-CV" : "2o2rfYSyvEigeZrFelRx2A.0", "retry-after" : "0", - "X-Azure-Ref" : "0Wr7DYAAAAAB8fDOczrh2S4CrJ/7KwOBJWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "044fLYAAAAACZ8rcyuh1BT6sWQDBuRG+3V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"19:8vVst-KwCePIggNGBg7OtCth324r39S8NRGF4MKSz5k1@thread.v2\",\"topic\":\"Update Test\",\"createdOn\":\"2021-06-11T19:49:45Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-2fd3-28c5-593a0d00ac1b\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-2fd3-28c5-593a0d00ac1b\"}}}", - "Date" : "Fri, 11 Jun 2021 19:49:45 GMT", + "Body" : "{\"id\":\"19:xcgK2vSexHZSxDHmEDJH5-i_8oH7vvPdnSF1gynBk6Y1@thread.v2\",\"topic\":\"Update Test\",\"createdOn\":\"2021-06-17T17:35:31Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7137-99c6-593a0d00cc3f\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7137-99c6-593a0d00cc3f\"}}}", + "Date" : "Thu, 17 Jun 2021 17:35:31 GMT", "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 89adcb4c4f752..739d6cabc5a53 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,8 +3,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "2be042dc-c28e-4df9-922e-953162d5a314", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -13,13 +12,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:41 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:26 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "DnP3fQhs9kOnEaWIqojxbw.0", - "X-Azure-Ref" : "0Vr7DYAAAAADuM0BwA3bgSqnDIWDK04UvWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-2498-28c5-593a0d00ac12\"}}", - "x-ms-client-request-id" : "2be042dc-c28e-4df9-922e-953162d5a314", + "X-Processing-Time" : "31ms", + "MS-CV" : "Q1aAz3OOJkayWMIrxXaHfw.0", + "X-Azure-Ref" : "03ofLYAAAAAD6B9TZ/tihQoQ44HBbEusmV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6268-e3c7-593a0d00f7f1\"}}", + "x-ms-client-request-id" : "00d845d6-e20e-458c-9d74-f7e4c8f139b3", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,8 +27,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "7ec2036d-95f8-461f-9b40-c3d6cfcdf84b", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -38,13 +36,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:41 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:26 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "Cm5ludwDi0i3Fsoeb5+ZKg.0", - "X-Azure-Ref" : "0Vr7DYAAAAAB30F7pivVsQ4gT5KRczGSHWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-253b-28c5-593a0d00ac13\"}}", - "x-ms-client-request-id" : "7ec2036d-95f8-461f-9b40-c3d6cfcdf84b", + "X-Processing-Time" : "57ms", + "MS-CV" : "SS1WHq2KyU6kc50OLQA9sg.0", + "X-Azure-Ref" : "03ofLYAAAAABjfw8wuez+RpbGdKyArJNVV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-62bd-e3c7-593a0d00f7f2\"}}", + "x-ms-client-request-id" : "9e6024f8-fd0c-4902-aa39-a664088d9cd1", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,8 +51,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "d00bcff0-7d12-41fc-8490-bb08f5654131", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -63,13 +60,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:41 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:26 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "lAx7yrPD5UCIeywjwHxCZA.0", - "X-Azure-Ref" : "0Vr7DYAAAAAAZGovoipxrT5RBteKa3APDWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-2580-28c5-593a0d00ac14\"}}", - "x-ms-client-request-id" : "d00bcff0-7d12-41fc-8490-bb08f5654131", + "X-Processing-Time" : "37ms", + "MS-CV" : "SWUQud5EgE2tGKeb5KL8Eg.0", + "X-Azure-Ref" : "03ofLYAAAAAAhEDBqdvbmSLWbVwkcHk/zV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-62fb-e3c7-593a0d00f7f3\"}}", + "x-ms-client-request-id" : "0853e8cb-53d1-40a5-8ac4-292b939a1a09", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,8 +75,7 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "46f9d5d2-70c5-4a8f-9aac-299587af68a8", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -88,23 +84,22 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:41 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:26 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "AjX0JYq4t0OJZAiwdmCzYg.0", - "X-Azure-Ref" : "0Vr7DYAAAAADr+v2q2vVMQ5BrG35dixNZWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"identity\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-25c5-28c5-593a0d00ac15\"}}", - "x-ms-client-request-id" : "46f9d5d2-70c5-4a8f-9aac-299587af68a8", + "X-Processing-Time" : "62ms", + "MS-CV" : "9rsx6is3gEGETx+VnHxsiA.0", + "X-Azure-Ref" : "034fLYAAAAAC/RVhQELZlRphBlasw1wsMV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6361-99c6-593a0d00cc3c\"}}", + "x-ms-client-request-id" : "f070b61d-71a6-4660-9447-4a765f944d5d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-2498-28c5-593a0d00ac12/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6268-e3c7-593a0d00f7f1/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "7a58e0f7-c393-4cc5-8f42-f714c646da6e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", "Content-Type" : "application/json" }, "Response" : { @@ -113,13 +108,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 11 Jun 2021 19:49:41 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:26 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "bKKfmlTqTkKq1rbfSvWdRg.0", - "X-Azure-Ref" : "0Vr7DYAAAAAB/OA1UilsXQLD1Fyl1B8odWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-12T19:49:41.5577021+00:00\"}", - "x-ms-client-request-id" : "7a58e0f7-c393-4cc5-8f42-f714c646da6e", + "X-Processing-Time" : "64ms", + "MS-CV" : "+rNZSPOZYUG3yZMbtm8tmQ.0", + "X-Azure-Ref" : "034fLYAAAAAC+VFIlxR29S61Dug9MiByKV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:26.1826156+00:00\"}", + "x-ms-client-request-id" : "40beeb92-071f-44d9-9d06-4e062b65ceeb", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -128,8 +123,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "c3a2414a-a9a7-4bc4-9156-b740d75df76c", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "50bfaf23-4166-442e-9f3b-60d5eb8df246", "Content-Type" : "application/json" }, "Response" : { @@ -138,55 +133,55 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Fri, 11 Jun 2021 19:49:42 GMT", + "Date" : "Thu, 17 Jun 2021 17:35:27 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "357ms", - "MS-CV" : "CKRKM4WLHUWYBtghXtc7BA.0", - "X-Azure-Ref" : "0Vr7DYAAAAACQuyFZ/c8fSa2cjuOtXlJDWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "Body" : "{\"chatThread\":{\"id\":\"19:wu1nvZcidNMAOK22WqAMo62-krNg8ZK5WOG69V8wYhI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-11T19:49:42Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-2498-28c5-593a0d00ac12\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-2498-28c5-593a0d00ac12\"}}}}", + "X-Processing-Time" : "662ms", + "MS-CV" : "e/u+nrYiAU+Cmnohve2Tbg.0", + "X-Azure-Ref" : "034fLYAAAAACY4/afHkNsS5PA6CsCaAfCV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:d9joynTlZxlYyNR4Sn3YLnG-PMIeTWRJ5fEv_90vtP81@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:27Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6268-e3c7-593a0d00f7f1\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6268-e3c7-593a0d00f7f1\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://smstestapp.communication.azure.com/chat/threads/19%3Awu1nvZcidNMAOK22WqAMo62-krNg8ZK5WOG69V8wYhI1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ad9joynTlZxlYyNR4Sn3YLnG-PMIeTWRJ5fEv_90vtP81@thread.v2" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:wu1nvZcidNMAOK22WqAMo62-krNg8ZK5WOG69V8wYhI1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:d9joynTlZxlYyNR4Sn3YLnG-PMIeTWRJ5fEv_90vtP81@thread.v2?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "559a8756-8348-4f18-885d-84a3c559abc5", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "38472902-fe54-4847-b161-5716b600d190", "Content-Type" : "application/merge-patch+json" }, "Response" : { "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", - "X-Processing-Time" : "193ms", - "MS-CV" : "xzy8g7ExJEmryU9mNfL35Q.0", + "X-Processing-Time" : "202ms", + "MS-CV" : "zdI/+RviU0Sdno8sZnfSQg.0", "retry-after" : "0", - "X-Azure-Ref" : "0V77DYAAAAAAaFwn5/7vBQbg3L+DYHnrZWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "034fLYAAAAAABxb8h+OPCS7xKtg7oUtNOV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Fri, 11 Jun 2021 19:49:42 GMT" + "Date" : "Thu, 17 Jun 2021 17:35:27 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:wu1nvZcidNMAOK22WqAMo62-krNg8ZK5WOG69V8wYhI1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:d9joynTlZxlYyNR4Sn3YLnG-PMIeTWRJ5fEv_90vtP81@thread.v2?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "37f831ec-c53c-4fae-ad79-d9b5e3ae73a1" + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "1b38184b-26eb-49c4-8358-da7dd4891fab" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "88ms", - "MS-CV" : "gydNfTyj7E+qyyK/C1INBA.0", + "X-Processing-Time" : "117ms", + "MS-CV" : "38M7P3cFPUOjGvpbPGHKpQ.0", "retry-after" : "0", - "X-Azure-Ref" : "0V77DYAAAAAB+oTaf5wlORoZYSN5KRi5PWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "X-Azure-Ref" : "04IfLYAAAAACIB82lL3WtTJ30V9iyeex5V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"19:wu1nvZcidNMAOK22WqAMo62-krNg8ZK5WOG69V8wYhI1@thread.v2\",\"topic\":\"Update Test\",\"createdOn\":\"2021-06-11T19:49:42Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-2498-28c5-593a0d00ac12\",\"communicationUser\":{\"id\":\"8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-9c81-2498-28c5-593a0d00ac12\"}}}", - "Date" : "Fri, 11 Jun 2021 19:49:42 GMT", + "Body" : "{\"id\":\"19:d9joynTlZxlYyNR4Sn3YLnG-PMIeTWRJ5fEv_90vtP81@thread.v2\",\"topic\":\"Update Test\",\"createdOn\":\"2021-06-17T17:35:27Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6268-e3c7-593a0d00f7f1\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6268-e3c7-593a0d00f7f1\"}}}", + "Date" : "Thu, 17 Jun 2021 17:35:27 GMT", "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 73d16e16c0d31..0c96656a3f7e1 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 @@ -3,8 +3,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (11.0.7; Windows 10; 10.0)", - "x-ms-client-request-id" : "5b185e03-8c62-410b-8116-16e6e2a8ceff", + "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "d220b072-897e-48d1-aead-414b54c6e11d", "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 5193d9773871b..42798df3a8c1e 100644 --- a/sdk/communication/azure-communication-chat/swagger/README.md +++ b/sdk/communication/azure-communication-chat/swagger/README.md @@ -33,13 +33,13 @@ To update generated files for chat service, run the following command ``` yaml tag: package-chat-2021-04-05-preview6 require: - - https://raw.githubusercontent.com/Azure/azure-rest-api-specs/896d05e37dbb00712726620b8d679cc3c3be09fb/specification/communication/data-plane/Chat/readme.md + - https://github.com/Azure/azure-rest-api-specs/blob/2737ef83c687cd61721ece7af713921d0df2485a/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/communicationserviceschat.json java: true output-folder: ..\ license-header: MICROSOFT_MIT_SMALL namespace: com.azure.communication.chat generate-client-as-impl: true -custom-types: ChatMessagePriority,ChatThreadItem,PostReadReceiptOptions,SendChatMessageOptions,UpdateChatMessageOptions,UpdateChatThreadOptions,ChatMessageType,SendChatMessageResult +custom-types: ChatMessagePriority,ChatThreadItem,PostReadReceiptOptions,SendChatMessageOptions,UpdateChatMessageOptions,UpdateChatThreadOptions,ChatMessageType,SendChatMessageResult,SendTypingNotificationOptions custom-types-subpackage: models models-subpackage: implementation.models generate-client-interfaces: false @@ -145,3 +145,22 @@ directive: $.schema = { "$ref": path }; } ``` + +### Rename SendTypingNotificationRequest to SendTypingNotificationOptions +``` yaml +directive: +- from: swagger-document + where: $.definitions + transform: > + if (!$.SendTypingNotificationOptions) { + $.SendTypingNotificationOptions = $.SendTypingNotificationRequest; + delete $.SendTypingNotificationRequest; + } +- from: swagger-document + where: $["paths"]["/chat/threads/{chatThreadId}/typing"].post.parameters[2] + transform: > + if ($.schema && $.schema.$ref && $.schema.$ref.endsWith("SendTypingNotificationRequest")) { + const path = $.schema.$ref.replace(/[#].*$/, "#/definitions/SendTypingNotificationOptions"); + $.schema = { "$ref": path }; + } +``` From 7f55abfccc946ccb0ca6d289918129b1f0c5eb1f Mon Sep 17 00:00:00 2001 From: Andrei Giurgiu Date: Thu, 17 Jun 2021 10:54:47 -0700 Subject: [PATCH 2/6] Updated Changelog --- sdk/communication/azure-communication-chat/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/communication/azure-communication-chat/CHANGELOG.md b/sdk/communication/azure-communication-chat/CHANGELOG.md index 6b8f166188e50..9c51462daff72 100644 --- a/sdk/communication/azure-communication-chat/CHANGELOG.md +++ b/sdk/communication/azure-communication-chat/CHANGELOG.md @@ -4,6 +4,7 @@ - Added method `ChatThreadAsyncClient.listParticipants(ListParticipantsOptions listParticipantsOptions)` - Added method `ChatThreadAsyncClient.listReadReceipts(ListReadReceiptOptions listReadReceiptOptions)` - Added support for metadata in messages. +- Added options class `SendTypingNotificationOptions` for setting `SenderDisplayName` of the notification sender. ## 1.0.1 (2021-05-27) - Dependency versions updated. From c289f8de0b20151d02764da0bd381eecc4bc2f61 Mon Sep 17 00:00:00 2001 From: Andrei Giurgiu Date: Thu, 17 Jun 2021 13:19:43 -0700 Subject: [PATCH 3/6] Renamed SendTypingNotificaitonOptions to TypingNotificationOptions --- .../azure-communication-chat/README.md | 4 ++-- .../chat/ChatThreadAsyncClient.java | 12 +++++------ .../communication/chat/ChatThreadClient.java | 8 +++---- .../chat/implementation/ChatThreadsImpl.java | 21 +++++++++---------- ...ns.java => TypingNotificationOptions.java} | 6 +++--- .../communication/chat/ReadmeSamples.java | 4 ++-- .../chat/ChatThreadAsyncClientTest.java | 4 ++-- .../chat/ChatThreadClientTest.java | 4 ++-- .../swagger/README.md | 12 +++++------ 9 files changed, 37 insertions(+), 38 deletions(-) rename sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/models/{SendTypingNotificationOptions.java => TypingNotificationOptions.java} (86%) diff --git a/sdk/communication/azure-communication-chat/README.md b/sdk/communication/azure-communication-chat/README.md index 9ddec34c46709..74136d7ac071b 100644 --- a/sdk/communication/azure-communication-chat/README.md +++ b/sdk/communication/azure-communication-chat/README.md @@ -353,13 +353,13 @@ readReceiptsResponse.iterableByPage().forEach(resp -> { #### Send typing notification Use `sendTypingNotification` method to post a typing notification event to a chat thread, on behalf of a user. -`sendTypingNotificationOptions` is used to describe the typing notification request. +`typingNotificationOptions` is used to describe the typing notification request. - Use `senderDisplayName` to set the display name of the notification sender; ```Java -SendTypingNotificationOptions options = new SendTypingNotificationOptions(); +TypingNotificationOptions options = new TypingNotificationOptions(); options.setSenderDisplayName("Sender Display Name"); chatThreadClient.sendTypingNotification(options); ``` diff --git a/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/ChatThreadAsyncClient.java b/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/ChatThreadAsyncClient.java index 2e6e4454fa904..a66b0855eb667 100644 --- a/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/ChatThreadAsyncClient.java +++ b/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/ChatThreadAsyncClient.java @@ -31,7 +31,7 @@ import com.azure.communication.chat.models.ListReadReceiptOptions; import com.azure.communication.chat.models.SendChatMessageOptions; import com.azure.communication.chat.models.SendChatMessageResult; -import com.azure.communication.chat.models.SendTypingNotificationOptions; +import com.azure.communication.chat.models.TypingNotificationOptions; import com.azure.communication.chat.models.UpdateChatMessageOptions; import com.azure.communication.chat.models.UpdateChatThreadOptions; import com.azure.communication.common.CommunicationIdentifier; @@ -735,7 +735,7 @@ Mono> deleteMessage(String chatMessageId, Context context) { @ServiceMethod(returns = ReturnType.SINGLE) public Mono sendTypingNotification() { try { - SendTypingNotificationOptions options = new SendTypingNotificationOptions(); + TypingNotificationOptions options = new TypingNotificationOptions(); return withContext(context -> sendTypingNotification(options, context) .flatMap((Response res) -> { return Mono.empty(); @@ -755,7 +755,7 @@ public Mono sendTypingNotification() { @ServiceMethod(returns = ReturnType.SINGLE) public Mono> sendTypingNotificationWithResponse() { try { - SendTypingNotificationOptions options = new SendTypingNotificationOptions(); + TypingNotificationOptions options = new TypingNotificationOptions(); return withContext(context -> sendTypingNotification(options, context)); } catch (RuntimeException ex) { return monoError(logger, ex); @@ -771,7 +771,7 @@ public Mono> sendTypingNotificationWithResponse() { * @return the completion. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono sendTypingNotification(SendTypingNotificationOptions options) { + public Mono sendTypingNotification(TypingNotificationOptions options) { try { Objects.requireNonNull(options, "'options' cannot be null."); return withContext(context -> sendTypingNotification(options, context) @@ -792,7 +792,7 @@ public Mono sendTypingNotification(SendTypingNotificationOptions options) * @return the completion. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> sendTypingNotificationWithResponse(SendTypingNotificationOptions options) { + public Mono> sendTypingNotificationWithResponse(TypingNotificationOptions options) { try { Objects.requireNonNull(options, "'options' cannot be null."); return withContext(context -> sendTypingNotification(options, context)); @@ -808,7 +808,7 @@ public Mono> sendTypingNotificationWithResponse(SendTypingNotific * @param context The context to associate with this operation. * @return the completion. */ - Mono> sendTypingNotification(SendTypingNotificationOptions options, Context context) { + Mono> sendTypingNotification(TypingNotificationOptions options, Context context) { context = context == null ? Context.NONE : context; try { Objects.requireNonNull(options, "'options' cannot be null."); diff --git a/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/ChatThreadClient.java b/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/ChatThreadClient.java index 1fa37cae36b8a..0d6b71560978d 100644 --- a/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/ChatThreadClient.java +++ b/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/ChatThreadClient.java @@ -14,7 +14,7 @@ import com.azure.communication.chat.models.ListReadReceiptOptions; import com.azure.communication.chat.models.SendChatMessageOptions; import com.azure.communication.chat.models.SendChatMessageResult; -import com.azure.communication.chat.models.SendTypingNotificationOptions; +import com.azure.communication.chat.models.TypingNotificationOptions; import com.azure.communication.chat.models.UpdateChatMessageOptions; import com.azure.communication.common.CommunicationIdentifier; import com.azure.core.annotation.ReturnType; @@ -351,7 +351,7 @@ public void deleteMessage(String chatMessageId) { */ @ServiceMethod(returns = ReturnType.SINGLE) public Response sendTypingNotificationWithResponse(Context context) { - SendTypingNotificationOptions options = new SendTypingNotificationOptions(); + TypingNotificationOptions options = new TypingNotificationOptions(); return this.client.sendTypingNotification(options, context).block(); } @@ -376,7 +376,7 @@ public void sendTypingNotification() { * @return the completion. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response sendTypingNotificationWithResponse(SendTypingNotificationOptions options, Context context) { + public Response sendTypingNotificationWithResponse(TypingNotificationOptions options, Context context) { return this.client.sendTypingNotification(options, context).block(); } @@ -388,7 +388,7 @@ public Response sendTypingNotificationWithResponse(SendTypingNotificationO * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void sendTypingNotification(SendTypingNotificationOptions options) { + public void sendTypingNotification(TypingNotificationOptions options) { this.client.sendTypingNotification(options).block(); } 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 2d1e4342aa2e2..7b9ff4962e504 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 @@ -18,7 +18,7 @@ import com.azure.communication.chat.implementation.models.SendReadReceiptRequest; import com.azure.communication.chat.models.SendChatMessageOptions; import com.azure.communication.chat.models.SendChatMessageResult; -import com.azure.communication.chat.models.SendTypingNotificationOptions; +import com.azure.communication.chat.models.TypingNotificationOptions; import com.azure.communication.chat.models.UpdateChatMessageOptions; import com.azure.communication.chat.models.UpdateChatThreadOptions; import com.azure.core.annotation.BodyParam; @@ -215,7 +215,7 @@ Mono> sendTypingNotification( @HostParam("endpoint") String endpoint, @PathParam("chatThreadId") String chatThreadId, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") SendTypingNotificationOptions sendTypingNotificationRequest, + @BodyParam("application/json") TypingNotificationOptions sendTypingNotificationRequest, @HeaderParam("Accept") String accept, Context context); @@ -1880,7 +1880,7 @@ public Response getChatThreadPropertiesWithResponse(String */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> sendTypingNotificationWithResponseAsync( - String chatThreadId, SendTypingNotificationOptions sendTypingNotificationRequest) { + String chatThreadId, TypingNotificationOptions sendTypingNotificationRequest) { final String accept = "application/json"; return FluxUtil.withContext( context -> @@ -1906,7 +1906,7 @@ public Mono> sendTypingNotificationWithResponseAsync( */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> sendTypingNotificationWithResponseAsync( - String chatThreadId, SendTypingNotificationOptions sendTypingNotificationRequest, Context context) { + String chatThreadId, TypingNotificationOptions sendTypingNotificationRequest, Context context) { final String accept = "application/json"; return service.sendTypingNotification( this.client.getEndpoint(), @@ -1929,7 +1929,7 @@ public Mono> sendTypingNotificationWithResponseAsync( */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono sendTypingNotificationAsync( - String chatThreadId, SendTypingNotificationOptions sendTypingNotificationRequest) { + String chatThreadId, TypingNotificationOptions sendTypingNotificationRequest) { return sendTypingNotificationWithResponseAsync(chatThreadId, sendTypingNotificationRequest) .flatMap((Response res) -> Mono.empty()); } @@ -1945,7 +1945,7 @@ public Mono sendTypingNotificationAsync( */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono sendTypingNotificationAsync(String chatThreadId) { - final SendTypingNotificationOptions sendTypingNotificationRequest = null; + final TypingNotificationOptions sendTypingNotificationRequest = null; return sendTypingNotificationWithResponseAsync(chatThreadId, sendTypingNotificationRequest) .flatMap((Response res) -> Mono.empty()); } @@ -1963,7 +1963,7 @@ public Mono sendTypingNotificationAsync(String chatThreadId) { */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono sendTypingNotificationAsync( - String chatThreadId, SendTypingNotificationOptions sendTypingNotificationRequest, Context context) { + String chatThreadId, TypingNotificationOptions sendTypingNotificationRequest, Context context) { return sendTypingNotificationWithResponseAsync(chatThreadId, sendTypingNotificationRequest, context) .flatMap((Response res) -> Mono.empty()); } @@ -1978,8 +1978,7 @@ public Mono sendTypingNotificationAsync( * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void sendTypingNotification( - String chatThreadId, SendTypingNotificationOptions sendTypingNotificationRequest) { + public void sendTypingNotification(String chatThreadId, TypingNotificationOptions sendTypingNotificationRequest) { sendTypingNotificationAsync(chatThreadId, sendTypingNotificationRequest).block(); } @@ -1993,7 +1992,7 @@ public void sendTypingNotification( */ @ServiceMethod(returns = ReturnType.SINGLE) public void sendTypingNotification(String chatThreadId) { - final SendTypingNotificationOptions sendTypingNotificationRequest = null; + final TypingNotificationOptions sendTypingNotificationRequest = null; sendTypingNotificationAsync(chatThreadId, sendTypingNotificationRequest).block(); } @@ -2010,7 +2009,7 @@ public void sendTypingNotification(String chatThreadId) { */ @ServiceMethod(returns = ReturnType.SINGLE) public Response sendTypingNotificationWithResponse( - String chatThreadId, SendTypingNotificationOptions sendTypingNotificationRequest, Context context) { + String chatThreadId, TypingNotificationOptions sendTypingNotificationRequest, Context context) { return sendTypingNotificationWithResponseAsync(chatThreadId, sendTypingNotificationRequest, context).block(); } diff --git a/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/models/SendTypingNotificationOptions.java b/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/models/TypingNotificationOptions.java similarity index 86% rename from sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/models/SendTypingNotificationOptions.java rename to sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/models/TypingNotificationOptions.java index 1c537006f5710..74a3e254b8c4a 100644 --- a/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/models/SendTypingNotificationOptions.java +++ b/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/models/TypingNotificationOptions.java @@ -9,7 +9,7 @@ /** Request payload for typing notifications. */ @Fluent -public final class SendTypingNotificationOptions { +public final class TypingNotificationOptions { /* * The display name of the typing notification sender. This property is * used to populate sender name for push notifications. @@ -32,9 +32,9 @@ public String getSenderDisplayName() { * populate sender name for push notifications. * * @param senderDisplayName the senderDisplayName value to set. - * @return the SendTypingNotificationOptions object itself. + * @return the TypingNotificationOptions object itself. */ - public SendTypingNotificationOptions setSenderDisplayName(String senderDisplayName) { + public TypingNotificationOptions setSenderDisplayName(String senderDisplayName) { this.senderDisplayName = senderDisplayName; return this; } diff --git a/sdk/communication/azure-communication-chat/src/samples/java/com/azure/communication/chat/ReadmeSamples.java b/sdk/communication/azure-communication-chat/src/samples/java/com/azure/communication/chat/ReadmeSamples.java index 0c5ae27bdc665..7660a866a2831 100644 --- a/sdk/communication/azure-communication-chat/src/samples/java/com/azure/communication/chat/ReadmeSamples.java +++ b/sdk/communication/azure-communication-chat/src/samples/java/com/azure/communication/chat/ReadmeSamples.java @@ -12,7 +12,7 @@ import com.azure.communication.chat.models.CreateChatThreadOptions; import com.azure.communication.chat.models.CreateChatThreadResult; import com.azure.communication.chat.models.SendChatMessageOptions; -import com.azure.communication.chat.models.SendTypingNotificationOptions; +import com.azure.communication.chat.models.TypingNotificationOptions; import com.azure.communication.chat.models.UpdateChatMessageOptions; import com.azure.communication.common.CommunicationUserIdentifier; import com.azure.communication.common.CommunicationTokenCredential; @@ -273,7 +273,7 @@ public void listReadReceipts() { public void sendTypingNotification() { ChatThreadClient chatThreadClient = getChatThreadClient(); - SendTypingNotificationOptions options = new SendTypingNotificationOptions(); + TypingNotificationOptions options = new TypingNotificationOptions(); options.setSenderDisplayName("Sender Display Name"); chatThreadClient.sendTypingNotification(options); } diff --git a/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatThreadAsyncClientTest.java b/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatThreadAsyncClientTest.java index 3c7d9ffafbafa..1b97ddec68a20 100644 --- a/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatThreadAsyncClientTest.java +++ b/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatThreadAsyncClientTest.java @@ -767,7 +767,7 @@ public void canSendTypingNotificationWithResponse(HttpClient httpClient) { @MethodSource("com.azure.core.test.TestBase#getHttpClients") public void canSendTypingNotificationWithOptions(HttpClient httpClient) { // Action & Assert - SendTypingNotificationOptions options = new SendTypingNotificationOptions(); + TypingNotificationOptions options = new TypingNotificationOptions(); options.setSenderDisplayName("Sender"); setupTest(httpClient, "canSendTypingNotificationWithOptions"); @@ -779,7 +779,7 @@ public void canSendTypingNotificationWithOptions(HttpClient httpClient) { @MethodSource("com.azure.core.test.TestBase#getHttpClients") public void canSendTypingNotificationWithResponseWithOptions(HttpClient httpClient) { // Action & Assert - SendTypingNotificationOptions options = new SendTypingNotificationOptions(); + TypingNotificationOptions options = new TypingNotificationOptions(); options.setSenderDisplayName("Sender"); setupTest(httpClient, "canSendTypingNotificationWithResponseWithOptions"); diff --git a/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatThreadClientTest.java b/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatThreadClientTest.java index 6cc7b9d8a9fa1..9407185b2ac7d 100644 --- a/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatThreadClientTest.java +++ b/sdk/communication/azure-communication-chat/src/test/java/com/azure/communication/chat/ChatThreadClientTest.java @@ -460,7 +460,7 @@ public void canSendTypingNotificationWithOptions(HttpClient httpClient) { // Arrange setupTest(httpClient, "canSendTypingNotificationWithOptions"); - SendTypingNotificationOptions options = new SendTypingNotificationOptions(); + TypingNotificationOptions options = new TypingNotificationOptions(); options.setSenderDisplayName("Sender"); // Action & Assert @@ -473,7 +473,7 @@ public void canSendTypingNotificationWithResponseWithOptions(HttpClient httpClie // Arrange setupTest(httpClient, "canSendTypingNotificationWithResponseWithOptions"); - SendTypingNotificationOptions options = new SendTypingNotificationOptions(); + TypingNotificationOptions options = new TypingNotificationOptions(); options.setSenderDisplayName("Sender"); // Action & Assert diff --git a/sdk/communication/azure-communication-chat/swagger/README.md b/sdk/communication/azure-communication-chat/swagger/README.md index 42798df3a8c1e..c73e0dcd4e97f 100644 --- a/sdk/communication/azure-communication-chat/swagger/README.md +++ b/sdk/communication/azure-communication-chat/swagger/README.md @@ -39,7 +39,7 @@ output-folder: ..\ license-header: MICROSOFT_MIT_SMALL namespace: com.azure.communication.chat generate-client-as-impl: true -custom-types: ChatMessagePriority,ChatThreadItem,PostReadReceiptOptions,SendChatMessageOptions,UpdateChatMessageOptions,UpdateChatThreadOptions,ChatMessageType,SendChatMessageResult,SendTypingNotificationOptions +custom-types: ChatMessagePriority,ChatThreadItem,PostReadReceiptOptions,SendChatMessageOptions,UpdateChatMessageOptions,UpdateChatThreadOptions,ChatMessageType,SendChatMessageResult,TypingNotificationOptions custom-types-subpackage: models models-subpackage: implementation.models generate-client-interfaces: false @@ -146,21 +146,21 @@ directive: } ``` -### Rename SendTypingNotificationRequest to SendTypingNotificationOptions +### Rename SendTypingNotificationRequest to TypingNotificationOptions ``` yaml directive: - from: swagger-document where: $.definitions transform: > - if (!$.SendTypingNotificationOptions) { - $.SendTypingNotificationOptions = $.SendTypingNotificationRequest; - delete $.SendTypingNotificationRequest; + if (!$.TypingNotificationOptions) { + $.TypingNotificationOptions = $.SendTypingNotificationRequest; + delete $.TypingNotificationRequest; } - from: swagger-document where: $["paths"]["/chat/threads/{chatThreadId}/typing"].post.parameters[2] transform: > if ($.schema && $.schema.$ref && $.schema.$ref.endsWith("SendTypingNotificationRequest")) { - const path = $.schema.$ref.replace(/[#].*$/, "#/definitions/SendTypingNotificationOptions"); + const path = $.schema.$ref.replace(/[#].*$/, "#/definitions/TypingNotificationOptions"); $.schema = { "$ref": path }; } ``` From 2dcf614c1fd402427920ce44ecab87858e1ae7b8 Mon Sep 17 00:00:00 2001 From: Andrei Giurgiu Date: Thu, 17 Jun 2021 14:06:25 -0700 Subject: [PATCH 4/6] Updated swagger link --- sdk/communication/azure-communication-chat/swagger/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/communication/azure-communication-chat/swagger/README.md b/sdk/communication/azure-communication-chat/swagger/README.md index c73e0dcd4e97f..6af19b0e2b12a 100644 --- a/sdk/communication/azure-communication-chat/swagger/README.md +++ b/sdk/communication/azure-communication-chat/swagger/README.md @@ -33,7 +33,7 @@ To update generated files for chat service, run the following command ``` yaml tag: package-chat-2021-04-05-preview6 require: - - https://github.com/Azure/azure-rest-api-specs/blob/2737ef83c687cd61721ece7af713921d0df2485a/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/communicationserviceschat.json + - https://raw.githubusercontent.com/Azure/azure-rest-api-specs/29e0c9624a8e60138127457f2e863bb4a9ba1419/specification/communication/data-plane/Chat/readme.md java: true output-folder: ..\ license-header: MICROSOFT_MIT_SMALL From b5957668183e67138df6c5ceba34eda5352e14eb Mon Sep 17 00:00:00 2001 From: Andrei Giurgiu Date: Thu, 17 Jun 2021 14:08:01 -0700 Subject: [PATCH 5/6] Updated changelog to reflect name change --- sdk/communication/azure-communication-chat/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/communication/azure-communication-chat/CHANGELOG.md b/sdk/communication/azure-communication-chat/CHANGELOG.md index 9c51462daff72..b62961080e7d6 100644 --- a/sdk/communication/azure-communication-chat/CHANGELOG.md +++ b/sdk/communication/azure-communication-chat/CHANGELOG.md @@ -4,7 +4,7 @@ - Added method `ChatThreadAsyncClient.listParticipants(ListParticipantsOptions listParticipantsOptions)` - Added method `ChatThreadAsyncClient.listReadReceipts(ListReadReceiptOptions listReadReceiptOptions)` - Added support for metadata in messages. -- Added options class `SendTypingNotificationOptions` for setting `SenderDisplayName` of the notification sender. +- Added options class `TypingNotificationOptions` for setting `SenderDisplayName` of the notification sender. ## 1.0.1 (2021-05-27) - Dependency versions updated. From 37c7fa4c013d08f840cb76f01f1b0c2fee04255e Mon Sep 17 00:00:00 2001 From: Andrei Giurgiu Date: Thu, 17 Jun 2021 16:26:52 -0700 Subject: [PATCH 6/6] Generated new session records with x-request-ids missing from previous ones --- ...hreadWithoutSettingRepeatabilityID[1].json | 69 +++---- ...ntTest.canCreateThreadWithResponse[1].json | 55 +++--- ...hatAsyncClientTest.canCreateThread[1].json | 55 +++--- ...st.canDeleteChatThreadWithResponse[1].json | 67 +++---- ...syncClientTest.canDeleteChatThread[1].json | 67 +++---- ...cClientTest.canGetChatThreadClient[1].json | 41 +++-- ...nGetExistingChatThreadWithResponse[1].json | 69 +++---- ...lientTest.canGetExistingChatThread[1].json | 69 +++---- ....canListChatThreadsWithMaxPageSize[1].json | 41 +++-- ...AsyncClientTest.canListChatThreads[1].json | 41 +++-- ...alidParticipantsOnCreateChatThread[1].json | 2 +- ...ncClientTest.canRepeatCreateThread[1].json | 83 +++++---- ....cannotCreateThreadWithNullOptions[1].json | 41 +++-- ...eThreadWithResponseWithNullOptions[1].json | 41 +++-- ...t.cannotDeleteChatThreadWithNullId[1].json | 41 +++-- ...teChatThreadWithResponseWithNullId[1].json | 41 +++-- ...ntTest.canCreateThreadWithResponse[1].json | 55 +++--- .../ChatClientTest.canCreateThread[1].json | 55 +++--- ...st.canDeleteChatThreadWithResponse[1].json | 67 +++---- ...ChatClientTest.canDeleteChatThread[1].json | 67 +++---- ...tClientTest.canGetChatThreadClient[1].json | 41 +++-- ....canListChatThreadsWithMaxPageSize[1].json | 81 +++++---- .../ChatClientTest.canListChatThreads[1].json | 81 +++++---- ...st.canAddListAndRemoveMembersAsync[1].json | 105 ++++++----- ...stAndRemoveMembersWithOptionsAsync[1].json | 105 ++++++----- ...tAndRemoveMembersWithResponseAsync[1].json | 105 ++++++----- ...stWithContextAndRemoveMembersAsync[1].json | 69 +++---- ....canAddListWithContextMembersAsync[1].json | 81 +++++---- ...tTest.canAddSingleParticipantAsync[1].json | 68 +++---- ...SingleParticipantWithResponseAsync[1].json | 68 +++---- ...nDeleteExistingMessageWithResponse[1].json | 83 +++++---- ...lientTest.canDeleteExistingMessage[1].json | 83 +++++---- ...entTest.canListMessagesWithOptions[1].json | 55 +++--- ...eadAsyncClientTest.canListMessages[1].json | 55 +++--- ...est.canListReadReceiptsWithContext[1].json | 2 +- ...est.canListReadReceiptsWithOptions[1].json | 2 +- ...syncClientTest.canListReadReceipts[1].json | 2 +- ...est.canSendReadReceiptWithResponse[1].json | 83 +++++---- ...AsyncClientTest.canSendReadReceipt[1].json | 83 +++++---- ...ientTest.canSendThenGetHtmlMessage[1].json | 85 ++++----- ....canSendThenGetMessageWithResponse[1].json | 85 ++++----- ...ncClientTest.canSendThenGetMessage[1].json | 85 ++++----- ...endThenListReadReceiptsWithOptions[1].json | 55 +++--- ...ndThenListReadReceiptsWithResponse[1].json | 55 +++--- ...ntTest.canSendThenListReadReceipts[1].json | 55 +++--- ...nSendTypingNotificationWithOptions[1].json | 67 +++---- ...otificationWithResponseWithOptions[1].json | 67 +++---- ...SendTypingNotificationWithResponse[1].json | 67 +++---- ...ientTest.canSendTypingNotification[1].json | 67 +++---- ...nUpdateExistingMessageWithResponse[1].json | 97 +++++----- ...lientTest.canUpdateExistingMessage[1].json | 55 +++--- ...ntTest.canUpdateThreadWithResponse[1].json | 81 +++++---- ...eadAsyncClientTest.canUpdateThread[1].json | 55 +++--- ...nnotAddParticipantsWithNullOptions[1].json | 55 +++--- ...cipantsWithResponseWithNullOptions[1].json | 55 +++--- ...ientTest.cannotDeleteMessageNullId[1].json | 55 +++--- ...notDeleteMessageWithRepsonseNullId[1].json | 55 +++--- ...cClientTest.cannotGetMessageNullId[1].json | 55 +++--- ....cannotGetMessageWithReponseNullId[1].json | 55 +++--- ...articipantWithNullUserWithResponse[1].json | 55 +++--- ...annotRemoveParticipantWithNullUser[1].json | 55 +++--- ...t.cannotSendMessageWithNullOptions[1].json | 55 +++--- ...MessageWithResponseWithNullOptions[1].json | 55 +++--- ...otSendReadReceiptWithNullMessageId[1].json | 55 +++--- ...ceiptWithResponseWithNullMessageId[1].json | 55 +++--- ...ientTest.cannotUpdateMessageNullId[1].json | 55 +++--- ...notUpdateMessageWithResponseNullId[1].json | 55 +++--- ...st.cannotUpdateThreadWithNullTopic[1].json | 55 +++--- ...ateThreadWithResponseWithNullTopic[1].json | 55 +++--- ...ntTest.throwsExceptionOnBadRequest[1].json | 2 +- ...ddListAndRemoveMembersWithResponse[1].json | 157 ++++++++-------- ...stAndRemoveParticipantsWithOptions[1].json | 171 +++++++++--------- ...tAndRemoveParticipantsWithResponse[1].json | 95 +++++----- ...st.canAddListAndRemoveParticipants[1].json | 157 ++++++++-------- ...anAddSingleParticipantWithResponse[1].json | 120 ++++++------ ...ClientTest.canAddSingleParticipant[1].json | 120 ++++++------ ...nDeleteExistingMessageWithResponse[1].json | 109 +++++------ ...lientTest.canDeleteExistingMessage[1].json | 109 +++++------ ...etChatThreadPropertiesWithResponse[1].json | 95 +++++----- ...entTest.canGetChatThreadProperties[1].json | 95 +++++----- ...est.canListMessagesWithOptionsSync[1].json | 127 ++++++------- ...entTest.canListMessagesWithOptions[1].json | 127 ++++++------- ...est.canListReadReceiptsWithContext[1].json | 2 +- ...readClientTest.canListReadReceipts[1].json | 2 +- ...dClientTest.canSendReadReceiptSync[1].json | 109 +++++------ ...canSendReadReceiptWithResponseSync[1].json | 109 +++++------ ....canSendThenGetMessageWithResponse[1].json | 111 ++++++------ ...adClientTest.canSendThenGetMessage[1].json | 111 ++++++------ ...endThenListReadReceiptsWithOptions[1].json | 123 +++++++------ ...ndThenListReadReceiptsWithResponse[1].json | 123 +++++++------ ...ntTest.canSendThenListReadReceipts[1].json | 123 +++++++------ ...nSendTypingNotificationWithOptions[1].json | 93 +++++----- ...otificationWithResponseWithOptions[1].json | 93 +++++----- ...SendTypingNotificationWithResponse[1].json | 93 +++++----- ...ientTest.canSendTypingNotification[1].json | 93 +++++----- ...nUpdateExistingMessageWithResponse[1].json | 123 +++++++------ ...lientTest.canUpdateExistingMessage[1].json | 123 +++++++------ ...ntTest.canUpdateThreadWithResponse[1].json | 107 +++++------ ...atThreadClientTest.canUpdateThread[1].json | 107 +++++------ ...ntTest.throwsExceptionOnBadRequest[1].json | 2 +- 100 files changed, 3827 insertions(+), 3479 deletions(-) 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 2bc89ee3f6b7f..90165f8864a4d 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "f1bcc525-2e9c-4d80-ae30-002bb6a340d8", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:16 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:49 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "673rdKfDskO7ZrKQO8WlWA.0", - "X-Azure-Ref" : "0mYfLYAAAAADXWKU3FoRAQoKEBiK2CUFgV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-51fd-e3c7-593a0d00f758\"}}", - "x-ms-client-request-id" : "fc44eabc-5bfb-44aa-ac98-18a6e6104e8e", + "X-Processing-Time" : "73ms", + "MS-CV" : "HpgK7PkqikGWrE3B6/xQCg.0", + "X-Azure-Ref" : "04tfLYAAAAADl+wjgolTxSbRO4YayyN/xV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-ef1a-edbe-a43a0d004b1b\"}}", + "x-ms-client-request-id" : "f1bcc525-2e9c-4d80-ae30-002bb6a340d8", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "24313cac-952a-42ea-bf35-28658aacc8dc", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:16 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:49 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "H4raQXj+PUSqwVF6yFKJ7Q.0", - "X-Azure-Ref" : "0mYfLYAAAAABaj6HOmrC2SpZM3Qitcs/FV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-5240-e3c7-593a0d00f759\"}}", - "x-ms-client-request-id" : "0526daf2-d684-4db1-8743-1591ecfe100a", + "X-Processing-Time" : "72ms", + "MS-CV" : "rLhhMBDCp0+tRkL03IPR+w.0", + "X-Azure-Ref" : "04tfLYAAAAADdqypJ5/W9R4GHjVmWfab7V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-ef98-51b9-a43a0d003637\"}}", + "x-ms-client-request-id" : "24313cac-952a-42ea-bf35-28658aacc8dc", "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_0000000a-baeb-51fd-e3c7-593a0d00f758/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-ef1a-edbe-a43a0d004b1b/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "af6c56f3-7313-4075-990e-20b65c8151c7", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:17 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:49 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "39ms", - "MS-CV" : "47EnU+lhEUeG3GAMgwR33w.0", - "X-Azure-Ref" : "0mYfLYAAAAADAKWR1bSJ6RIfIvohPTHHHV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:16.2297651+00:00\"}", - "x-ms-client-request-id" : "2877c8ad-aed5-4d2c-a72f-291023f6aedb", + "X-Processing-Time" : "166ms", + "MS-CV" : "TpfFQhGg6kyWpl654zE84g.0", + "X-Azure-Ref" : "04tfLYAAAAACVjVmAUowjSKwWn3xJLH45V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:16:49.477845+00:00\"}", + "x-ms-client-request-id" : "af6c56f3-7313-4075-990e-20b65c8151c7", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7347b3c7-7abd-415b-a44c-3a63cad126a6", + "x-ms-client-request-id" : "dc80f3a7-6985-47c5-a729-6d606ff47f55", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:17 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:50 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "521ms", - "MS-CV" : "I7j/DSNnyUOrNBtX2pJ6IQ.0", - "X-Azure-Ref" : "0mYfLYAAAAAByDxKiFDmMQZA4QOT+m+eWV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:mHgLt3DoVhFMSWU5KM777RIWXVaGl09WR_nnsB6G2_I1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:17Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-51fd-e3c7-593a0d00f758\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-51fd-e3c7-593a0d00f758\"}}}}", + "X-Processing-Time" : "561ms", + "MS-CV" : "EQHrd9b1wU6TcaEUlWa4ww.0", + "X-Azure-Ref" : "04tfLYAAAAABjLSXXrdTzTJjxFmeh//rpV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:dWyNCqSN_CWZp2-MRWhguHN54qv7-x43mfuYQkPCkZs1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:16:50Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-ef1a-edbe-a43a0d004b1b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-ef1a-edbe-a43a0d004b1b\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AmHgLt3DoVhFMSWU5KM777RIWXVaGl09WR_nnsB6G2_I1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AdWyNCqSN_CWZp2-MRWhguHN54qv7-x43mfuYQkPCkZs1@thread.v2" }, "Exception" : null }, { @@ -100,7 +103,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "5d628d54-1f34-44ab-865f-39c168baf3e6", + "x-ms-client-request-id" : "39e297e2-6a12-4c35-b3d3-6530d02ba96f", "Content-Type" : "application/json" }, "Response" : { @@ -109,14 +112,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:18 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:50 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "649ms", - "MS-CV" : "hHw8UbViE0qs4fH8yPrANg.0", - "X-Azure-Ref" : "0mYfLYAAAAADjcMOR6y94QpYAl5aQ243yV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:rEsPn3i3ME0Euf0K9z5kMkrkV0I6U2f-XN_9g93yM0s1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:17Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-51fd-e3c7-593a0d00f758\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-51fd-e3c7-593a0d00f758\"}}}}", + "X-Processing-Time" : "567ms", + "MS-CV" : "EKSkbY7w3UO22GpHBzz4zw.0", + "X-Azure-Ref" : "049fLYAAAAADhEcApPSgvRa9PLNdF8PLpV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:TQ7Kzor25T2ffGbaF2FkFaiP40ueGyFnakvDNcYsJLI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:16:51Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-ef1a-edbe-a43a0d004b1b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-ef1a-edbe-a43a0d004b1b\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ArEsPn3i3ME0Euf0K9z5kMkrkV0I6U2f-XN_9g93yM0s1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ATQ7Kzor25T2ffGbaF2FkFaiP40ueGyFnakvDNcYsJLI1@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 9f6e1173499c3..57a0d44ebb4b1 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "b182b18c-e056-4450-907b-48e0c348a644", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:12 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:44 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "56ms", - "MS-CV" : "E8mIOmnppEaLmuqnrNjmIw.0", - "X-Azure-Ref" : "0lYfLYAAAAACgRHDelfV+TKLasTkxjnMzV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-43b1-f6c7-593a0d00d4dd\"}}", - "x-ms-client-request-id" : "98bfd48c-a222-49ae-9558-19072017b2d9", + "X-Processing-Time" : "64ms", + "MS-CV" : "ke141ogCWUmSKpcu7+F3Dg.0", + "X-Azure-Ref" : "03NfLYAAAAAD+ZAiOjBI7T4UtBq72lty4V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-dad6-51b9-a43a0d00362b\"}}", + "x-ms-client-request-id" : "b182b18c-e056-4450-907b-48e0c348a644", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "d4c20c7c-7f05-4ef1-9038-c1c17adbe7d9", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:13 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:44 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "epDV/uYa3EKaLIIk1Vexeg.0", - "X-Azure-Ref" : "0lYfLYAAAAADXgYJl4R5IR4pYOyJ9TpztV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-43e8-e3c7-593a0d00f750\"}}", - "x-ms-client-request-id" : "e398ff56-6371-40fd-8691-435e67f72192", + "X-Processing-Time" : "62ms", + "MS-CV" : "t1y50EW7MkiH6DPvAWci4g.0", + "X-Azure-Ref" : "03NfLYAAAAAB1XGRnP8h2SahIrw0zVRpoV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-db57-51b9-a43a0d00362c\"}}", + "x-ms-client-request-id" : "d4c20c7c-7f05-4ef1-9038-c1c17adbe7d9", "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_0000000a-baeb-43b1-f6c7-593a0d00d4dd/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-dad6-51b9-a43a0d00362b/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "e90f44f6-d546-43ca-985f-6c3c7c6ddf79", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:13 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:44 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "61ms", - "MS-CV" : "uSQMhxAG6kSFIpX+PyPNew.0", - "X-Azure-Ref" : "0lYfLYAAAAACXMS2pPAUGRpw+0Gyi5W4UV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:12.5864151+00:00\"}", - "x-ms-client-request-id" : "945c5cdb-8593-4014-8052-c451de6ed6db", + "X-Processing-Time" : "145ms", + "MS-CV" : "n2Nne2js6k2AGpC2XmNA7g.0", + "X-Azure-Ref" : "03dfLYAAAAABTbsUt1x3uSrsjKLmPCfPgV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:16:44.262503+00:00\"}", + "x-ms-client-request-id" : "e90f44f6-d546-43ca-985f-6c3c7c6ddf79", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b50db882-b5bd-4826-87fe-59ca3034c7e8", + "x-ms-client-request-id" : "542117be-e2a7-40cd-9a47-ca3516c64d59", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:14 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "749ms", - "MS-CV" : "my94FR2P0EemTmXpvFrjLQ.0", - "X-Azure-Ref" : "0lYfLYAAAAABc/QuzvUj8S5/kT9WsLEHkV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:2TydE8Fgis94todXJIA6EFuZRsyFsN7aef7nxmpKFzk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:13Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-43b1-f6c7-593a0d00d4dd\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-43b1-f6c7-593a0d00d4dd\"}}}}", + "X-Processing-Time" : "984ms", + "MS-CV" : "etBhHuRmLkGrcwM8piNaVw.0", + "X-Azure-Ref" : "03dfLYAAAAABm1GRJJJx4QpUEpdGYwX77V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:Gsky2aMDxCCdMkGROqf5SBGQ_1ypk5boEHspAuiYiIw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:16:45Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-dad6-51b9-a43a0d00362b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-dad6-51b9-a43a0d00362b\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A2TydE8Fgis94todXJIA6EFuZRsyFsN7aef7nxmpKFzk1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AGsky2aMDxCCdMkGROqf5SBGQ_1ypk5boEHspAuiYiIw1@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 fdd1b35cb0c58..948b344e80c44 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "0128519e-4aec-40df-b064-15f63bbc7f82", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:14 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "WCRA+t+n3Ei529IbH6Z5FQ.0", - "X-Azure-Ref" : "0lofLYAAAAAAh/KVKWYiHSq99bg/jdVG5V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-49e4-e3c7-593a0d00f752\"}}", - "x-ms-client-request-id" : "04ed5946-8484-41f0-9892-adf5e31a5a72", + "X-Processing-Time" : "61ms", + "MS-CV" : "+sK/B2k3GEasOqB3o75sow.0", + "X-Azure-Ref" : "03tfLYAAAAAD2NM9xp6xkSKci6L1IPZTMV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-e267-51b9-a43a0d00362f\"}}", + "x-ms-client-request-id" : "0128519e-4aec-40df-b064-15f63bbc7f82", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "0ab954d1-1f74-43c8-a5a2-5b882cd7bfdd", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:14 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:46 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "5HjieE7lhEKamCg7T9CG2Q.0", - "X-Azure-Ref" : "0l4fLYAAAAAA8K0sR5RKzQr7bFyXJMQSCV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-4a6f-e3c7-593a0d00f753\"}}", - "x-ms-client-request-id" : "eb895f85-0bf1-48e6-b630-bcdf4c5a49d0", + "X-Processing-Time" : "60ms", + "MS-CV" : "8TvDRuZGdUOD5FHJOqPP/w.0", + "X-Azure-Ref" : "03tfLYAAAAABacPPWLYw2T7WzgGLTUnKYV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-e2d9-51b9-a43a0d003630\"}}", + "x-ms-client-request-id" : "0ab954d1-1f74-43c8-a5a2-5b882cd7bfdd", "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_0000000a-baeb-49e4-e3c7-593a0d00f752/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-e267-51b9-a43a0d00362f/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "5265b991-9874-486d-9d3c-0dd4c92cb36d", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:15 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:46 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "35ms", - "MS-CV" : "DtsMk9eToEeRDtqkckirGw.0", - "X-Azure-Ref" : "0l4fLYAAAAADQRDtHIRmdTqVHS0fu9X12V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:14.228671+00:00\"}", - "x-ms-client-request-id" : "f6dcad00-e8ca-4f37-8083-12ee697ad7d9", + "X-Processing-Time" : "171ms", + "MS-CV" : "Qge7UZHrnESaPnuM2JT3fQ.0", + "X-Azure-Ref" : "039fLYAAAAAAR3pOdrtL9RZ4LZehDnaS9V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:16:46.2080814+00:00\"}", + "x-ms-client-request-id" : "5265b991-9874-486d-9d3c-0dd4c92cb36d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "bfbc78d0-8a3e-457d-82b2-7f6b9eeeaa30", + "x-ms-client-request-id" : "fbd64aa9-0af5-4c8f-b092-3b7354d5ae22", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:15 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:47 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "532ms", - "MS-CV" : "I7UuIx2Hw0qILgDaMzaFdQ.0", - "X-Azure-Ref" : "0l4fLYAAAAAAAV/IyQlD4TZKx8vgNTcYwV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:9UhagDbBwiDVhH2KJMZmd0ATk00qnVBFGehhR5T1t3M1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:15Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-49e4-e3c7-593a0d00f752\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-49e4-e3c7-593a0d00f752\"}}}}", + "X-Processing-Time" : "614ms", + "MS-CV" : "dS96UtxkNEW0GPCTP8bEbQ.0", + "X-Azure-Ref" : "039fLYAAAAAASMHzdEltVSKHKJTAkEpy6V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:_fx4CrRrFVghf9SB6WEJ6qOVkjrcoLldr8bHucSFRb81@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:16:47Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-e267-51b9-a43a0d00362f\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-e267-51b9-a43a0d00362f\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A9UhagDbBwiDVhH2KJMZmd0ATk00qnVBFGehhR5T1t3M1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A_fx4CrRrFVghf9SB6WEJ6qOVkjrcoLldr8bHucSFRb81@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 6e0f67f077e5b..3fc4ccc68b375 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "a6eaef2c-e455-4a52-9967-7237233e12fe", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:08 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:35 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "36ms", - "MS-CV" : "ERU0VXNPj062oBVOWV9I6A.0", - "X-Azure-Ref" : "0kYfLYAAAAACL08o4uPi9RKiI0TYblsT+V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-33f0-f6c7-593a0d00d4da\"}}", - "x-ms-client-request-id" : "58b1915f-5e00-4ded-a583-211f3e0f88f2", + "X-Processing-Time" : "61ms", + "MS-CV" : "0IqpRxVBZ0a1q8r333+jIg.0", + "X-Azure-Ref" : "009fLYAAAAADjHM5HXmNlQY2npn78qHeiV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-b81d-51b9-a43a0d003625\"}}", + "x-ms-client-request-id" : "a6eaef2c-e455-4a52-9967-7237233e12fe", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "2a2f6bdb-194c-4dc0-8b98-1306e5cb920d", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:09 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:35 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "6VUkQoM2u0qU9CSXuRyhFA.0", - "X-Azure-Ref" : "0kYfLYAAAAADsUCcFNBEiTYmbXg7om/GRV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-3432-e3c7-593a0d00f74d\"}}", - "x-ms-client-request-id" : "d4e48944-05a8-4e71-a417-c5a567a1af08", + "X-Processing-Time" : "99ms", + "MS-CV" : "M7a+H9LFqk60oryFeUCljg.0", + "X-Azure-Ref" : "01NfLYAAAAAC5UucRdgDcSJtKu2HuiQ/0V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-b8bc-51b9-a43a0d003626\"}}", + "x-ms-client-request-id" : "2a2f6bdb-194c-4dc0-8b98-1306e5cb920d", "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_0000000a-baeb-33f0-f6c7-593a0d00d4da/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-b81d-51b9-a43a0d003625/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "034a5b7f-9100-4eb9-b871-456bd6ed7a9c", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:09 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:36 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "74ms", - "MS-CV" : "PBozhcykNEKcam1nBsngPw.0", - "X-Azure-Ref" : "0kYfLYAAAAAAAk8KKn2UlTL5+T6jjNWM1V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:08.5730337+00:00\"}", - "x-ms-client-request-id" : "ea9258cc-c476-4e46-827a-5f9dd755b259", + "X-Processing-Time" : "142ms", + "MS-CV" : "No8brcUbPkaNgVGe0sqJQA.0", + "X-Azure-Ref" : "01NfLYAAAAADxyyOWmNf5Tb8dBVjoNqotV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:16:35.3983426+00:00\"}", + "x-ms-client-request-id" : "034a5b7f-9100-4eb9-b871-456bd6ed7a9c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "10c78b86-b68e-4263-a353-0a25fce8cf17", + "x-ms-client-request-id" : "876e1ccb-c9c8-46a8-9d82-52c3fd3b5718", "Content-Type" : "application/json" }, "Response" : { @@ -85,33 +88,33 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:10 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:36 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "1236ms", - "MS-CV" : "CB0jHxyAKk65MQ5N53feCQ.0", - "X-Azure-Ref" : "0kYfLYAAAAACanEWmsdA1RbmGqVTGnikfV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:mIQQk_9QqDZ92dBVoCGB4FgiH7gFuETxTn1KCI3bxvo1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:09Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-33f0-f6c7-593a0d00d4da\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-33f0-f6c7-593a0d00d4da\"}}}}", + "X-Processing-Time" : "775ms", + "MS-CV" : "e7lH64BT806gYgjBtOqwZg.0", + "X-Azure-Ref" : "01NfLYAAAAACPtqaTURQ3SK6sL22dOeMMV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:OAM964nC0Bzozf88w1PgXJ3uuaKN7kePgmJV6yA1xJk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:16:36Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-b81d-51b9-a43a0d003625\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-b81d-51b9-a43a0d003625\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AmIQQk_9QqDZ92dBVoCGB4FgiH7gFuETxTn1KCI3bxvo1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AOAM964nC0Bzozf88w1PgXJ3uuaKN7kePgmJV6yA1xJk1@thread.v2" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:mIQQk_9QqDZ92dBVoCGB4FgiH7gFuETxTn1KCI3bxvo1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:OAM964nC0Bzozf88w1PgXJ3uuaKN7kePgmJV6yA1xJk1@thread.v2?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "45438f76-84b1-4953-9a4a-c7ee3eb53d0d" + "x-ms-client-request-id" : "8d3d5168-f216-4710-a59a-94c06de0927f" }, "Response" : { "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", - "X-Processing-Time" : "254ms", - "MS-CV" : "mecqXbjNFESL5YDD6s5a0Q.0", + "X-Processing-Time" : "252ms", + "MS-CV" : "ZoeJwv2ftkqVhdoyDw5CvA.0", "retry-after" : "0", - "X-Azure-Ref" : "0kofLYAAAAADGCKjiMY71RI0FxSktl5b9V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "01dfLYAAAAAC0Jym1hW4wQqD1OeaA7ZejV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:34:10 GMT" + "Date" : "Thu, 17 Jun 2021 23:16:37 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 37f9edac29bbb..8a8f25408dbc8 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "b13999fc-115f-40f3-bfbf-0e7f43d7bc4c", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:08 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "EsuGIa01fkKfrppvBk0zVA.0", - "X-Azure-Ref" : "0kIfLYAAAAADQYaI5kTuXTYIRJ7fzAHWGV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-2f7f-e3c7-593a0d00f748\"}}", - "x-ms-client-request-id" : "611afb58-586f-41b9-a20c-13497aa0c905", + "X-Processing-Time" : "71ms", + "MS-CV" : "nq6g9vQuSUK3jzpkeqXorg.0", + "X-Azure-Ref" : "00tfLYAAAAADhN5qr6G/YRo4HDTEpcLuEV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-b314-51b9-a43a0d003623\"}}", + "x-ms-client-request-id" : "b13999fc-115f-40f3-bfbf-0e7f43d7bc4c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "1eed7796-07d7-456d-8d8d-9b8679d9b064", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:07 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:34 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "5RSdDGjrzUik6FskYr+GqQ.0", - "X-Azure-Ref" : "0kIfLYAAAAAC8P2nJ6tOqTLvAk7CIorKOV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-2fc1-f6c7-593a0d00d4d9\"}}", - "x-ms-client-request-id" : "3f71d0da-cd3c-4a68-a9a0-2af694d70a4a", + "X-Processing-Time" : "90ms", + "MS-CV" : "dVh+Qr1rwUSltmdVUNothQ.0", + "X-Azure-Ref" : "00tfLYAAAAADvUSYLu6cYS4dvidGZlTstV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-b3a4-51b9-a43a0d003624\"}}", + "x-ms-client-request-id" : "1eed7796-07d7-456d-8d8d-9b8679d9b064", "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_0000000a-baeb-2f7f-e3c7-593a0d00f748/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-b314-51b9-a43a0d003623/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "c584e33c-2436-45a5-9f33-ec5cf9c0ed2c", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:08 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:34 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "50ms", - "MS-CV" : "Me4DLl+wr0W4/HBzgSMkUg.0", - "X-Azure-Ref" : "0kIfLYAAAAADEL5qP3WM9SJBi4vIvQG/jV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:07.4127647+00:00\"}", - "x-ms-client-request-id" : "95ddd63b-f55f-4196-a2a9-4a617eca9041", + "X-Processing-Time" : "151ms", + "MS-CV" : "owoOZyxZLUeeOOSV+g6EuA.0", + "X-Azure-Ref" : "00tfLYAAAAAAhz6hk9EI4SamkLQeKCKhLV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:16:34.1082469+00:00\"}", + "x-ms-client-request-id" : "c584e33c-2436-45a5-9f33-ec5cf9c0ed2c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "bcb15423-d2da-4c55-9d9a-362c076cd661", + "x-ms-client-request-id" : "49b93197-aa5a-49dc-8467-05cadd3a3d49", "Content-Type" : "application/json" }, "Response" : { @@ -85,33 +88,33 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:08 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:35 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "554ms", - "MS-CV" : "oOVNHcFh8EGbyUsq7J/SfQ.0", - "X-Azure-Ref" : "0kIfLYAAAAAC3NNdExaVxRZ0QcKbbMijbV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:mAcQWg6KkgcN--sGS5QUlq3dbCSEtUK5Csx4WCT2oF01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:08Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-2f7f-e3c7-593a0d00f748\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-2f7f-e3c7-593a0d00f748\"}}}}", + "X-Processing-Time" : "390ms", + "MS-CV" : "APfHhxgO40yN3aS59TCR2g.0", + "X-Azure-Ref" : "009fLYAAAAAAWYJKRuTxpQLPyjWg1ZOp5V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:1Tv2-eAfvxM_sQ8U17oz9M3PiZ8QT20k-J1UfGh-UyA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:16:35Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-b314-51b9-a43a0d003623\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-b314-51b9-a43a0d003623\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AmAcQWg6KkgcN--sGS5QUlq3dbCSEtUK5Csx4WCT2oF01@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A1Tv2-eAfvxM_sQ8U17oz9M3PiZ8QT20k-J1UfGh-UyA1@thread.v2" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:mAcQWg6KkgcN--sGS5QUlq3dbCSEtUK5Csx4WCT2oF01@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:1Tv2-eAfvxM_sQ8U17oz9M3PiZ8QT20k-J1UfGh-UyA1@thread.v2?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "ee5daf39-38d7-4cb9-aa44-3b4a3f6c487e" + "x-ms-client-request-id" : "32f66ebc-2320-4b94-a5e3-738f160739e5" }, "Response" : { "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", - "X-Processing-Time" : "267ms", - "MS-CV" : "MagN2OyQe0SyZAizAefMCQ.0", + "X-Processing-Time" : "303ms", + "MS-CV" : "kJCMqEmG5E+FebBXPPjwpA.0", "retry-after" : "0", - "X-Azure-Ref" : "0kYfLYAAAAADMi1DFsFGAQr9Hb1q4UkeGV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "009fLYAAAAABDzKt2WzP1Sa5HEl8+mXWEV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:34:09 GMT" + "Date" : "Thu, 17 Jun 2021 23:16:34 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 7faec3140f233..ffc41ad89a284 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "f998ecbe-7dda-480b-9a54-e6059e26ffa9", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:18 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "BbMOo0RkRkWo6dPDZnBDog.0", - "X-Azure-Ref" : "0mofLYAAAAACqx6PtOqBZQKaHJdr7M9u2V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-57cf-e3c7-593a0d00f75a\"}}", - "x-ms-client-request-id" : "967bc239-0d6d-4487-ad98-f41ecba8585a", + "X-Processing-Time" : "86ms", + "MS-CV" : "3GbUj/1LYkGcSxExoqtLnw.0", + "X-Azure-Ref" : "049fLYAAAAACdAJxwmZgZSKWLG2nG5F8DV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-f5c4-9806-113a0d00c36e\"}}", + "x-ms-client-request-id" : "f998ecbe-7dda-480b-9a54-e6059e26ffa9", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "5be59e77-1b7b-4600-bc0f-5e7043cc7ccc", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:18 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "Qi24x5HBE0+wWMWk8yE00A.0", - "X-Azure-Ref" : "0mofLYAAAAACECg9gwzwVR7AGO24qyPzHV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-581f-e3c7-593a0d00f75b\"}}", - "x-ms-client-request-id" : "744b7230-ee3f-432a-92a8-28b21dc32b20", + "X-Processing-Time" : "91ms", + "MS-CV" : "1+8IKbJdD0K+aO7fGnz/1Q.0", + "X-Azure-Ref" : "049fLYAAAAAAAs2FTn0brRZmCqv5nPTZyV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-f674-edbe-a43a0d004b1c\"}}", + "x-ms-client-request-id" : "5be59e77-1b7b-4600-bc0f-5e7043cc7ccc", "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_0000000a-baeb-57cf-e3c7-593a0d00f75a/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-f5c4-9806-113a0d00c36e/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "1720bd07-6534-4efd-b736-af2922466dd4", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:18 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "38ms", - "MS-CV" : "JT/0pWPPC0K2dKCuJUqPmQ.0", - "X-Azure-Ref" : "0mofLYAAAAAC68VYLfrSBSJCeSCzO0r6gV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:17.730114+00:00\"}", - "x-ms-client-request-id" : "a5233cce-af34-4420-9e41-1466f942d433", + "X-Processing-Time" : "148ms", + "MS-CV" : "vWDC5nOuB0C2QVEXWeO9Nw.0", + "X-Azure-Ref" : "05NfLYAAAAAATPd3v7pmVRqprFtZ2RRqTV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:16:51.210471+00:00\"}", + "x-ms-client-request-id" : "1720bd07-6534-4efd-b736-af2922466dd4", "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 aa769119bb524..47096a93769bb 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "4479eaa0-beb1-40fb-add6-8dc4e3dbd5e6", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:15 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "Z0pgvKd6UU+JV+vh0bZPVw.0", - "X-Azure-Ref" : "0mIfLYAAAAAAt9QRMZz61QqN4MLN8d/wXV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-4e2b-e3c7-593a0d00f756\"}}", - "x-ms-client-request-id" : "ae798492-87c1-42c0-afec-e4b3536f1083", + "X-Processing-Time" : "69ms", + "MS-CV" : "yY6mxZzKXUCSjA20+3mNKQ.0", + "X-Azure-Ref" : "04NfLYAAAAAAgaKucpfBPQqeeCzXg2rvlV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-e8f0-51b9-a43a0d003634\"}}", + "x-ms-client-request-id" : "4479eaa0-beb1-40fb-add6-8dc4e3dbd5e6", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "86eb2e39-87cc-4a1f-906f-99d3566a86e7", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:16 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:47 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "NGZEoyRzgU63dCJ93FzLvw.0", - "X-Azure-Ref" : "0mIfLYAAAAABlyGcOMfCPRpAC/CVOpdAvV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-4e8c-e3c7-593a0d00f757\"}}", - "x-ms-client-request-id" : "28b0233d-f0a8-4d18-b6dd-dfb255df9e09", + "X-Processing-Time" : "97ms", + "MS-CV" : "dw5qgkeJlku57c8UsaIFBQ.0", + "X-Azure-Ref" : "04NfLYAAAAACMvRTBqRlwRYTVTju7AFDTV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-e98a-51b9-a43a0d003635\"}}", + "x-ms-client-request-id" : "86eb2e39-87cc-4a1f-906f-99d3566a86e7", "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_0000000a-baeb-4e2b-e3c7-593a0d00f756/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-e8f0-51b9-a43a0d003634/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "43ba504b-0d3a-44e5-8714-dbf508aef49f", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:15 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "36ms", - "MS-CV" : "ZyWR3qsWCkuGOWcukFoEHg.0", - "X-Azure-Ref" : "0mIfLYAAAAAAI3b+mEVJHSpfxUXiqhb4fV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:15.2834658+00:00\"}", - "x-ms-client-request-id" : "ac19e488-f010-4ac3-8751-e56453d928e3", + "X-Processing-Time" : "157ms", + "MS-CV" : "1Cu69HxuJkyZN013KZsY4w.0", + "X-Azure-Ref" : "04NfLYAAAAABOWg9RsR29TIZgWZjc4zr9V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:16:47.9103887+00:00\"}", + "x-ms-client-request-id" : "43ba504b-0d3a-44e5-8714-dbf508aef49f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "080924d1-8c32-482d-9a46-9968caa363b4", + "x-ms-client-request-id" : "32039e90-0a18-4ab3-b10d-7b7fad558fd4", "Content-Type" : "application/json" }, "Response" : { @@ -85,35 +88,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:16 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "547ms", - "MS-CV" : "zNkBFRhAa0mxqllBkCX2zQ.0", - "X-Azure-Ref" : "0mIfLYAAAAACpvIfBlcNWSKrqVzEDuue8V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:mrbBi8M-ZCKUe56gI4gQd6BNNACAk9Oi-tRbzpiZu4Y1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:16Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-4e2b-e3c7-593a0d00f756\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-4e2b-e3c7-593a0d00f756\"}}}}", + "X-Processing-Time" : "750ms", + "MS-CV" : "TbYyGQSzW06qTtm8q5GGJA.0", + "X-Azure-Ref" : "04NfLYAAAAADluwXbgDvFT7Da5fbHuES7V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:i_H17ZtsAjIJuXZD4Q6qfJiz-Mp-dpbb9QEjldGPOrI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:16:49Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-e8f0-51b9-a43a0d003634\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-e8f0-51b9-a43a0d003634\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AmrbBi8M-ZCKUe56gI4gQd6BNNACAk9Oi-tRbzpiZu4Y1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ai_H17ZtsAjIJuXZD4Q6qfJiz-Mp-dpbb9QEjldGPOrI1@thread.v2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:mrbBi8M-ZCKUe56gI4gQd6BNNACAk9Oi-tRbzpiZu4Y1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:i_H17ZtsAjIJuXZD4Q6qfJiz-Mp-dpbb9QEjldGPOrI1@thread.v2?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "a7e5a729-a71a-46a0-a430-da235a813646" + "x-ms-client-request-id" : "fc246a3b-0224-456b-86e6-ba4861c8131b" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "121ms", - "MS-CV" : "XCFSI4zUMU+XABHdFo6znw.0", + "X-Processing-Time" : "238ms", + "MS-CV" : "H8KtesNE+kWYVQxoYfCExw.0", "retry-after" : "0", - "X-Azure-Ref" : "0mIfLYAAAAACnUBICpk3tQJs7rBwDLz17V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "04dfLYAAAAAADmW5/tlTmQZwIWNJiejvXV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"19:mrbBi8M-ZCKUe56gI4gQd6BNNACAk9Oi-tRbzpiZu4Y1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:16Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-4e2b-e3c7-593a0d00f756\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-4e2b-e3c7-593a0d00f756\"}}}", - "Date" : "Thu, 17 Jun 2021 17:34:16 GMT", + "Body" : "{\"id\":\"19:i_H17ZtsAjIJuXZD4Q6qfJiz-Mp-dpbb9QEjldGPOrI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:16:49Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-e8f0-51b9-a43a0d003634\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-e8f0-51b9-a43a0d003634\"}}}", + "Date" : "Thu, 17 Jun 2021 23:16:49 GMT", "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 d82072579c4d1..5e90549f98b5a 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "c01c7ff0-1ff4-4756-b6f4-508586f1584a", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:06 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:32 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "57ms", - "MS-CV" : "3sPS72l810mLbOr+7MTC0Q.0", - "X-Azure-Ref" : "0jofLYAAAAABHmu+WziTCR6ag6Qe7DVxrV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-29d5-f6c7-593a0d00d4d6\"}}", - "x-ms-client-request-id" : "222bb897-23b2-43ac-8a16-8c8513bee5c3", + "X-Processing-Time" : "87ms", + "MS-CV" : "4cEgva8+H0e51uF51iiQ5g.0", + "X-Azure-Ref" : "00NfLYAAAAAA8hrnSOlZ7T4eYsygwHwg2V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-a9b8-51b9-a43a0d00361f\"}}", + "x-ms-client-request-id" : "c01c7ff0-1ff4-4756-b6f4-508586f1584a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "8731c251-b9cb-4a2b-ac14-7a6df1b525ef", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:06 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:31 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "59ms", - "MS-CV" : "N3bub5zFakO3U4wMbw8F6w.0", - "X-Azure-Ref" : "0jofLYAAAAADsir903zorT6boz0QvaznRV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-2a33-e3c7-593a0d00f745\"}}", - "x-ms-client-request-id" : "99dddc96-a7b9-41c6-b332-d48067246036", + "X-Processing-Time" : "69ms", + "MS-CV" : "oSlSYAa2zECQbHYQ+JUAbg.0", + "X-Azure-Ref" : "00NfLYAAAAABTueEnBHMUT7M8G1qMHQTYV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-aa37-51b9-a43a0d003620\"}}", + "x-ms-client-request-id" : "8731c251-b9cb-4a2b-ac14-7a6df1b525ef", "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_0000000a-baeb-29d5-f6c7-593a0d00d4d6/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-a9b8-51b9-a43a0d00361f/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "01c65ec6-b694-488e-a987-c090cd42fe21", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:06 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:32 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "40ms", - "MS-CV" : "qEWQNqun0EKh9qzfpJmMag.0", - "X-Azure-Ref" : "0jofLYAAAAABF9ox9GKIxSJPCiMSjmos3V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:05.9862738+00:00\"}", - "x-ms-client-request-id" : "769ff532-bc9e-4cfc-902d-f611586794b1", + "X-Processing-Time" : "144ms", + "MS-CV" : "BFM+WCR5kECke78m5kciqg.0", + "X-Azure-Ref" : "00NfLYAAAAABA4EeXCfS5SIFoBfh5T+rdV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:16:31.6867172+00:00\"}", + "x-ms-client-request-id" : "01c65ec6-b694-488e-a987-c090cd42fe21", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "a580bc9a-883f-462b-a88c-26817e5640d1", + "x-ms-client-request-id" : "fda1466e-9e40-49d1-9c8f-de9d62ee3076", "Content-Type" : "application/json" }, "Response" : { @@ -85,35 +88,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:07 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:32 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "344ms", - "MS-CV" : "bcBnMMeCKESm+nOpZ63zMg.0", - "X-Azure-Ref" : "0j4fLYAAAAAAlNkosPZGdQan77hgYR4PFV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:7eFWWrVyTzoeBUmowcdBC3s55tACd_sTTq1M88LO8YE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:07Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-29d5-f6c7-593a0d00d4d6\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-29d5-f6c7-593a0d00d4d6\"}}}}", + "X-Processing-Time" : "599ms", + "MS-CV" : "GkkmLFPgZEq54idhYmA9hQ.0", + "X-Azure-Ref" : "00NfLYAAAAAA3zQ3MadATTpQ9qOXiYRKrV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:4bPr6EF8u11Mvhmyu1WZ18vu2Nu9kZQUc4XZS4o5AWI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:16:32Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-a9b8-51b9-a43a0d00361f\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-a9b8-51b9-a43a0d00361f\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A7eFWWrVyTzoeBUmowcdBC3s55tACd_sTTq1M88LO8YE1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A4bPr6EF8u11Mvhmyu1WZ18vu2Nu9kZQUc4XZS4o5AWI1@thread.v2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:7eFWWrVyTzoeBUmowcdBC3s55tACd_sTTq1M88LO8YE1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4bPr6EF8u11Mvhmyu1WZ18vu2Nu9kZQUc4XZS4o5AWI1@thread.v2?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "2aa7e1f2-f939-4dd1-babd-2e45312d0410" + "x-ms-client-request-id" : "d86af9ad-c316-4092-8c64-de6ba60a46d0" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "120ms", - "MS-CV" : "1fvOrF7pdEOaehrOSe/O5Q.0", + "X-Processing-Time" : "195ms", + "MS-CV" : "G43Ah12e2kyptp0hPl31ew.0", "retry-after" : "0", - "X-Azure-Ref" : "0j4fLYAAAAABkZ2N0ykqDRpbzXGd9zS9MV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "00dfLYAAAAAB26F/Qdb5tTKYm4rcj4TiJV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"19:7eFWWrVyTzoeBUmowcdBC3s55tACd_sTTq1M88LO8YE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:07Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-29d5-f6c7-593a0d00d4d6\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-29d5-f6c7-593a0d00d4d6\"}}}", - "Date" : "Thu, 17 Jun 2021 17:34:07 GMT", + "Body" : "{\"id\":\"19:4bPr6EF8u11Mvhmyu1WZ18vu2Nu9kZQUc4XZS4o5AWI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:16:32Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-a9b8-51b9-a43a0d00361f\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-a9b8-51b9-a43a0d00361f\"}}}", + "Date" : "Thu, 17 Jun 2021 23:16:33 GMT", "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 c99715684d296..dfd593a63418d 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "024a8486-ce33-4ad5-b751-6dbd3f2f3a42", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:14 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:46 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "57ms", - "MS-CV" : "vjJfrn7/O0GozrQz/taDng.0", - "X-Azure-Ref" : "0lofLYAAAAAAJ0Uw7HqLpSLZ2Hlpg4j94V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-48ed-f6c7-593a0d00d4de\"}}", - "x-ms-client-request-id" : "e8439ff3-41da-4b1f-a844-2f69ea3f9cc3", + "X-Processing-Time" : "65ms", + "MS-CV" : "ZI9w7I7VBEu0EHcBOdKmlw.0", + "X-Azure-Ref" : "03tfLYAAAAABitb4lMiPzQY4ciLLoob7fV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-e0a0-51b9-a43a0d00362e\"}}", + "x-ms-client-request-id" : "024a8486-ce33-4ad5-b751-6dbd3f2f3a42", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "28603cce-5f8b-4b5d-b81e-be385cf280bd", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:14 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "61ms", - "MS-CV" : "iHC9QyTHPE2xY3ie5m32wg.0", - "X-Azure-Ref" : "0lofLYAAAAADL3uodDwzERJPRFsoJz3SUV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-494c-e3c7-593a0d00f751\"}}", - "x-ms-client-request-id" : "92b6f158-badb-4d50-a7a9-6184e3500475", + "X-Processing-Time" : "72ms", + "MS-CV" : "NumMbwC1qEayLLm5SWZvdw.0", + "X-Azure-Ref" : "03tfLYAAAAABfS4UDSIxLT64mZf15kLrSV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-e11b-edbe-a43a0d004b1a\"}}", + "x-ms-client-request-id" : "28603cce-5f8b-4b5d-b81e-be385cf280bd", "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_0000000a-baeb-48ed-f6c7-593a0d00d4de/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-e0a0-51b9-a43a0d00362e/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "ccbf0586-e2f0-40ac-a82e-28a54b57ce1b", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:14 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:46 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "41ms", - "MS-CV" : "cdwT1TjlOkKvRWjKWgXl1w.0", - "X-Azure-Ref" : "0lofLYAAAAABh2oceOwGdTJaE+C0+ZXpaV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:13.9425955+00:00\"}", - "x-ms-client-request-id" : "09bbd91b-bfbc-482c-af1d-fcffca8031e5", + "X-Processing-Time" : "146ms", + "MS-CV" : "z4d6CCyKskuRsBgkEuW0vg.0", + "X-Azure-Ref" : "03tfLYAAAAAC4HTaxjEojS671Idf9GW3yV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:16:45.7427136+00:00\"}", + "x-ms-client-request-id" : "ccbf0586-e2f0-40ac-a82e-28a54b57ce1b", "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 d2f2bcd8e3f41..15789c15492a5 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "59b38dee-b7b5-4a25-89a6-1d7fed67e2c9", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:11 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:36 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "YR9SjKz72kSuvdBAL0OcYQ.0", - "X-Azure-Ref" : "0k4fLYAAAAADCX4deaX27Rrd6tZ+53ARuV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-3b0f-e3c7-593a0d00f74e\"}}", - "x-ms-client-request-id" : "32113a49-5a63-404e-a605-5cab6ad42b35", + "X-Processing-Time" : "71ms", + "MS-CV" : "iN+ABMcFgUmTGooJekGunA.0", + "X-Azure-Ref" : "01dfLYAAAAAAIOh0w7ELSRLlJxkewuOgXV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-be7b-edbe-a43a0d004b18\"}}", + "x-ms-client-request-id" : "59b38dee-b7b5-4a25-89a6-1d7fed67e2c9", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "175e4e71-4cdd-494c-ab08-9c70918a94b7", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:10 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:37 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "55ms", - "MS-CV" : "diwn0Jl5KUWX5wHeL23wjw.0", - "X-Azure-Ref" : "0k4fLYAAAAAB58JoteevQR6qTwBK2qx+oV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-3b67-f6c7-593a0d00d4db\"}}", - "x-ms-client-request-id" : "49ece051-8a61-4604-8e64-2013aab22347", + "X-Processing-Time" : "68ms", + "MS-CV" : "l2P70QX5ikiOwaj4ZTBIrQ.0", + "X-Azure-Ref" : "01dfLYAAAAAALF2Wn8pOsS44zSdqpXseHV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-bf07-51b9-a43a0d003627\"}}", + "x-ms-client-request-id" : "175e4e71-4cdd-494c-ab08-9c70918a94b7", "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_0000000a-baeb-3b0f-e3c7-593a0d00f74e/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-be7b-edbe-a43a0d004b18/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "440063fe-04ff-4bdf-a986-176f328e69dc", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:11 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:37 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "71ms", - "MS-CV" : "3ty+H38u3UmKsYUYQDzRIA.0", - "X-Azure-Ref" : "0k4fLYAAAAACDGdt4wQaUQrfcqY9V12qkV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:10.4137796+00:00\"}", - "x-ms-client-request-id" : "61c70a7a-0445-4680-b650-e8a195979ba7", + "X-Processing-Time" : "165ms", + "MS-CV" : "gSG60Hh5U06i2NiVMIQjuA.0", + "X-Azure-Ref" : "01dfLYAAAAAC5Y88bGbMERZdVq6XpFL0RV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:16:37.031184+00:00\"}", + "x-ms-client-request-id" : "440063fe-04ff-4bdf-a986-176f328e69dc", "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 57975b7d04eb0..6c8f1656363ec 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 @@ -4,7 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4168f543-1590-4441-94c0-9278caa5fda7", + "x-ms-client-request-id" : "e4aeeaba-b0e0-494f-b5c1-8f2cee7e6ac5", "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 6cea4783fb297..8ac194db2d457 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "96ec4dd4-416e-40b4-b326-aac7a4106988", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:11 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:37 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "63ms", - "MS-CV" : "TAJLXRAKhk+rqSKiL6Rl7Q.0", - "X-Azure-Ref" : "0k4fLYAAAAADmegwh3AIySI6c3VY/eofAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-3c37-f6c7-593a0d00d4dc\"}}", - "x-ms-client-request-id" : "e5a3369f-7284-40da-b8d3-506f3b0d65d4", + "X-Processing-Time" : "70ms", + "MS-CV" : "dIZbxl9c20OU5FURsktPAg.0", + "X-Azure-Ref" : "01tfLYAAAAAD4KMQ1I4z1RbyjBuSD+Xe0V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-c067-51b9-a43a0d003628\"}}", + "x-ms-client-request-id" : "96ec4dd4-416e-40b4-b326-aac7a4106988", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "fe445b8b-7bd1-4a7a-a042-5f526feacb04", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:11 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:37 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "RN99KRAGQ0qwKnGv8h6XZA.0", - "X-Azure-Ref" : "0k4fLYAAAAABRmiR5v1SySLBR1CJSYoGJV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-3c7a-e3c7-593a0d00f74f\"}}", - "x-ms-client-request-id" : "bc851578-0593-4ca4-8955-34d45cfd383b", + "X-Processing-Time" : "96ms", + "MS-CV" : "K4YG98PyRECgUv9u+oootg.0", + "X-Azure-Ref" : "01tfLYAAAAACrc/hNzK3BQrKZN9OKuxy+V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-c0fa-edbe-a43a0d004b19\"}}", + "x-ms-client-request-id" : "fe445b8b-7bd1-4a7a-a042-5f526feacb04", "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_0000000a-baeb-3c37-f6c7-593a0d00d4dc/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-c067-51b9-a43a0d003628/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "185ad6c2-264a-47b8-bdf1-02e2bf8b3268", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:11 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:38 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "67ms", - "MS-CV" : "CLrZTQ5S0kK5qT8CRoLJkA.0", - "X-Azure-Ref" : "0k4fLYAAAAACyRrET8f70R7Gf1tea5aKAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:10.6930029+00:00\"}", - "x-ms-client-request-id" : "57310858-cc22-4cd4-acf8-51871623a99d", + "X-Processing-Time" : "261ms", + "MS-CV" : "qnA6pefTqUeXho3fTndFOg.0", + "X-Azure-Ref" : "01tfLYAAAAABkXANU2wn2S5IZtoq9kKM3V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:16:37.6325999+00:00\"}", + "x-ms-client-request-id" : "185ad6c2-264a-47b8-bdf1-02e2bf8b3268", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "bb4803a9-adfc-4556-b91b-308f0247a7ba", + "x-ms-client-request-id" : "53bb65d9-5ea2-48f9-819c-7ff23bd0a132", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:12 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:38 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "606ms", - "MS-CV" : "cItCsOLg6EaKnz7Pj1r7mQ.0", - "X-Azure-Ref" : "0k4fLYAAAAABZFn2aXM+nR5qahfXATni0V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:GSVmdQ-vfj2xtEG-1J3-YTNvMGKcdCTifrxdb4nJI-41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:11Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-3c37-f6c7-593a0d00d4dc\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-3c37-f6c7-593a0d00d4dc\"}}}}", + "X-Processing-Time" : "781ms", + "MS-CV" : "N7mXeQuwHkeg4Jyv9k4bdg.0", + "X-Azure-Ref" : "01tfLYAAAAABU3UQAGPUcTrcffaLoiB3KV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:BA4Jb4WH44qCZlJnVpiolGGGlwYhngiK0Iw3R1FmvyE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:16:38Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-c067-51b9-a43a0d003628\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-c067-51b9-a43a0d003628\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AGSVmdQ-vfj2xtEG-1J3-YTNvMGKcdCTifrxdb4nJI-41@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ABA4Jb4WH44qCZlJnVpiolGGGlwYhngiK0Iw3R1FmvyE1@thread.v2" }, "Exception" : null }, { @@ -100,7 +103,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "2dc5e578-dc15-45dc-94d0-c387b7936aa1", + "x-ms-client-request-id" : "a8d84c0c-f740-418c-ba50-2a377487671c", "Content-Type" : "application/json" }, "Response" : { @@ -109,14 +112,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:12 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:43 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "248ms", - "MS-CV" : "0/GpuC47xkqJP2ZOrVnHkA.0", - "X-Azure-Ref" : "0lIfLYAAAAADvUnJcWoQDSa8Fhutbtt14V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:GSVmdQ-vfj2xtEG-1J3-YTNvMGKcdCTifrxdb4nJI-41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:11Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-3c37-f6c7-593a0d00d4dc\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-3c37-f6c7-593a0d00d4dc\"}}}}", + "X-Processing-Time" : "4521ms", + "MS-CV" : "T7qCgjr/XU2N+2tsXgWe4Q.0", + "X-Azure-Ref" : "019fLYAAAAACrrzK9awSLRK+2/aKUqjXKV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:BA4Jb4WH44qCZlJnVpiolGGGlwYhngiK0Iw3R1FmvyE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:16:38Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-c067-51b9-a43a0d003628\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-c067-51b9-a43a0d003628\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AGSVmdQ-vfj2xtEG-1J3-YTNvMGKcdCTifrxdb4nJI-41@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ABA4Jb4WH44qCZlJnVpiolGGGlwYhngiK0Iw3R1FmvyE1@thread.v2" }, "Exception" : null }, { @@ -124,7 +127,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "3deccbfe-7a60-4668-a762-0fe7b3c6b7ea", + "x-ms-client-request-id" : "63fb13dc-346a-4675-bff2-ab3d498885af", "Content-Type" : "application/json" }, "Response" : { @@ -133,14 +136,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:13 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:43 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "509ms", - "MS-CV" : "D5UT3tK8rUy7cp3DLFEUMg.0", - "X-Azure-Ref" : "0lIfLYAAAAAD7RdRBNXgnToE341Z8ABv5V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:l8iFZeN262TdLaksuKhlxTI-Zgb_rENxeG5VoLetq8o1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:12Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-3c37-f6c7-593a0d00d4dc\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-3c37-f6c7-593a0d00d4dc\"}}}}", + "X-Processing-Time" : "729ms", + "MS-CV" : "ytKhfuwyWk6Yy7P15npY8A.0", + "X-Azure-Ref" : "03NfLYAAAAABZAwNr6eCxRaSQmD3BOhnSV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:mwyxECLzEEjWkp7iKhsLzXamQcRDNO7sIVYM7yhJAm81@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:16:44Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-c067-51b9-a43a0d003628\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-c067-51b9-a43a0d003628\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Al8iFZeN262TdLaksuKhlxTI-Zgb_rENxeG5VoLetq8o1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AmwyxECLzEEjWkp7iKhsLzXamQcRDNO7sIVYM7yhJAm81@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 175d3afb20b10..e7f72e0e5a187 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "9fbe0c88-e253-4ba2-8d36-61775149ad0a", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:07 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "33ms", - "MS-CV" : "7++7pbm5mEqlEjQOb845bA.0", - "X-Azure-Ref" : "0j4fLYAAAAAB4q7gPHawCRa19SPELP/+kV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-2e97-f6c7-593a0d00d4d8\"}}", - "x-ms-client-request-id" : "06e1a530-b5ca-4527-b6fd-f22d2fc41399", + "X-Processing-Time" : "67ms", + "MS-CV" : "UrbvcihnDUaoPf1zRtSV1A.0", + "X-Azure-Ref" : "00tfLYAAAAAAD61v7Sk1aTaIeqL/cmg6GV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-b14f-51b9-a43a0d003622\"}}", + "x-ms-client-request-id" : "9fbe0c88-e253-4ba2-8d36-61775149ad0a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "1cddc306-4564-42c7-800b-3db37ad83f3f", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:07 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "Uhc7f/KArUumy4Ri1NwBBA.0", - "X-Azure-Ref" : "0kIfLYAAAAADX5Lt5U1YuRYLssM6TwvS8V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-2ee4-e3c7-593a0d00f747\"}}", - "x-ms-client-request-id" : "50874b15-7d67-4e08-8361-8010bffd7790", + "X-Processing-Time" : "72ms", + "MS-CV" : "Y1YCZ0S1R0GNX1bjRcqXow.0", + "X-Azure-Ref" : "00tfLYAAAAAANAi27FqFUQLyfJoLiaKYXV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-b1c9-edbe-a43a0d004b17\"}}", + "x-ms-client-request-id" : "1cddc306-4564-42c7-800b-3db37ad83f3f", "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_0000000a-baeb-2e97-f6c7-593a0d00d4d8/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-b14f-51b9-a43a0d003622/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "ad32d21b-008f-4410-8165-d85793177d25", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:07 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:34 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "42ms", - "MS-CV" : "awarMi8ps0OFirXiHtQo+w.0", - "X-Azure-Ref" : "0kIfLYAAAAAADFdKKE20+SaQlgGCaulfAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:07.1860351+00:00\"}", - "x-ms-client-request-id" : "3c2cd8db-64a4-4c88-849b-cb27ebf81861", + "X-Processing-Time" : "141ms", + "MS-CV" : "ZVu3A9N0e0S5K3EaZhkFEw.0", + "X-Azure-Ref" : "00tfLYAAAAADFWyX3VO5sToiaYNEWUwhSV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:16:33.6207034+00:00\"}", + "x-ms-client-request-id" : "ad32d21b-008f-4410-8165-d85793177d25", "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 f91b1f9b0f46c..48e18895af15b 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "a9b1e3b2-0794-438a-a1dd-a26bbf9bb8bc", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:15 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:47 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "33ms", - "MS-CV" : "dh0gpUDkUEGVDePlVCOMBw.0", - "X-Azure-Ref" : "0l4fLYAAAAAB4LiGK6IoYQbQoPcsHT7KfV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-4d39-e3c7-593a0d00f754\"}}", - "x-ms-client-request-id" : "b22a2c94-0e65-4a24-b64c-ae43d41e7ce0", + "X-Processing-Time" : "125ms", + "MS-CV" : "QmZyeeJhCkKA+QTxypLu3A.0", + "X-Azure-Ref" : "039fLYAAAAABxq5VXV9n8RpfbdwP3UZH9V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-e709-51b9-a43a0d003631\"}}", + "x-ms-client-request-id" : "a9b1e3b2-0794-438a-a1dd-a26bbf9bb8bc", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "e5ba951d-95e1-417e-a2e2-4906450b9c1a", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:15 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:47 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "1+4avUOZkkKp/BDKIuT9BA.0", - "X-Azure-Ref" : "0l4fLYAAAAACACf82P4S9SZQmwrtvXFi/V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-4d80-e3c7-593a0d00f755\"}}", - "x-ms-client-request-id" : "630f749f-0dbb-4297-a5a9-1f924dce1e59", + "X-Processing-Time" : "95ms", + "MS-CV" : "+CzrI4loeE+BT2Yfd9LokQ.0", + "X-Azure-Ref" : "04NfLYAAAAABcy9x2R5lkTb8FMm9seR9aV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-e79d-51b9-a43a0d003632\"}}", + "x-ms-client-request-id" : "e5ba951d-95e1-417e-a2e2-4906450b9c1a", "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_0000000a-baeb-4d39-e3c7-593a0d00f754/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-e709-51b9-a43a0d003631/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "abd4002c-7548-4590-82af-03abcb2bfafd", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:15 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:47 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "zroxxV2fdEmthI++xp5Rfw.0", - "X-Azure-Ref" : "0l4fLYAAAAACtIDUjm6KiQJMHQVtfYLhGV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:15.0408703+00:00\"}", - "x-ms-client-request-id" : "74f0bbbc-1076-49ba-8260-ad92ee7b0ec5", + "X-Processing-Time" : "149ms", + "MS-CV" : "yREq+WcnB0uyNNS3GnqnuA.0", + "X-Azure-Ref" : "04NfLYAAAAABJ4lYiluEwQ5SwhAgYAn5mV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:16:47.4065837+00:00\"}", + "x-ms-client-request-id" : "abd4002c-7548-4590-82af-03abcb2bfafd", "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 6772bdce20b11..2f9d6f290f9a1 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "b30ed6ba-ac9e-4561-a30f-ae76220b6e25", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:07 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:32 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "6SKjh4ZrlUezh+XwnbtMYw.0", - "X-Azure-Ref" : "0j4fLYAAAAABAIt1w/DKbR63ULne4baHrV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-2d7f-e3c7-593a0d00f746\"}}", - "x-ms-client-request-id" : "913684c5-7202-442d-b4fe-e604b3638755", + "X-Processing-Time" : "96ms", + "MS-CV" : "DHhqPWI0CE+NpbzXc1EzVw.0", + "X-Azure-Ref" : "00dfLYAAAAABHCJ2CYeUGQpcTyH3PIi9yV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-af72-edbe-a43a0d004b16\"}}", + "x-ms-client-request-id" : "b30ed6ba-ac9e-4561-a30f-ae76220b6e25", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "190e5695-1801-45f9-9089-2cc27a60f25d", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:07 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "f7V2r+H1uUajRAltdi5dIw.0", - "X-Azure-Ref" : "0j4fLYAAAAADwSk9iUgFlRJlxhvCuTH9PV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-2df0-f6c7-593a0d00d4d7\"}}", - "x-ms-client-request-id" : "6babe6e6-d6b2-48ed-a751-bd11ed0f9230", + "X-Processing-Time" : "71ms", + "MS-CV" : "KNXcc2rAnUipW2cZuWN6ig.0", + "X-Azure-Ref" : "00dfLYAAAAAAkpQ9fmXgPR4G9kLShh1q5V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-afed-51b9-a43a0d003621\"}}", + "x-ms-client-request-id" : "190e5695-1801-45f9-9089-2cc27a60f25d", "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_0000000a-baeb-2d7f-e3c7-593a0d00f746/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-af72-edbe-a43a0d004b16/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "ab7fbcd6-e79b-437e-8525-b2de2e09c351", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:07 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "37ms", - "MS-CV" : "dIaYgnO74ku3Mn+U6xqnOg.0", - "X-Azure-Ref" : "0j4fLYAAAAADf2UgK8X0CS5QkflFRzD1LV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:06.9419936+00:00\"}", - "x-ms-client-request-id" : "ca26965a-9d42-4f05-882c-25f7b09795ac", + "X-Processing-Time" : "162ms", + "MS-CV" : "l4SAtLllikasoMiaWGjAfQ.0", + "X-Azure-Ref" : "00dfLYAAAAAAEtbmecbGuTLZxFiDwJzZiV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:16:33.1665732+00:00\"}", + "x-ms-client-request-id" : "ab7fbcd6-e79b-437e-8525-b2de2e09c351", "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 fcd80304df1de..d09908850104c 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "500e44bf-3f13-456b-9826-7172ddc24ee4", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:05 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:30 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "+MRX7YO4nUGWw/g37qlzxg.0", - "X-Azure-Ref" : "0jYfLYAAAAADo6nUzw23uRKHK8XGpJ8aXV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-269d-e3c7-593a0d00f744\"}}", - "x-ms-client-request-id" : "6c3f2d3b-f2f6-4b19-a202-57b76bc21312", + "X-Processing-Time" : "69ms", + "MS-CV" : "jddT/9gQ3E2/xkZw3av7ow.0", + "X-Azure-Ref" : "0z9fLYAAAAADVneHSR0ziQqnDlCI0KfKYV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-a5fb-51b9-a43a0d00361d\"}}", + "x-ms-client-request-id" : "500e44bf-3f13-456b-9826-7172ddc24ee4", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "d34d3b68-ea4d-40cf-8ef1-379ee12fcb14", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:05 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:31 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "53ms", - "MS-CV" : "hRmZBR8N7k+3AyAUb/4wCQ.0", - "X-Azure-Ref" : "0jofLYAAAAABTnpYcHHuzQZ+1rgHneTqeV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-2824-f6c7-593a0d00d4d5\"}}", - "x-ms-client-request-id" : "2358382d-af20-4bcd-9634-d924f143f2cd", + "X-Processing-Time" : "110ms", + "MS-CV" : "5so8P8o0NEeYUqfGBHANmA.0", + "X-Azure-Ref" : "0z9fLYAAAAABVlMMsOyVyT70p0iuTqixjV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-a751-51b9-a43a0d00361e\"}}", + "x-ms-client-request-id" : "d34d3b68-ea4d-40cf-8ef1-379ee12fcb14", "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_0000000a-baeb-269d-e3c7-593a0d00f744/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-a5fb-51b9-a43a0d00361d/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "b563b6e8-b9fc-4332-b65d-999b2ddcf27f", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:06 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:31 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "64ms", - "MS-CV" : "OIJTVxcsI0irWXcZl3FjaA.0", - "X-Azure-Ref" : "0jofLYAAAAABzLDdcEFDOQLOjGul3UWbXV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:05.48661+00:00\"}", - "x-ms-client-request-id" : "1b93b600-4b61-4ba0-87cb-1e27ce86767a", + "X-Processing-Time" : "139ms", + "MS-CV" : "FGiFwDl420eMN8Op15GPbA.0", + "X-Azure-Ref" : "0z9fLYAAAAAARIEBIDIAqTL1S7kZhVf+cV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:16:30.9758274+00:00\"}", + "x-ms-client-request-id" : "b563b6e8-b9fc-4332-b65d-999b2ddcf27f", "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 8d3c0a59fa36a..b7a076a5743b8 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "1c03ab57-4fc3-4e17-be38-128b783b792a", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:22 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:56 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "ZXij9b4h1UCS28kEqZQPGw.0", - "X-Azure-Ref" : "0n4fLYAAAAAADhP1XruxYRIzSVbDNU59VV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-69b2-e3c7-593a0d00f762\"}}", - "x-ms-client-request-id" : "ef47bb94-a7d8-41f5-aa28-2b52a3462bfa", + "X-Processing-Time" : "73ms", + "MS-CV" : "9Vv88+fkvU+jbUladdy9lw.0", + "X-Azure-Ref" : "06dfLYAAAAADikctPXgGqTblEZRTvQzHSV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-0b89-edbe-a43a0d004b21\"}}", + "x-ms-client-request-id" : "1c03ab57-4fc3-4e17-be38-128b783b792a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "79f0e93e-36e0-479e-9473-e2ae9cfcec0f", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:22 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:57 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "tBiah/i6kkuhCw8VB7ZEtg.0", - "X-Azure-Ref" : "0n4fLYAAAAAC/f+7XVBiLSaRV3NTa06OSV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-69ee-e3c7-593a0d00f763\"}}", - "x-ms-client-request-id" : "82398647-67a0-462e-b8ff-9a165bbe17e4", + "X-Processing-Time" : "94ms", + "MS-CV" : "S2sRA3J8MkSqrqsn7K4Rng.0", + "X-Azure-Ref" : "06dfLYAAAAACALQ89sr0+RopyuSrHKz5tV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-0c16-9806-113a0d00c372\"}}", + "x-ms-client-request-id" : "79f0e93e-36e0-479e-9473-e2ae9cfcec0f", "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_0000000a-baeb-69b2-e3c7-593a0d00f762/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-0b89-edbe-a43a0d004b21/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "6d4bff82-2dd7-440d-8276-47c0b8ce2c17", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:23 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:56 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "128ms", - "MS-CV" : "mvgrbYrI1027Ijoz3rWYcA.0", - "X-Azure-Ref" : "0n4fLYAAAAADMKLBUeSe1TrgTy42w/EyoV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:22.390507+00:00\"}", - "x-ms-client-request-id" : "983c1ff4-f210-4cb6-9b92-b04a55de238c", + "X-Processing-Time" : "158ms", + "MS-CV" : "ESW2RaIXb0KzCJjFBj0p2A.0", + "X-Azure-Ref" : "06dfLYAAAAACxwxtXXLolQqjwtB9t0nO4V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:16:56.7857856+00:00\"}", + "x-ms-client-request-id" : "6d4bff82-2dd7-440d-8276-47c0b8ce2c17", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "077e3e93-a9c9-43e2-a4f1-b09d4ebed91c", + "x-ms-client-request-id" : "08b83469-1858-4123-bc42-c33b8a7f8ab8", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:23 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:57 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "695ms", - "MS-CV" : "6/KIBkKeJ0KmT2wN1//9Vw.0", - "X-Azure-Ref" : "0n4fLYAAAAACvLmbX9YC9SYf6Mn6ewh/nV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:TJfGh8hM1DGhUAtOFNf8BW3TO_QysqTS4BXa2bb-i5o1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:23Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-69b2-e3c7-593a0d00f762\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-69b2-e3c7-593a0d00f762\"}}}}", + "X-Processing-Time" : "345ms", + "MS-CV" : "5N0DXMVg/ESEJlL/+nzr+Q.0", + "X-Azure-Ref" : "06dfLYAAAAACLiOlQKl8ERaXMMcDJDlaIV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:ARuvUq4N_Ks5VMoeq-pQwavAhrD9VLLCqX4vRE7O06E1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:16:57Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-0b89-edbe-a43a0d004b21\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-0b89-edbe-a43a0d004b21\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ATJfGh8hM1DGhUAtOFNf8BW3TO_QysqTS4BXa2bb-i5o1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AARuvUq4N_Ks5VMoeq-pQwavAhrD9VLLCqX4vRE7O06E1@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 497667347784e..f7bef9c57d7fd 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "8e385aa3-35ef-42c3-a2cd-4c0e04233aee", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:29 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:59 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "37ms", - "MS-CV" : "dfLSMmg54EalusYyqpmv5Q.0", - "X-Azure-Ref" : "0pYfLYAAAAAD+1jDJPKMpT7CBujpUPmcaV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-82d7-e3c7-593a0d00f767\"}}", - "x-ms-client-request-id" : "855cbf86-7ff1-4d87-8fd0-d68e58503496", + "X-Processing-Time" : "72ms", + "MS-CV" : "7MDo4WpNJEaLBdDy6Kv5sQ.0", + "X-Azure-Ref" : "07NfLYAAAAAAMrAaVjcDGS7/OyBS5YEL3V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-18a1-edbe-a43a0d004b24\"}}", + "x-ms-client-request-id" : "8e385aa3-35ef-42c3-a2cd-4c0e04233aee", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "bf384d42-cbe8-4093-b2d7-13c808eaf316", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:29 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "35ms", - "MS-CV" : "M4FkA8IhMk6KGyWAdairsA.0", - "X-Azure-Ref" : "0pYfLYAAAAADUt+Bmkh4ITpBAli5DBs9qV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8321-e3c7-593a0d00f768\"}}", - "x-ms-client-request-id" : "9b330354-04a5-4f9d-822e-b3717f605df1", + "X-Processing-Time" : "79ms", + "MS-CV" : "pu+yZqpEtEihL2AOcY+iHQ.0", + "X-Azure-Ref" : "07NfLYAAAAAD6epmXNHEqSb1tSbs9z/UBV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-1927-51b9-a43a0d00363c\"}}", + "x-ms-client-request-id" : "bf384d42-cbe8-4093-b2d7-13c808eaf316", "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_0000000a-baeb-82d7-e3c7-593a0d00f767/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-18a1-edbe-a43a0d004b24/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "45728c1c-5a1e-4f13-80dd-6864bdd5683e", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:29 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "34ms", - "MS-CV" : "Oe3Og7Uc3U+zqTo1OjF1Ew.0", - "X-Azure-Ref" : "0pYfLYAAAAABhh0r0IBxoTpzW/IzTvh3UV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:28.7376926+00:00\"}", - "x-ms-client-request-id" : "ef27cba5-9d82-4def-9390-c36e4fe5c631", + "X-Processing-Time" : "145ms", + "MS-CV" : "5ihNeJf1wkubxCR3vlnXPg.0", + "X-Azure-Ref" : "07NfLYAAAAADzudYUNaG8Q4yyMOOnjjUvV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:00.088825+00:00\"}", + "x-ms-client-request-id" : "45728c1c-5a1e-4f13-80dd-6864bdd5683e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "fc1199dc-9c08-4d86-ac75-b82c5973fd6b", + "x-ms-client-request-id" : "5f860c20-c27d-4727-9af1-727c593dc515", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:29 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:01 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "546ms", - "MS-CV" : "nJThn2kA+0KbG6HStofaFA.0", - "X-Azure-Ref" : "0pYfLYAAAAACh4EMgFdHoSrrfP3lvmN0DV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:WsUrAfQtRPohMBrn0_q4PnVIMFjyIwABlJzTJfpmgUs1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:29Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-82d7-e3c7-593a0d00f767\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-82d7-e3c7-593a0d00f767\"}}}}", + "X-Processing-Time" : "356ms", + "MS-CV" : "LHxpQYcJaEevu2DQoe83Cw.0", + "X-Azure-Ref" : "07dfLYAAAAABRaIyN0/aOR6IPTI96KcOrV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:WRQa2TIuhWbWC-k43LQ0wchi0tL98AZPM3-M4r6jDHw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:01Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-18a1-edbe-a43a0d004b24\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-18a1-edbe-a43a0d004b24\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AWsUrAfQtRPohMBrn0_q4PnVIMFjyIwABlJzTJfpmgUs1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AWRQa2TIuhWbWC-k43LQ0wchi0tL98AZPM3-M4r6jDHw1@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 53122580e1be5..fe1a6c66f3045 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "c7df2b0d-caa8-49d8-8153-e0ebdef277d5", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:19 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "59ms", - "MS-CV" : "lCdk5twjX0CNiPWbftodfA.0", - "X-Azure-Ref" : "0m4fLYAAAAAABZtuuX3e+SaO9j/5+1dq+V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-5d21-e3c7-593a0d00f75e\"}}", - "x-ms-client-request-id" : "69329e7c-c1fd-482a-8ff1-bfb7510da576", + "X-Processing-Time" : "72ms", + "MS-CV" : "9J40ce9MskK1m88x/v7l6A.0", + "X-Azure-Ref" : "05dfLYAAAAACpnNX1pqc6RJC2mLMx+lUBV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-fd1e-51b9-a43a0d003638\"}}", + "x-ms-client-request-id" : "c7df2b0d-caa8-49d8-8153-e0ebdef277d5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "1f48d166-3aef-4bb4-ae57-1c1d426fcfc6", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:19 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:52 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "33ms", - "MS-CV" : "nmz8H9zuyke5KCcaptTGiw.0", - "X-Azure-Ref" : "0m4fLYAAAAABORvcT3INcRJoK24TtEgfQV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-5d6a-e3c7-593a0d00f75f\"}}", - "x-ms-client-request-id" : "0e56f01c-82e4-4f1b-b036-7cb99ceb6c07", + "X-Processing-Time" : "64ms", + "MS-CV" : "hDT27p03ZkOj60BZA4N4ow.0", + "X-Azure-Ref" : "05dfLYAAAAADX7I5VBiU0QYxVyyP0RHoZV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-fd94-edbe-a43a0d004b1e\"}}", + "x-ms-client-request-id" : "1f48d166-3aef-4bb4-ae57-1c1d426fcfc6", "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_0000000a-baeb-5d21-e3c7-593a0d00f75e/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-fd1e-51b9-a43a0d003638/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "9f2e61a0-2aaa-4089-aafa-d735731a14b4", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:19 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "37ms", - "MS-CV" : "PSmEwDduqku8SDORzA0O+w.0", - "X-Azure-Ref" : "0nIfLYAAAAAD+nxSx9l10SITjuK4HU/3jV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:19.0929276+00:00\"}", - "x-ms-client-request-id" : "cc123c2f-8b28-4a29-9b9c-7061e7a4d54c", + "X-Processing-Time" : "164ms", + "MS-CV" : "/GXwwyWyO0ev57Ae3R54bQ.0", + "X-Azure-Ref" : "05dfLYAAAAAD7KLmYQhaOTrS6l7yFoUM1V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:16:53.0594876+00:00\"}", + "x-ms-client-request-id" : "9f2e61a0-2aaa-4089-aafa-d735731a14b4", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b3f869cd-d1d7-4f2b-8ff3-84c3f7364338", + "x-ms-client-request-id" : "fd0fb2be-eb7f-4829-bd12-ae2c7b5d6d65", "Content-Type" : "application/json" }, "Response" : { @@ -85,33 +88,33 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:20 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "501ms", - "MS-CV" : "/J1kkn8mkEm9fapUdmAz0A.0", - "X-Azure-Ref" : "0nIfLYAAAAACK9GNPtGmkT6TZNoZeg3CyV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:EY7CzqOojnPsnNSYpAWe9QzOpffm2LJTQoOHDnD9hTk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:20Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-5d21-e3c7-593a0d00f75e\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-5d21-e3c7-593a0d00f75e\"}}}}", + "X-Processing-Time" : "587ms", + "MS-CV" : "cs/mjyDfBEOEZ+tQxyEllg.0", + "X-Azure-Ref" : "05tfLYAAAAABT5mjizUmOT425GWq5e3JZV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:J-bB6GjaFVxoUS3UXnCqPTrGITuZz-zzxRlCDuSqJiI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:16:54Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-fd1e-51b9-a43a0d003638\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-fd1e-51b9-a43a0d003638\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AEY7CzqOojnPsnNSYpAWe9QzOpffm2LJTQoOHDnD9hTk1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AJ-bB6GjaFVxoUS3UXnCqPTrGITuZz-zzxRlCDuSqJiI1@thread.v2" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:EY7CzqOojnPsnNSYpAWe9QzOpffm2LJTQoOHDnD9hTk1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:J-bB6GjaFVxoUS3UXnCqPTrGITuZz-zzxRlCDuSqJiI1@thread.v2?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "adf88ae6-e58b-4839-96f8-f75ac7bae029" + "x-ms-client-request-id" : "0acd1531-ffce-4be5-b8c0-00b6a774eca1" }, "Response" : { "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", - "X-Processing-Time" : "218ms", - "MS-CV" : "k6yQ2kQgU0+CaeQ471ibmA.0", + "X-Processing-Time" : "197ms", + "MS-CV" : "NZIMfarNbk6ynnDBiVDuIQ.0", "retry-after" : "0", - "X-Azure-Ref" : "0nIfLYAAAAADbH4PFJrQIQrl6wuqarg2VV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "05tfLYAAAAACgAqo+GoAcSoPAj+w8n37GV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:34:20 GMT" + "Date" : "Thu, 17 Jun 2021 23:16:54 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 f48aa123fb7ce..cf2f38b6628eb 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "f5415873-7d3a-4d3b-a2b3-8975840a21a8", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:18 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "57ms", - "MS-CV" : "zVW5M7os0U+FbivHWJ9/OQ.0", - "X-Azure-Ref" : "0mofLYAAAAAD9xyCo7CNJTJTWuUZAGZ6BV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-58ce-e3c7-593a0d00f75c\"}}", - "x-ms-client-request-id" : "3ad5248e-fa49-4f4e-96a7-0b21c1ccb28f", + "X-Processing-Time" : "92ms", + "MS-CV" : "hAPtKo8YOk21xlfNgzZPzw.0", + "X-Azure-Ref" : "05NfLYAAAAAClvySAQgpMR68W5+r72b10V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-f7e0-edbe-a43a0d004b1d\"}}", + "x-ms-client-request-id" : "f5415873-7d3a-4d3b-a2b3-8975840a21a8", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "3cdc89f0-1618-4da1-b255-c7ea05b69d8c", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:18 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:52 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "cgeabl4BhEOJ2ElPx9zBtw.0", - "X-Azure-Ref" : "0mofLYAAAAACKfJqCadzQR7EI6cbyaA/1V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-590c-e3c7-593a0d00f75d\"}}", - "x-ms-client-request-id" : "cacf3280-04a9-4f43-bf86-fd46dbb01c9c", + "X-Processing-Time" : "128ms", + "MS-CV" : "EIb8qmmVQ0G7DXbZlDNYhw.0", + "X-Azure-Ref" : "05NfLYAAAAAD8hwlclRkHS5YiMupjubuVV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-f88c-9806-113a0d00c36f\"}}", + "x-ms-client-request-id" : "3cdc89f0-1618-4da1-b255-c7ea05b69d8c", "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_0000000a-baeb-58ce-e3c7-593a0d00f75c/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-f7e0-edbe-a43a0d004b1d/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "ebc5bf43-2c1a-4462-8288-c0d07f9693bd", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:18 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "37ms", - "MS-CV" : "vxT08lDixkSdc/0A3SMmSw.0", - "X-Azure-Ref" : "0mofLYAAAAAA+Ox3fOHD9TrAUWrMXSAsaV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:17.9713341+00:00\"}", - "x-ms-client-request-id" : "6e73ba4e-20a5-4276-9ee9-8017034d73d4", + "X-Processing-Time" : "152ms", + "MS-CV" : "J1XgT6Qbs0miSF7YMQLyXg.0", + "X-Azure-Ref" : "05NfLYAAAAAB/iG9toCFERqds5CGz6GhqV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:16:51.7842022+00:00\"}", + "x-ms-client-request-id" : "ebc5bf43-2c1a-4462-8288-c0d07f9693bd", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7a82c84e-7b31-43ea-95d3-396c0cbc0f5d", + "x-ms-client-request-id" : "26cfa21e-d649-49ab-aa88-673134e38058", "Content-Type" : "application/json" }, "Response" : { @@ -85,33 +88,33 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:19 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "559ms", - "MS-CV" : "WRJql8VGLkO8DyYqS7hSEA.0", - "X-Azure-Ref" : "0m4fLYAAAAABrPftdhFKLTqN3kpK2TGiOV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:CuAzleIzX89WQg8AgeVanwrzSFWnV7ftIzx65OejBsY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:19Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-58ce-e3c7-593a0d00f75c\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-58ce-e3c7-593a0d00f75c\"}}}}", + "X-Processing-Time" : "546ms", + "MS-CV" : "wo95ALSzMESRPKetCahgHA.0", + "X-Azure-Ref" : "05NfLYAAAAACt4iUK3f5xTptkqM9oGXTgV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:8K4ZOIuYFDC-KeKeUqgKiSbmXwtU26Du_CjF-qYHUvo1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:16:52Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-f7e0-edbe-a43a0d004b1d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc24-f7e0-edbe-a43a0d004b1d\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ACuAzleIzX89WQg8AgeVanwrzSFWnV7ftIzx65OejBsY1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A8K4ZOIuYFDC-KeKeUqgKiSbmXwtU26Du_CjF-qYHUvo1@thread.v2" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:CuAzleIzX89WQg8AgeVanwrzSFWnV7ftIzx65OejBsY1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:8K4ZOIuYFDC-KeKeUqgKiSbmXwtU26Du_CjF-qYHUvo1@thread.v2?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "fc9bc1c8-83a0-4c3d-9e2b-fdc5572af1de" + "x-ms-client-request-id" : "d9cefc53-bc2a-47be-bc16-8013f2d368e7" }, "Response" : { "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", - "X-Processing-Time" : "160ms", - "MS-CV" : "BPUQUN9TY0irJviQ6hZQ1w.0", + "X-Processing-Time" : "176ms", + "MS-CV" : "GB0ja2Btx0KUjVbblSey2w.0", "retry-after" : "0", - "X-Azure-Ref" : "0m4fLYAAAAACynHORl8jEQKgM4yzsrnHBV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "05dfLYAAAAAD5fepjoYlET7Aona4tNoXhV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:34:19 GMT" + "Date" : "Thu, 17 Jun 2021 23:16:52 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 5b2b432fde1ae..1501160088cbe 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "f2444342-3031-4606-9e2d-47ada728d820", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:30 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "7mEwCrjrsk25NGHndQ/flg.0", - "X-Azure-Ref" : "0pofLYAAAAAAKAM/k6wWaQaKR0KDX/vD7V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-85f4-e3c7-593a0d00f769\"}}", - "x-ms-client-request-id" : "11d7d67c-458b-4318-85d7-ec667230432e", + "X-Processing-Time" : "92ms", + "MS-CV" : "VSwrL/QclUe8eG9hAWfAOg.0", + "X-Azure-Ref" : "07dfLYAAAAAD75yyTcm01So3Dr4iS0xgoV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-1c08-edbe-a43a0d004b25\"}}", + "x-ms-client-request-id" : "f2444342-3031-4606-9e2d-47ada728d820", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "c89f317c-6040-44b7-90ba-b52d9ef7b730", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:29 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:01 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "hqg0FQlDa0qyKPQKTE2/+A.0", - "X-Azure-Ref" : "0pofLYAAAAACJZ4DIFHVITJqkArxBZslOV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8636-e3c7-593a0d00f76a\"}}", - "x-ms-client-request-id" : "e0454ef2-61bc-432d-befb-536597d5ca0e", + "X-Processing-Time" : "72ms", + "MS-CV" : "q5iaTUPD8keHW87iw4zyQw.0", + "X-Azure-Ref" : "07dfLYAAAAACtH9txlcuVSJFZuJBrbjilV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-1c8b-51b9-a43a0d00363e\"}}", + "x-ms-client-request-id" : "c89f317c-6040-44b7-90ba-b52d9ef7b730", "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_0000000a-baeb-85f4-e3c7-593a0d00f769/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-1c08-edbe-a43a0d004b25/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "e137d990-51e0-4aaf-a4f6-1245023407b6", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:30 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:01 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "38ms", - "MS-CV" : "f/nHa4xVaEedhJAzQx5pfQ.0", - "X-Azure-Ref" : "0pofLYAAAAABkYyvLzelmQZaFyAAc1YsIV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:29.533853+00:00\"}", - "x-ms-client-request-id" : "769f9ebe-da57-4379-ad59-2f6d0934d6b5", + "X-Processing-Time" : "143ms", + "MS-CV" : "D1aQPJ+YP0i4MVJDIofbWw.0", + "X-Azure-Ref" : "07dfLYAAAAAB9lpXBWeUbQpRkVn4UoSs5V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:00.9517547+00:00\"}", + "x-ms-client-request-id" : "e137d990-51e0-4aaf-a4f6-1245023407b6", "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 b029a52bd95ab..40acb4d8dd0fc 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "11f9780c-de18-4697-b107-5bb4288f07bc", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:24 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:57 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "z49jhOWUKU6Vg5j2puk+qw.0", - "X-Azure-Ref" : "0oIfLYAAAAACgBf7d70Z2T4nBEcLiKxO1V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6ddb-e3c7-593a0d00f764\"}}", - "x-ms-client-request-id" : "365497c5-c828-4b59-8f28-60c10fb44de9", + "X-Processing-Time" : "65ms", + "MS-CV" : "VtD6eKEL70qDEAI7bkjmmw.0", + "X-Azure-Ref" : "06tfLYAAAAACTcGZAlEWBSZ5IOZHa/imIV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-0efd-edbe-a43a0d004b23\"}}", + "x-ms-client-request-id" : "11f9780c-de18-4697-b107-5bb4288f07bc", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "df3fce87-556b-4441-ab5a-f9ac958303b0", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:23 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:58 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "4vIceCfl80us33r0YvagzA.0", - "X-Azure-Ref" : "0oIfLYAAAAADSLXPVp9xPS4Uv1RoPmHJfV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6e1b-e3c7-593a0d00f765\"}}", - "x-ms-client-request-id" : "636b6eef-9fb6-4e92-ab2e-8d154151cad5", + "X-Processing-Time" : "99ms", + "MS-CV" : "F3dbnOcx9EupoTGh8bVEEA.0", + "X-Azure-Ref" : "06tfLYAAAAACmWAjXdXtVQY8LDMa4MJzGV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-0f96-51b9-a43a0d00363a\"}}", + "x-ms-client-request-id" : "df3fce87-556b-4441-ab5a-f9ac958303b0", "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_0000000a-baeb-6ddb-e3c7-593a0d00f764/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-0efd-edbe-a43a0d004b23/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "6c409641-b727-4e91-9e4f-a9b5f0915aa6", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:24 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:57 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "45ms", - "MS-CV" : "yV8w0uBTxkOnx/TwYQXKPQ.0", - "X-Azure-Ref" : "0oIfLYAAAAADdDp7cJsipQrA1JmXSlwlAV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:23.3678574+00:00\"}", - "x-ms-client-request-id" : "79b2f534-15a5-4834-a782-8a138257f893", + "X-Processing-Time" : "141ms", + "MS-CV" : "xgDKdOsDn0u5zQPhjyrehQ.0", + "X-Azure-Ref" : "06tfLYAAAAABOdPJndzfjSaLZS0QZppS2V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:16:57.6298373+00:00\"}", + "x-ms-client-request-id" : "6c409641-b727-4e91-9e4f-a9b5f0915aa6", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "766fd21d-a744-432d-be80-5fdc8eba918d", + "x-ms-client-request-id" : "0f553566-fc97-4a66-b8f4-2f7a6905eaeb", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:25 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:58 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "641ms", - "MS-CV" : "99T7nJWs5EKGCqwXeeZmXA.0", - "X-Azure-Ref" : "0oYfLYAAAAABZA5D0tt61Tbqfv9c82CuvV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:MtKUDuxq6m-dk-WAbl7TSRRN_lZJvoBPEACi1bOFg4g1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:25Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6ddb-e3c7-593a0d00f764\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6ddb-e3c7-593a0d00f764\"}}}}", + "X-Processing-Time" : "356ms", + "MS-CV" : "2BneqaldR0SKqdnwlU+4Vg.0", + "X-Azure-Ref" : "06tfLYAAAAABKzhx/N/xKRLu7bWLu9GOfV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:C-jcOTnf6S878eqNPZBQreAZIz-eEAnpFRKe9tmyNKo1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:16:58Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-0efd-edbe-a43a0d004b23\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-0efd-edbe-a43a0d004b23\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AMtKUDuxq6m-dk-WAbl7TSRRN_lZJvoBPEACi1bOFg4g1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AC-jcOTnf6S878eqNPZBQreAZIz-eEAnpFRKe9tmyNKo1@thread.v2" }, "Exception" : null }, { @@ -100,7 +103,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "04e41224-7ddd-43a5-be57-d583223c6c0c", + "x-ms-client-request-id" : "02f58ca8-8720-41d0-99c6-5b555995455d", "Content-Type" : "application/json" }, "Response" : { @@ -109,14 +112,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:26 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:59 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "441ms", - "MS-CV" : "Mh/G6iPCzEqmOvgXX4Jztg.0", - "X-Azure-Ref" : "0oofLYAAAAAB3148Gng4KT78d1fGpowDPV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:qJ2U3S8CtHpMkABO8-K4UShXdB4LLzSbL_B2NQbrncY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:26Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6ddb-e3c7-593a0d00f764\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6ddb-e3c7-593a0d00f764\"}}}}", + "X-Processing-Time" : "950ms", + "MS-CV" : "PIhkBIhfzE2uSQK6IH8EUQ.0", + "X-Azure-Ref" : "069fLYAAAAACiw9Ahxcj1RKxf1vidkRAnV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:bE5YyIcXKg55HSY-N_Tf8ksPsfvZ0eXwRGfb0SStiGw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:16:59Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-0efd-edbe-a43a0d004b23\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-0efd-edbe-a43a0d004b23\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AqJ2U3S8CtHpMkABO8-K4UShXdB4LLzSbL_B2NQbrncY1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AbE5YyIcXKg55HSY-N_Tf8ksPsfvZ0eXwRGfb0SStiGw1@thread.v2" }, "Exception" : null }, { @@ -124,20 +127,20 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?maxPageSize=10&api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "055564be-1235-4d31-9c3f-75e3a6fe9916" + "x-ms-client-request-id" : "55d09c06-55c8-4533-9eb9-69f29220db9b" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "83ms", - "MS-CV" : "QHnBQUMDxUyAe+1/FDmwEQ.0", + "X-Processing-Time" : "84ms", + "MS-CV" : "6r3mu+lZ2U2Ps81P+54dvA.0", "retry-after" : "0", - "X-Azure-Ref" : "0pYfLYAAAAAAO1l+A9yfSQLOWG3lME9rBV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "07NfLYAAAAABUpLy1G7xuQ6+kXM8hbLc8V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"id\":\"19:qJ2U3S8CtHpMkABO8-K4UShXdB4LLzSbL_B2NQbrncY1@thread.v2\",\"topic\":\"Test\",\"lastMessageReceivedOn\":\"2021-06-17T17:34:26Z\"},{\"id\":\"19:MtKUDuxq6m-dk-WAbl7TSRRN_lZJvoBPEACi1bOFg4g1@thread.v2\",\"topic\":\"Test\",\"lastMessageReceivedOn\":\"2021-06-17T17:34:25Z\"}]}", - "Date" : "Thu, 17 Jun 2021 17:34:28 GMT", + "Body" : "{\"value\":[{\"id\":\"19:bE5YyIcXKg55HSY-N_Tf8ksPsfvZ0eXwRGfb0SStiGw1@thread.v2\",\"topic\":\"Test\",\"lastMessageReceivedOn\":\"2021-06-17T23:16:59Z\"},{\"id\":\"19:C-jcOTnf6S878eqNPZBQreAZIz-eEAnpFRKe9tmyNKo1@thread.v2\",\"topic\":\"Test\",\"lastMessageReceivedOn\":\"2021-06-17T23:16:58Z\"}]}", + "Date" : "Thu, 17 Jun 2021 23:17:00 GMT", "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 9248b34e2869b..890b3aeff2e86 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "5c0ef7a4-f58e-4179-9899-875531ca9ace", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:20 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "0WxLMDDSOk2c5p+uu1Ww4Q.0", - "X-Azure-Ref" : "0nIfLYAAAAACxAF59YN2ZRKdrFudiK64EV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6119-e3c7-593a0d00f760\"}}", - "x-ms-client-request-id" : "7a550270-a72c-415b-bf27-9482f01a9f97", + "X-Processing-Time" : "74ms", + "MS-CV" : "n38lVBllaEupeXYfWhDY5w.0", + "X-Azure-Ref" : "05tfLYAAAAAC/idDMOWp6SaODQhhSLQ8gV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-0267-edbe-a43a0d004b20\"}}", + "x-ms-client-request-id" : "5c0ef7a4-f58e-4179-9899-875531ca9ace", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "310a736d-0bb8-4da3-878b-1a03c510239d", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:20 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "OZLMfKwB6EaMPGNtC5vDtA.0", - "X-Azure-Ref" : "0nIfLYAAAAABnOwrXgI5NQbadiZeN7udqV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6159-e3c7-593a0d00f761\"}}", - "x-ms-client-request-id" : "0a465046-d910-4587-abfa-94aaf1601819", + "X-Processing-Time" : "97ms", + "MS-CV" : "N2jJy4OSdk2+IVPrGiH4Qw.0", + "X-Azure-Ref" : "059fLYAAAAACOWhojkVemTrFQSCxwoP+0V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-0301-51b9-a43a0d003639\"}}", + "x-ms-client-request-id" : "310a736d-0bb8-4da3-878b-1a03c510239d", "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_0000000a-baeb-6119-e3c7-593a0d00f760/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-0267-edbe-a43a0d004b20/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "d9e3b8d1-c083-46d9-8e4a-71717f98daa7", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:20 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "37ms", - "MS-CV" : "vV0HvgRtSEqlpmFYV6TRfQ.0", - "X-Azure-Ref" : "0nYfLYAAAAAAZwZGPK4PqQLJcZWd8BzUUV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:20.0953077+00:00\"}", - "x-ms-client-request-id" : "8f13f76f-4f9b-4fa2-b435-6c06621128c4", + "X-Processing-Time" : "147ms", + "MS-CV" : "1ylsks/vvEyFP3G+8SFHWQ.0", + "X-Azure-Ref" : "059fLYAAAAADSkdNIrYCESrDOVeFWaRsJV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:16:54.4152801+00:00\"}", + "x-ms-client-request-id" : "d9e3b8d1-c083-46d9-8e4a-71717f98daa7", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "2400ae73-cb4c-4400-9efd-24b59823b81b", + "x-ms-client-request-id" : "abd2831c-cf15-41ed-85e0-6085524f78ef", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:21 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:55 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "682ms", - "MS-CV" : "3GJRBqXhV0SK4Z3UK5Hfvw.0", - "X-Azure-Ref" : "0nYfLYAAAAACoQzviE3P8Q5upUP4mKkS2V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:lw-qbPOk9Dufe2uGvrQujgu0benWXQbiZ2m5rTuy5xk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:21Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6119-e3c7-593a0d00f760\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6119-e3c7-593a0d00f760\"}}}}", + "X-Processing-Time" : "382ms", + "MS-CV" : "HLnLB5Yvn0CJ9bo/Xwa9TA.0", + "X-Azure-Ref" : "059fLYAAAAAC6KKbiFS6gSK3P1tZv/IfrV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:30aORnRkzkenddKp3XPf5AZXfdRNISSy0JO_uoSMeX41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:16:55Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-0267-edbe-a43a0d004b20\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-0267-edbe-a43a0d004b20\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Alw-qbPOk9Dufe2uGvrQujgu0benWXQbiZ2m5rTuy5xk1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A30aORnRkzkenddKp3XPf5AZXfdRNISSy0JO_uoSMeX41@thread.v2" }, "Exception" : null }, { @@ -100,7 +103,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "2386f13a-baf6-46ec-9484-318f05fdf6e5", + "x-ms-client-request-id" : "2d848dab-3431-4a0b-bea5-f7068bfb5362", "Content-Type" : "application/json" }, "Response" : { @@ -109,14 +112,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:22 GMT", + "Date" : "Thu, 17 Jun 2021 23:16:55 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "558ms", - "MS-CV" : "TVLLHARlvkGhN4/FsQbI7g.0", - "X-Azure-Ref" : "0nYfLYAAAAABG+evNGPSDQaHCbRgUSvkRV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:Tg_bqEpQz7GnoTys5kx7S-OXHzxkwFk8RXJrIpSxEHI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:21Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6119-e3c7-593a0d00f760\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-6119-e3c7-593a0d00f760\"}}}}", + "X-Processing-Time" : "731ms", + "MS-CV" : "hZN577u8WkeEufBRvZQ//Q.0", + "X-Azure-Ref" : "059fLYAAAAABXaqQ/WumITJS3OSLoD9zzV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:JgO0j6sZ092_Lr6727P57W2Scw7l21vdUgdz3N_Q1j01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:16:55Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-0267-edbe-a43a0d004b20\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-0267-edbe-a43a0d004b20\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ATg_bqEpQz7GnoTys5kx7S-OXHzxkwFk8RXJrIpSxEHI1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AJgO0j6sZ092_Lr6727P57W2Scw7l21vdUgdz3N_Q1j01@thread.v2" }, "Exception" : null }, { @@ -124,20 +127,20 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7b92a18b-1f93-4bd3-a3c0-f59318f01246" + "x-ms-client-request-id" : "9a0a35ed-53a0-4c55-b693-1e64bd68c9d6" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "133ms", - "MS-CV" : "T/LKxlfKVEWV7meu0Z3KQA.0", + "X-Processing-Time" : "82ms", + "MS-CV" : "AHa14+BMBkqgMKq8wsnOrQ.0", "retry-after" : "0", - "X-Azure-Ref" : "0nofLYAAAAAAItBI+EkD/T44XC8ie5/ivV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "06dfLYAAAAAAYZpEp0N6xS7yFQRMtZL5qV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"id\":\"19:Tg_bqEpQz7GnoTys5kx7S-OXHzxkwFk8RXJrIpSxEHI1@thread.v2\",\"topic\":\"Test\",\"lastMessageReceivedOn\":\"2021-06-17T17:34:22Z\"},{\"id\":\"19:lw-qbPOk9Dufe2uGvrQujgu0benWXQbiZ2m5rTuy5xk1@thread.v2\",\"topic\":\"Test\",\"lastMessageReceivedOn\":\"2021-06-17T17:34:21Z\"}]}", - "Date" : "Thu, 17 Jun 2021 17:34:22 GMT", + "Body" : "{\"value\":[{\"id\":\"19:JgO0j6sZ092_Lr6727P57W2Scw7l21vdUgdz3N_Q1j01@thread.v2\",\"topic\":\"Test\",\"lastMessageReceivedOn\":\"2021-06-17T23:16:56Z\"},{\"id\":\"19:30aORnRkzkenddKp3XPf5AZXfdRNISSy0JO_uoSMeX41@thread.v2\",\"topic\":\"Test\",\"lastMessageReceivedOn\":\"2021-06-17T23:16:55Z\"}]}", + "Date" : "Thu, 17 Jun 2021 23:16:56 GMT", "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 29bbda3eed086..43a0dcb01956a 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "09e6590c-2d2e-4eda-99f1-a9bbf06bdb42", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:17 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:59 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "ZxuIMOfZNkmZ1NlHxMLTyQ.0", - "X-Azure-Ref" : "01ofLYAAAAACTVmwYRqbWTr9npDPpgzO8V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-4196-e3c7-593a0d00f7dd\"}}", - "x-ms-client-request-id" : "2a453366-cf80-44e8-b1ce-70121a15b291", + "X-Processing-Time" : "129ms", + "MS-CV" : "ufPpBQspGkiYAHmUEvEsKQ.0", + "X-Azure-Ref" : "0KNjLYAAAAABjR9BYdYu2SJU0/rZ5aChiV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-00f0-51b9-a43a0d003680\"}}", + "x-ms-client-request-id" : "09e6590c-2d2e-4eda-99f1-a9bbf06bdb42", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "b0f6dfa3-da1a-4179-be5b-b0eb23e1f661", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:18 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "35ms", - "MS-CV" : "mJBydaetwk2VYYLSVfm/dA.0", - "X-Azure-Ref" : "01ofLYAAAAABblIc08GmbS4uU4g20Ruz9V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-41d5-e3c7-593a0d00f7de\"}}", - "x-ms-client-request-id" : "701524ed-2c3b-469a-8b13-8e5563dea096", + "X-Processing-Time" : "119ms", + "MS-CV" : "ehw2LDBIbEKw4g/B0tZpSg.0", + "X-Azure-Ref" : "0KNjLYAAAAAB5c14cb1LTSbLnfF8EH8Z2V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-0191-740a-113a0d00c62d\"}}", + "x-ms-client-request-id" : "b0f6dfa3-da1a-4179-be5b-b0eb23e1f661", "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_0000000a-baec-4196-e3c7-593a0d00f7dd/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-00f0-51b9-a43a0d003680/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "293ffc88-7a88-4017-a029-3c55e8441760", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:17 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "37ms", - "MS-CV" : "j6Y3cm84tUWZG8rCv8LfHg.0", - "X-Azure-Ref" : "01ofLYAAAAADQ/u7D4d2uR6Ot06I1EyQCV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:17.5604164+00:00\"}", - "x-ms-client-request-id" : "02287223-3008-4a95-9ff0-6e9e626425ed", + "X-Processing-Time" : "164ms", + "MS-CV" : "Gg/ZT+TGW0qqW5lwZgAdow.0", + "X-Azure-Ref" : "0KNjLYAAAAADpdrkv66iAS51DWnUgwDDnV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:59.8522614+00:00\"}", + "x-ms-client-request-id" : "293ffc88-7a88-4017-a029-3c55e8441760", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "0621837d-2a40-41ca-92e6-9a0e39646d50", + "x-ms-client-request-id" : "985eef93-bd57-4d07-977e-0ed98eac55ec", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:19 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:01 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "1110ms", - "MS-CV" : "ovKDN7U9PUKCcgKScEg/ig.0", - "X-Azure-Ref" : "01ofLYAAAAAB13mWxjtluT650gFMCC6PTV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:WDwQwuiwfjHJ5oTfWbyqYsckERVZiERnwjop94rWK781@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:18Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-4196-e3c7-593a0d00f7dd\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-4196-e3c7-593a0d00f7dd\"}}}}", + "X-Processing-Time" : "596ms", + "MS-CV" : "jMel+SqgI0O3t+GXE/z0Fw.0", + "X-Azure-Ref" : "0KNjLYAAAAACSqo9IZIKUQLgqCxV7ZF8EV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:rjLhu43Iqzanb4uxBHlSIMjnAGZbKC8iVlDqJUP8pDs1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:00Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-00f0-51b9-a43a0d003680\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-00f0-51b9-a43a0d003680\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AWDwQwuiwfjHJ5oTfWbyqYsckERVZiERnwjop94rWK781@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ArjLhu43Iqzanb4uxBHlSIMjnAGZbKC8iVlDqJUP8pDs1@thread.v2" }, "Exception" : null }, { @@ -100,6 +103,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "aa8eb615-76d6-4698-877d-8f15bec213f5", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +112,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:19 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:01 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "M1UGwpIUt0W385gYPGjcHA.0", - "X-Azure-Ref" : "014fLYAAAAADar9GNdK3xQZsCYdN3lY0TV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-470b-e3c7-593a0d00f7df\"}}", - "x-ms-client-request-id" : "2c41b561-49f5-40b0-adcf-93b67633ef79", + "X-Processing-Time" : "95ms", + "MS-CV" : "pu6IGq4wKEG4Go+Z+13+JA.0", + "X-Azure-Ref" : "0KdjLYAAAAACQg93St18rQIMSvX/JTeFyV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-0671-7f07-113a0d001709\"}}", + "x-ms-client-request-id" : "aa8eb615-76d6-4698-877d-8f15bec213f5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,6 +128,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "83fe1b28-76e5-49ae-99aa-1c981c6624d5", "Content-Type" : "application/json" }, "Response" : { @@ -132,55 +137,55 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:19 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:01 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "34ms", - "MS-CV" : "Ki4SY10jIUyq3gijJMYhGA.0", - "X-Azure-Ref" : "014fLYAAAAABlNbyJLF1zSYrdFHMrDVC9V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-4756-e3c7-593a0d00f7e0\"}}", - "x-ms-client-request-id" : "9c482aa9-f568-47ec-bd4d-09c142c3d717", + "X-Processing-Time" : "97ms", + "MS-CV" : "Aat99wqNZUCA5LgQJqlWYQ.0", + "X-Azure-Ref" : "0KdjLYAAAAAATLys+P16AS7mSRRkULNTQV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-071c-740a-113a0d00c62e\"}}", + "x-ms-client-request-id" : "83fe1b28-76e5-49ae-99aa-1c981c6624d5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:WDwQwuiwfjHJ5oTfWbyqYsckERVZiERnwjop94rWK781@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:rjLhu43Iqzanb4uxBHlSIMjnAGZbKC8iVlDqJUP8pDs1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "55c05b87-0b02-4b24-a36b-6a3d2d6ddc9f", + "x-ms-client-request-id" : "01aabe42-d45a-45a4-9ace-e64612cab4df", "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "324ms", - "MS-CV" : "IqSAi2zR502fz4lI8H1iNQ.0", + "X-Processing-Time" : "178ms", + "MS-CV" : "yISHoCHQUkeUOXIWX9meEw.0", "retry-after" : "0", - "X-Azure-Ref" : "014fLYAAAAAAgGQUeb16cR6A1GfqXeg3VV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0KdjLYAAAAABtv1E3sWO8TaLi9DQDGruIV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:35:19 GMT" + "Date" : "Thu, 17 Jun 2021 23:18:01 GMT" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:WDwQwuiwfjHJ5oTfWbyqYsckERVZiERnwjop94rWK781@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:rjLhu43Iqzanb4uxBHlSIMjnAGZbKC8iVlDqJUP8pDs1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d5fce9f3-2294-445c-8525-ea115b881fee", + "x-ms-client-request-id" : "9f08140f-04dc-4cfc-9184-a949a56e5e62", "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "189ms", - "MS-CV" : "+y4osgweREKsesuy7dtkPg.0", + "X-Processing-Time" : "127ms", + "MS-CV" : "sbB7+BswN0afcHhC25CV7Q.0", "retry-after" : "0", - "X-Azure-Ref" : "02IfLYAAAAAAq6+nVSd67SqvIUbFGYgPpV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0KtjLYAAAAAAadv6NtFrPQahDNBTMwUTQV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:35:20 GMT" + "Date" : "Thu, 17 Jun 2021 23:18:02 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 61c59ff8ac100..e803ca6511e33 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "7174f039-4e02-40f0-934b-7c7d217fcb70", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:47 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:21 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "61ms", - "MS-CV" : "hl6CMxF5xUiskatIlmYzzA.0", - "X-Azure-Ref" : "0t4fLYAAAAADHuKmpbBtET6Yga8TL7+fAV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-c960-e3c7-593a0d00f78f\"}}", - "x-ms-client-request-id" : "ae54c5e2-8b5c-4a2b-8bdb-eb5e2cc8e02b", + "X-Processing-Time" : "95ms", + "MS-CV" : "tWv+RG0Eu0+KS0btp/0GXQ.0", + "X-Azure-Ref" : "0AtjLYAAAAACrtU9Dm6zGRZCNTSXOLq6TV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-6d46-740a-113a0d00c609\"}}", + "x-ms-client-request-id" : "7174f039-4e02-40f0-934b-7c7d217fcb70", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "bfce5f5c-310b-4b5b-881f-c617b0732620", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:47 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:22 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "Hn6yhgMHY02qobO9zY4u1Q.0", - "X-Azure-Ref" : "0t4fLYAAAAABr/7/f9l9VSZvBULDGDSKFV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-c99c-e3c7-593a0d00f790\"}}", - "x-ms-client-request-id" : "cbf502ae-b01c-4a20-bfcb-55e3fe5227a6", + "X-Processing-Time" : "66ms", + "MS-CV" : "OnFSxFS0UUGwcJfye1t9Gg.0", + "X-Azure-Ref" : "0AtjLYAAAAAAOFz8Z8HC5QJXano32EFTnV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-6ddf-51b9-a43a0d003654\"}}", + "x-ms-client-request-id" : "bfce5f5c-310b-4b5b-881f-c617b0732620", "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_0000000a-baeb-c960-e3c7-593a0d00f78f/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-6d46-740a-113a0d00c609/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "956d13f2-2b2c-404c-9dd1-2c69187ebd00", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:47 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:21 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "38ms", - "MS-CV" : "hSOLOvis1EGq4Pq6n3j+xA.0", - "X-Azure-Ref" : "0t4fLYAAAAADl0N8aO+26T61qsLAoAiNaV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:46.7876793+00:00\"}", - "x-ms-client-request-id" : "bb6960b1-a524-4ade-a6dd-c3873418edbb", + "X-Processing-Time" : "158ms", + "MS-CV" : "wQhQtEE9e0KyWiXpPmkI+w.0", + "X-Azure-Ref" : "0AtjLYAAAAADnQzR5wB4YQp6D7DQ1BCzzV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:21.7940099+00:00\"}", + "x-ms-client-request-id" : "956d13f2-2b2c-404c-9dd1-2c69187ebd00", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "a74bdc3c-50a6-4a8b-8742-ce0de9116e7f", + "x-ms-client-request-id" : "b1318d59-cd0a-477d-9fd6-4bc4e675e963", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:48 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:22 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "803ms", - "MS-CV" : "Go8hrxCUJ0y1qeZcGStSCg.0", - "X-Azure-Ref" : "0t4fLYAAAAADgKrNF/qzJTI9xdWN15lmdV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:0srG35nJpganRK9e41ilg0-F7ZA0JiXqRml51jPPTq01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:47Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-c960-e3c7-593a0d00f78f\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-c960-e3c7-593a0d00f78f\"}}}}", + "X-Processing-Time" : "431ms", + "MS-CV" : "4N4s2YKrGEejRt4Gt5Ag9Q.0", + "X-Azure-Ref" : "0AtjLYAAAAAAje25ekf+bRbxZrH3vFyNzV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:2Fgh4KD14AfcUkq5QbGOoVX9eVlG3i8KYffObeJ0xRI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:22Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-6d46-740a-113a0d00c609\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-6d46-740a-113a0d00c609\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0srG35nJpganRK9e41ilg0-F7ZA0JiXqRml51jPPTq01@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A2Fgh4KD14AfcUkq5QbGOoVX9eVlG3i8KYffObeJ0xRI1@thread.v2" }, "Exception" : null }, { @@ -100,6 +103,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "7c325c45-a4c3-455f-b63a-9df8d7a89bbd", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +112,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:48 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:22 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "97ms", - "MS-CV" : "rG6mRIystkieoo6ceC+RBg.0", - "X-Azure-Ref" : "0uIfLYAAAAACzIp1EI4SoRLWMGpLyCcoqV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-cdc6-e3c7-593a0d00f791\"}}", - "x-ms-client-request-id" : "1e78639e-8689-477d-b176-180c5bd5cda4", + "X-Processing-Time" : "94ms", + "MS-CV" : "qrDO2uiXtkyBxst+UMjh1g.0", + "X-Azure-Ref" : "0A9jLYAAAAADvBdPMv/SgTbxLTuszpHTCV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-713a-740a-113a0d00c60a\"}}", + "x-ms-client-request-id" : "7c325c45-a4c3-455f-b63a-9df8d7a89bbd", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,6 +128,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "672c31c7-9bf5-46fe-9966-63b991845827", "Content-Type" : "application/json" }, "Response" : { @@ -132,55 +137,55 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:48 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:23 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "MQNxexU3AU6EDEdmcMCnJg.0", - "X-Azure-Ref" : "0uIfLYAAAAAAM6S8RoW5AR7vpzGoUWYtvV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-ce08-e3c7-593a0d00f793\"}}", - "x-ms-client-request-id" : "d6e1427f-ff3a-4e09-9006-cec32c2a5ef8", + "X-Processing-Time" : "68ms", + "MS-CV" : "/Vt3QWUOREyz+ii8K0E2wQ.0", + "X-Azure-Ref" : "0A9jLYAAAAACjG8nqqlWLTb4D/Acy/c+rV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-71d7-51b9-a43a0d003657\"}}", + "x-ms-client-request-id" : "672c31c7-9bf5-46fe-9966-63b991845827", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:0srG35nJpganRK9e41ilg0-F7ZA0JiXqRml51jPPTq01@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:2Fgh4KD14AfcUkq5QbGOoVX9eVlG3i8KYffObeJ0xRI1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7d507c0c-378d-4b7b-9fcb-abc114ff5fdf", + "x-ms-client-request-id" : "f11914d3-09ed-4b63-8f5f-f8deb1cf4f01", "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "148ms", - "MS-CV" : "nWGlmJRbPU69XA0EOzEVlw.0", + "X-Processing-Time" : "119ms", + "MS-CV" : "DbO/yZLo2EyQw/YC0wsFqw.0", "retry-after" : "0", - "X-Azure-Ref" : "0uIfLYAAAAABoSnkplUGBTZXewmBn4Q0sV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0A9jLYAAAAADUIycGO+oeSbj6vIhd9EKDV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:34:48 GMT" + "Date" : "Thu, 17 Jun 2021 23:17:22 GMT" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:0srG35nJpganRK9e41ilg0-F7ZA0JiXqRml51jPPTq01@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:2Fgh4KD14AfcUkq5QbGOoVX9eVlG3i8KYffObeJ0xRI1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "27d6b05e-40db-48ab-a123-f4b31815b084", + "x-ms-client-request-id" : "f4ccc24c-943b-49d3-abe0-1a5a39feaa4f", "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "164ms", - "MS-CV" : "2TlAxbV50U23sskRbTW35Q.0", + "X-Processing-Time" : "302ms", + "MS-CV" : "jJ0CkPIODkiQPAcdJLCRBA.0", "retry-after" : "0", - "X-Azure-Ref" : "0uYfLYAAAAAAF0lmqR4IQTISAocSWe9SaV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0A9jLYAAAAADeHnR/cBuAS6HZTH+19DQGV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:34:48 GMT" + "Date" : "Thu, 17 Jun 2021 23:17:23 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 c6619442bb958..fc0016d3ad34d 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "293c2bdc-227b-4d5b-8165-1fb4d6a47385", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:50 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:28 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "86ms", - "MS-CV" : "W178uiaJp0CF6X42PWM1zQ.0", - "X-Azure-Ref" : "0u4fLYAAAAAD6Kvgo/2tVRYODfcww6SytV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-d896-e3c7-593a0d00f79a\"}}", - "x-ms-client-request-id" : "eaaf2718-5542-49e2-83f6-294e6e26766c", + "X-Processing-Time" : "97ms", + "MS-CV" : "34igbhb7i0KhjbqFNoBIig.0", + "X-Azure-Ref" : "0CNjLYAAAAABOHsa0rU5FRoixVrsNmVGEV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-8654-51b9-a43a0d00365c\"}}", + "x-ms-client-request-id" : "293c2bdc-227b-4d5b-8165-1fb4d6a47385", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "4ccb1339-a188-48c2-bf40-a24cb674b07b", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:51 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:28 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "56ms", - "MS-CV" : "HfAqPev15EmwuxKmSuxq8A.0", - "X-Azure-Ref" : "0u4fLYAAAAAAyll+hNu2dSL8fvIBPW30iV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-d902-e3c7-593a0d00f79b\"}}", - "x-ms-client-request-id" : "23aabee8-5634-45d3-b07d-99004cd1d04a", + "X-Processing-Time" : "95ms", + "MS-CV" : "09v/s49hjE2yaiSew+l5Sw.0", + "X-Azure-Ref" : "0CNjLYAAAAADXkxAxb8w6RrjRTmSl7G8RV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-86de-740a-113a0d00c610\"}}", + "x-ms-client-request-id" : "4ccb1339-a188-48c2-bf40-a24cb674b07b", "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_0000000a-baeb-d896-e3c7-593a0d00f79a/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-8654-51b9-a43a0d00365c/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "cfd5223d-1a44-4dfa-a0b0-5161798b843f", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:51 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:28 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "40ms", - "MS-CV" : "JOQMrDhhZ0iQHuMuYD5mUQ.0", - "X-Azure-Ref" : "0u4fLYAAAAADwY6KPqdqPR542c4wxDGsxV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:50.7281897+00:00\"}", - "x-ms-client-request-id" : "c3a48912-4087-49ca-be0c-95c0f99f3dd0", + "X-Processing-Time" : "150ms", + "MS-CV" : "5X1rcc63jU6A4RDyxNo8UA.0", + "X-Azure-Ref" : "0CdjLYAAAAABW7pTs3F+iRIslkMt5epipV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:28.2110216+00:00\"}", + "x-ms-client-request-id" : "cfd5223d-1a44-4dfa-a0b0-5161798b843f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8015bc82-877f-4ce5-842a-161e73738391", + "x-ms-client-request-id" : "90bef662-56ee-4e9d-8516-b66334dc2132", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:51 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:28 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "439ms", - "MS-CV" : "mv3MrftrP06+MUOXlElWKA.0", - "X-Azure-Ref" : "0u4fLYAAAAAAZkT0yKunYQpBGp/Iv92drV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:MvqS0MdQwJKgY1X2v_iHbVhM4qzFjxMGaK5ZC4h8yaA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:51Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-d896-e3c7-593a0d00f79a\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-d896-e3c7-593a0d00f79a\"}}}}", + "X-Processing-Time" : "577ms", + "MS-CV" : "an9WfpuYEEaxUC43D1dW/w.0", + "X-Azure-Ref" : "0CdjLYAAAAAC9Vfy9FV2SSJrnKHKqlQVrV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:8L9eidNfXe-LllrLpdz0-3uGJBVOwuTBJdOgOO9W1U41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:29Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-8654-51b9-a43a0d00365c\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-8654-51b9-a43a0d00365c\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AMvqS0MdQwJKgY1X2v_iHbVhM4qzFjxMGaK5ZC4h8yaA1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A8L9eidNfXe-LllrLpdz0-3uGJBVOwuTBJdOgOO9W1U41@thread.v2" }, "Exception" : null }, { @@ -100,6 +103,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "f36c7ab5-ad9c-40c2-8484-d04443d1cbfd", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +112,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:51 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:29 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "35ms", - "MS-CV" : "GaH2wpFHE0uiIlXNEKZZ4w.0", - "X-Azure-Ref" : "0vIfLYAAAAABSQIn769JITKA0a3hbnhL9V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-db66-e3c7-593a0d00f79d\"}}", - "x-ms-client-request-id" : "7bf05730-141e-45e0-aa51-08e0c4df601b", + "X-Processing-Time" : "92ms", + "MS-CV" : "ZNvoTSiYt02NW90E8b66JQ.0", + "X-Azure-Ref" : "0CdjLYAAAAAA8qhVGyfQlR7wg9mghBN5wV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-8ac2-51b9-a43a0d00365f\"}}", + "x-ms-client-request-id" : "f36c7ab5-ad9c-40c2-8484-d04443d1cbfd", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,6 +128,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "29e33ceb-312c-4ee5-9e29-73ae78cb44e5", "Content-Type" : "application/json" }, "Response" : { @@ -132,55 +137,55 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:52 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:29 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "wUPkTjFKqkeTsei17ujhFA.0", - "X-Azure-Ref" : "0vIfLYAAAAACjFpU4jM6RS7iP2h33Pkm1V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-dba9-e3c7-593a0d00f79e\"}}", - "x-ms-client-request-id" : "1ff361da-8992-45eb-87e0-bf3e98230c48", + "X-Processing-Time" : "97ms", + "MS-CV" : "Fql1gG4fQ0Cn5vz08k1pnQ.0", + "X-Azure-Ref" : "0CdjLYAAAAAAkWNJDmDg6SrhTdrCE3mhTV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-8b48-740a-113a0d00c611\"}}", + "x-ms-client-request-id" : "29e33ceb-312c-4ee5-9e29-73ae78cb44e5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:MvqS0MdQwJKgY1X2v_iHbVhM4qzFjxMGaK5ZC4h8yaA1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:8L9eidNfXe-LllrLpdz0-3uGJBVOwuTBJdOgOO9W1U41@thread.v2/participants/:remove?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d2a6aa27-e816-4996-9f84-d1f38206b4e4", + "x-ms-client-request-id" : "25363e29-b3d9-4987-a237-3b4a23e48a2a", "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "233ms", - "MS-CV" : "BaPPLUg6TUCSZ6XTtkJYRw.0", + "X-Processing-Time" : "153ms", + "MS-CV" : "K0vacO3W+02Rd9yFSdQAEg.0", "retry-after" : "0", - "X-Azure-Ref" : "0vIfLYAAAAADqgAd/6KpfS5H0rQ6F69ayV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0CtjLYAAAAACTlDw4ZQ4KRYOYDeriUoeGV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:34:52 GMT" + "Date" : "Thu, 17 Jun 2021 23:17:29 GMT" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:MvqS0MdQwJKgY1X2v_iHbVhM4qzFjxMGaK5ZC4h8yaA1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:8L9eidNfXe-LllrLpdz0-3uGJBVOwuTBJdOgOO9W1U41@thread.v2/participants/:remove?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "ad480f3c-ed87-4718-b3d7-a356afbd14a9", + "x-ms-client-request-id" : "377767de-6d7f-456d-95d5-b280dda3d0cc", "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "111ms", - "MS-CV" : "WuqX32pWYk+kzozeYI5CsQ.0", + "X-Processing-Time" : "206ms", + "MS-CV" : "TUmKY4FzXk2s/fEAtJ35Mg.0", "retry-after" : "0", - "X-Azure-Ref" : "0vIfLYAAAAACYrc+JgObSSYiBHBlidX7NV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0CtjLYAAAAAA9a6ax5BkTRaFGaTvzeSJMV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:34:52 GMT" + "Date" : "Thu, 17 Jun 2021 23:17:29 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 353cfa150e7c4..8c96a0826091b 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "4beb9663-dcce-4b24-9e3e-e37d84dec85e", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:11 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:52 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "SmnhOxQWQ0W3eCyjv3SFrg.0", - "X-Azure-Ref" : "0z4fLYAAAAAD2BKK2q14fQ4i12gxsYXLJV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-2764-e3c7-593a0d00f7d2\"}}", - "x-ms-client-request-id" : "df6f9438-3357-4650-9cd6-50e4fa3c0c9b", + "X-Processing-Time" : "97ms", + "MS-CV" : "TKKqDd+qk0GfzCJ+2slClg.0", + "X-Azure-Ref" : "0IdjLYAAAAAC/0uorLKeASJTeA7na8Wo1V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-e549-51b9-a43a0d00367b\"}}", + "x-ms-client-request-id" : "4beb9663-dcce-4b24-9e3e-e37d84dec85e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "e810b9bf-1f5b-4033-a8de-c6e0b94d8d0b", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:11 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "39ms", - "MS-CV" : "pQOQ28wq2EyW8Qk38qLc+A.0", - "X-Azure-Ref" : "0z4fLYAAAAADeR0NX//eFRrYHZhUr38GuV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-27a4-e3c7-593a0d00f7d3\"}}", - "x-ms-client-request-id" : "3a0a3993-0e21-4657-9e0e-517c1cb122a7", + "X-Processing-Time" : "95ms", + "MS-CV" : "SyH5iQ+kAkicg9MMy4ABVw.0", + "X-Azure-Ref" : "0IdjLYAAAAADJXeQdoVhITJoCdUcMlDWwV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-e5ce-740a-113a0d00c628\"}}", + "x-ms-client-request-id" : "e810b9bf-1f5b-4033-a8de-c6e0b94d8d0b", "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_0000000a-baec-2764-e3c7-593a0d00f7d2/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-e549-51b9-a43a0d00367b/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "16912539-fbed-45c6-b91d-8c34296ae3bd", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:11 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "66ms", - "MS-CV" : "HVUfzCcWrkyIawwnEbS15g.0", - "X-Azure-Ref" : "0z4fLYAAAAADr4o17IKhNRIDz8rsJfBk8V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:10.9116636+00:00\"}", - "x-ms-client-request-id" : "2190ec8e-f3c9-4588-bfe9-ba04f64a004c", + "X-Processing-Time" : "173ms", + "MS-CV" : "cZQxgvORc0yxgp5pqTYZnQ.0", + "X-Azure-Ref" : "0IdjLYAAAAABN2sb22pt7TrZKqqifAupJV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:52.5371799+00:00\"}", + "x-ms-client-request-id" : "16912539-fbed-45c6-b91d-8c34296ae3bd", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "ea02919f-df9c-47a0-9f66-e9a5a46683d6", + "x-ms-client-request-id" : "57af9c13-7c80-4c3e-a052-c3961c496275", "Content-Type" : "application/json" }, "Response" : { @@ -85,35 +88,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:12 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "864ms", - "MS-CV" : "LZxJRqUkGU+5rspxST9Smg.0", - "X-Azure-Ref" : "0z4fLYAAAAAA/bExqZCwrR6WpciCIsRCqV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:ioQXpuqCJBnMH3tJqN38TW7-MbTMZnzsDqzUPiOID5o1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:12Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-2764-e3c7-593a0d00f7d2\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-2764-e3c7-593a0d00f7d2\"}}}}", + "X-Processing-Time" : "583ms", + "MS-CV" : "ogZCLCb4FU2rMBD7TjsHlA.0", + "X-Azure-Ref" : "0IdjLYAAAAADqpujWiWYnR7ZqbbqLg+MjV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:BH2Qr4MSuxGteDOxrphcSyLgnIFkv5wkK9I1cHHA33o1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:53Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-e549-51b9-a43a0d00367b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-e549-51b9-a43a0d00367b\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AioQXpuqCJBnMH3tJqN38TW7-MbTMZnzsDqzUPiOID5o1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ABH2Qr4MSuxGteDOxrphcSyLgnIFkv5wkK9I1cHHA33o1@thread.v2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:ioQXpuqCJBnMH3tJqN38TW7-MbTMZnzsDqzUPiOID5o1@thread.v2/participants?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:BH2Qr4MSuxGteDOxrphcSyLgnIFkv5wkK9I1cHHA33o1@thread.v2/participants?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7e652e20-ac99-492b-bb71-deb4e5f596a8" + "x-ms-client-request-id" : "4291d937-02ee-4622-a8da-4ab7ff5a3bc9" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "247ms", - "MS-CV" : "Kxr3YHVnF0aPpoJ6lV2SYA.0", + "X-Processing-Time" : "132ms", + "MS-CV" : "r1ZyKfkQ2kums0Jc6B93ag.0", "retry-after" : "0", - "X-Azure-Ref" : "00IfLYAAAAAABrYokmJP3T4H/2bPxqKKXV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0ItjLYAAAAADb+Prgk3gmRpTmgIAn9uYLV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-2764-e3c7-593a0d00f7d2\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-2764-e3c7-593a0d00f7d2\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-27a4-e3c7-593a0d00f7d3\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-27a4-e3c7-593a0d00f7d3\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", - "Date" : "Thu, 17 Jun 2021 17:35:12 GMT", + "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-e549-51b9-a43a0d00367b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-e549-51b9-a43a0d00367b\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-e5ce-740a-113a0d00c628\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-e5ce-740a-113a0d00c628\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", + "Date" : "Thu, 17 Jun 2021 23:17:53 GMT", "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 1d0da3f8a9ebd..e4e23bdeba650 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "b0f1a219-7ba0-452d-afaf-421eba995b57", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:41 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:13 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "57ms", - "MS-CV" : "clGozy6T6UicsXHcB0wVnw.0", - "X-Azure-Ref" : "0sYfLYAAAAAAs6Qqh205RQLwm+8ZApW9NV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b2f4-e3c7-593a0d00f781\"}}", - "x-ms-client-request-id" : "422f911a-6d6d-47c1-9ac4-f281b4b4849a", + "X-Processing-Time" : "85ms", + "MS-CV" : "PMNmiQzzJkqcbAdJLFZo4w.0", + "X-Azure-Ref" : "0+tfLYAAAAACcIubsG2maTYFGtw2bONNXV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-4fc0-740a-113a0d00c603\"}}", + "x-ms-client-request-id" : "b0f1a219-7ba0-452d-afaf-421eba995b57", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "c258cd6b-1632-477a-8ec8-a1fa7a188bf3", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:41 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:14 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "6bWn31+efEqiruWzJrkiZw.0", - "X-Azure-Ref" : "0sYfLYAAAAACzIiNVRtHySJKzsfULyXLVV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b330-e3c7-593a0d00f782\"}}", - "x-ms-client-request-id" : "96f8892c-e538-44f3-a115-8a2460f378a0", + "X-Processing-Time" : "98ms", + "MS-CV" : "uX9/TbviU0Cow1d0yitRFg.0", + "X-Azure-Ref" : "0+tfLYAAAAACFupdcywhwTZuIQbv52pQYV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-5077-51b9-a43a0d00364d\"}}", + "x-ms-client-request-id" : "c258cd6b-1632-477a-8ec8-a1fa7a188bf3", "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_0000000a-baeb-b2f4-e3c7-593a0d00f781/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-4fc0-740a-113a0d00c603/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "17b362e1-c234-431d-8f98-ccd0ca463d39", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:41 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:14 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "66ms", - "MS-CV" : "aL53+L3kMUCO7nNA60fuiQ.0", - "X-Azure-Ref" : "0sYfLYAAAAABtsO+wHoUhS4K5fpwvjTxlV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:41.0734238+00:00\"}", - "x-ms-client-request-id" : "e3e0ee63-d2d0-45a9-8dc0-f5d9a5917e18", + "X-Processing-Time" : "169ms", + "MS-CV" : "an9wFPJapU2mbai9xxSGFw.0", + "X-Azure-Ref" : "0+9fLYAAAAADI+pHtGgoRTbH26nxrda2lV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:14.28519+00:00\"}", + "x-ms-client-request-id" : "17b362e1-c234-431d-8f98-ccd0ca463d39", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "1fc910a8-6418-460d-a7b0-480f0e33a799", + "x-ms-client-request-id" : "86122b65-bb73-49eb-9754-d05ba2717762", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:42 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "564ms", - "MS-CV" : "OTLRDovW60+v0DGkgK6PNA.0", - "X-Azure-Ref" : "0sofLYAAAAABM7tib30iPRJHVGwL7yjoVV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:EhO1e6-yajnV0NgNmZ4ARCDJEE8jFyK7MyE6yRwSOtU1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:42Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b2f4-e3c7-593a0d00f781\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b2f4-e3c7-593a0d00f781\"}}}}", + "X-Processing-Time" : "769ms", + "MS-CV" : "wwji4iFEMEqOBIc89EThaA.0", + "X-Azure-Ref" : "0+9fLYAAAAABNxJrjy2gvRZPPUpr1Png0V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:blkfDH6JIlCKrS9LmbgbRwDo3XHIpJsU5YMtaherMOw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:15Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-4fc0-740a-113a0d00c603\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-4fc0-740a-113a0d00c603\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AEhO1e6-yajnV0NgNmZ4ARCDJEE8jFyK7MyE6yRwSOtU1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AblkfDH6JIlCKrS9LmbgbRwDo3XHIpJsU5YMtaherMOw1@thread.v2" }, "Exception" : null }, { @@ -100,6 +103,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "a4c2df6a-16e0-4a73-be28-033e9f7a540c", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +112,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:42 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "FlnBe03S4k68oWEjCGI35g.0", - "X-Azure-Ref" : "0sofLYAAAAAAtbe4RNLkZR68zGYjJz9bXV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b638-e3c7-593a0d00f783\"}}", - "x-ms-client-request-id" : "b7ba9df3-dd1b-46bb-8e63-6e9d3907a771", + "X-Processing-Time" : "95ms", + "MS-CV" : "w0v7hWlWwE2oFz4RrY4vjQ.0", + "X-Azure-Ref" : "0/NfLYAAAAABGsRT8LnzrRZ7epDaAC9eAV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-551c-740a-113a0d00c604\"}}", + "x-ms-client-request-id" : "a4c2df6a-16e0-4a73-be28-033e9f7a540c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,6 +128,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "e17e7322-9a9a-4b44-bdf2-1f332c9a3b72", "Content-Type" : "application/json" }, "Response" : { @@ -132,13 +137,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:42 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "58ms", - "MS-CV" : "xmPhLZncIkGJlGuKbk1ZBg.0", - "X-Azure-Ref" : "0sofLYAAAAADIkRqqy66tQo99yhWtFixXV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b69c-e3c7-593a0d00f784\"}}", - "x-ms-client-request-id" : "5113cca3-91af-4ac9-9654-de9bb07d1b9d", + "X-Processing-Time" : "64ms", + "MS-CV" : "pjicjGu9r0aJ/CswLyDB2A.0", + "X-Azure-Ref" : "0/NfLYAAAAAAiG2uQtT1kQYIuKlGfvcrIV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-55b3-51b9-a43a0d00364e\"}}", + "x-ms-client-request-id" : "e17e7322-9a9a-4b44-bdf2-1f332c9a3b72", "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 2cb4e1a19aa74..53684ef773f3f 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "ea7d299e-f451-429d-b3a3-3ad7631d8491", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:10 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "xgzN88bXbkKhWjukJDrWZg.0", - "X-Azure-Ref" : "0zofLYAAAAADNDDh95epbTIYOLoYwX0OVV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-238f-e3c7-593a0d00f7cb\"}}", - "x-ms-client-request-id" : "f02ea24c-1e5b-468c-9df8-0c4d467e01e6", + "X-Processing-Time" : "95ms", + "MS-CV" : "9W+KijsL3EWRb3jqJ7ENYA.0", + "X-Azure-Ref" : "0H9jLYAAAAACOczngIFkdT50qln4dLmCwV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-e076-740a-113a0d00c626\"}}", + "x-ms-client-request-id" : "ea7d299e-f451-429d-b3a3-3ad7631d8491", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "967d4240-71fc-4c49-aa0b-c0e608cd5e01", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:10 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "vC7k2NKahEunRh8Zzg/VuA.0", - "X-Azure-Ref" : "0zofLYAAAAADIYwmD2T6lR7Bh3pvK5BKYV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-23f0-e3c7-593a0d00f7cc\"}}", - "x-ms-client-request-id" : "c9b1c973-9315-4c59-98d4-d816491496ab", + "X-Processing-Time" : "102ms", + "MS-CV" : "4Rv/uK0wx0OFPRwaGsPQng.0", + "X-Azure-Ref" : "0H9jLYAAAAAA45+5qnlQHSopbOLN035CjV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-e137-51b9-a43a0d00367a\"}}", + "x-ms-client-request-id" : "967d4240-71fc-4c49-aa0b-c0e608cd5e01", "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_0000000a-baec-238f-e3c7-593a0d00f7cb/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-e076-740a-113a0d00c626/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "aaca4004-5ce0-45b2-a9f6-32d82e5710ea", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:10 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:52 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "36ms", - "MS-CV" : "my5dZeos8Ey6Zy2kztQOLQ.0", - "X-Azure-Ref" : "0zofLYAAAAACjFP12RNcQRqy18FpVeF+vV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:09.9082038+00:00\"}", - "x-ms-client-request-id" : "d39bda57-c737-4d1c-9ffe-c43261a69e6d", + "X-Processing-Time" : "165ms", + "MS-CV" : "Y2xN/XvEaEiwU9310J6/TA.0", + "X-Azure-Ref" : "0INjLYAAAAAB06f7kbdhtTbwVwXPMnxGiV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:51.3339039+00:00\"}", + "x-ms-client-request-id" : "aaca4004-5ce0-45b2-a9f6-32d82e5710ea", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c8615e82-b2e5-40f7-9184-aa1079d72751", + "x-ms-client-request-id" : "92058152-1c6a-4507-a8bc-d2c6970bdc27", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:10 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:52 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "620ms", - "MS-CV" : "jIaw+S7a5EeHYmwonS+2eA.0", - "X-Azure-Ref" : "0zofLYAAAAABEz6vEHbKvRKmTHIv5EUqXV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:VYu0ks5gxYJVB8de1f1ZoLMPhw7ynUZnVc7nF7Ij9Z01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:11Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-238f-e3c7-593a0d00f7cb\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-238f-e3c7-593a0d00f7cb\"}}}}", + "X-Processing-Time" : "424ms", + "MS-CV" : "3Ezkk2ZR6kKszWbGXcPRlg.0", + "X-Azure-Ref" : "0INjLYAAAAAD9QNMncQOeS5gketqiWltIV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:PQjCf62z_GF_jeq0G-yo_j0Jttgg9ZFMjFc839n7_NM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:52Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-e076-740a-113a0d00c626\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-e076-740a-113a0d00c626\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AVYu0ks5gxYJVB8de1f1ZoLMPhw7ynUZnVc7nF7Ij9Z01@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3APQjCf62z_GF_jeq0G-yo_j0Jttgg9ZFMjFc839n7_NM1@thread.v2" }, "Exception" : null }, { @@ -100,6 +103,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "df747a6a-17f6-4256-8091-e555795883a6", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +112,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:11 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:52 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "pj7vURHADUm3ZCVqbnMRHQ.0", - "X-Azure-Ref" : "0z4fLYAAAAAAXqlJbBX85TLd1At6kv9N5V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-2704-e3c7-593a0d00f7d1\"}}", - "x-ms-client-request-id" : "5a8c6922-6eb2-40ea-9fe3-3e20cc0f99b5", + "X-Processing-Time" : "95ms", + "MS-CV" : "ELVd70VB90WTIqkW0wL5sA.0", + "X-Azure-Ref" : "0INjLYAAAAADXHi+COX4dTqTnmNgw9BBYV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-e47c-740a-113a0d00c627\"}}", + "x-ms-client-request-id" : "df747a6a-17f6-4256-8091-e555795883a6", "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 78da45b5fa31a..47dfbf918ab3c 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "17d45e84-7cce-4a45-9381-7c3d67cebc0e", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:49 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:23 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "55ms", - "MS-CV" : "Pc5VZCvR8EeOKKBerGVDuQ.0", - "X-Azure-Ref" : "0uYfLYAAAAABsVb4ScaG6S4WlQiminfGkV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-cfe2-e3c7-593a0d00f794\"}}", - "x-ms-client-request-id" : "b004d72e-dbcc-4c0b-b097-67dfc6f5e076", + "X-Processing-Time" : "97ms", + "MS-CV" : "+Z64XvvXl0ani8iWaLY7ig.0", + "X-Azure-Ref" : "0BNjLYAAAAAARSXBLn+1xSIVdfMdw532JV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-744c-740a-113a0d00c60e\"}}", + "x-ms-client-request-id" : "17d45e84-7cce-4a45-9381-7c3d67cebc0e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "5c7dc2d9-ad76-418e-81fc-91520a211788", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:48 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:23 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "+0nptqp2J0au9Z3HziCT1A.0", - "X-Azure-Ref" : "0uYfLYAAAAACBQnIDcl1iQLgWTtcp8uTyV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-d01f-e3c7-593a0d00f795\"}}", - "x-ms-client-request-id" : "1bd50cf3-4f3b-490a-a2b0-c1d8f0eac4de", + "X-Processing-Time" : "70ms", + "MS-CV" : "WycniSruREWOZwOlpmAbMw.0", + "X-Azure-Ref" : "0BNjLYAAAAADvwlaoBWRCSI9uTxrdqc66V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-74ed-51b9-a43a0d003659\"}}", + "x-ms-client-request-id" : "5c7dc2d9-ad76-418e-81fc-91520a211788", "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_0000000a-baeb-cfe2-e3c7-593a0d00f794/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-744c-740a-113a0d00c60e/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "9c60f9c4-b7b4-4e9e-acfd-da75e11192c0", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:49 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:23 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "djm1PDHFd0GNMhx2rToLGw.0", - "X-Azure-Ref" : "0uYfLYAAAAAAHZUeISFopRavxJ0chbMaoV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:48.4402911+00:00\"}", - "x-ms-client-request-id" : "df5cccb5-ce8b-499c-8d83-6f48f703ab20", + "X-Processing-Time" : "167ms", + "MS-CV" : "Z7OcDBbeZE2+wL7FysUVjQ.0", + "X-Azure-Ref" : "0BNjLYAAAAABRdWOFIL/qR632e4csJe+zV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:23.6154109+00:00\"}", + "x-ms-client-request-id" : "9c60f9c4-b7b4-4e9e-acfd-da75e11192c0", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b77aff70-04a6-4277-8c19-64dc0c3f938d", + "x-ms-client-request-id" : "010f70aa-60b9-4609-87f9-445390d86d95", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:49 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:26 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "506ms", - "MS-CV" : "9h+ytTk4I0+cew/kXLS+cg.0", - "X-Azure-Ref" : "0uYfLYAAAAADN55WP4hPkQZrQymcSEFKpV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:jIZ9b8uwhJDyN1yY2JtcEL-5k0MVuj-KwdTLY0GYVaA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:49Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-cfe2-e3c7-593a0d00f794\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-cfe2-e3c7-593a0d00f794\"}}}}", + "X-Processing-Time" : "1907ms", + "MS-CV" : "pBcay+AT+kSD7CvXxMTPeA.0", + "X-Azure-Ref" : "0BNjLYAAAAADY/OcshQWYRZAX5L61s0eFV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:nY1UjG_Q72vwRxbSFmzEb4GeTsoibXI5K9D6QVHhd6M1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:26Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-744c-740a-113a0d00c60e\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-744c-740a-113a0d00c60e\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AjIZ9b8uwhJDyN1yY2JtcEL-5k0MVuj-KwdTLY0GYVaA1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AnY1UjG_Q72vwRxbSFmzEb4GeTsoibXI5K9D6QVHhd6M1@thread.v2" }, "Exception" : null }, { @@ -100,6 +103,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "2900872c-cc11-47fc-9e8f-cb9e2305359f", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +112,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:49 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:25 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "t0fmL4AsfEOGwXDeOFVVRA.0", - "X-Azure-Ref" : "0uofLYAAAAACg18LCV6RkRYEoP3Ydr3MBV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-d2bc-e3c7-593a0d00f796\"}}", - "x-ms-client-request-id" : "8017a5b2-df2d-4675-802f-13e261d45864", + "X-Processing-Time" : "88ms", + "MS-CV" : "W8CERU8e6U2Cn/svDk8kNg.0", + "X-Azure-Ref" : "0BtjLYAAAAAAD37nVz8gRQ4mhfhqofFp2V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-7df8-740a-113a0d00c60f\"}}", + "x-ms-client-request-id" : "2900872c-cc11-47fc-9e8f-cb9e2305359f", "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 864748b571e65..ea816272dfc57 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "98d96a27-7f99-4d0d-b60a-7a68903ef96d", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:49 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:26 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "66ms", - "MS-CV" : "bLhkTdTxREyL7jag3EtkKg.0", - "X-Azure-Ref" : "0uofLYAAAAABXFpY4+HoPSoskf8jlKWVlV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-d35d-e3c7-593a0d00f797\"}}", - "x-ms-client-request-id" : "8d80ea7d-05cb-4242-81f2-e0f132540aec", + "X-Processing-Time" : "71ms", + "MS-CV" : "RurZpFo/6E2sCmcfuFmWCw.0", + "X-Azure-Ref" : "0BtjLYAAAAAAVMhw/4ELGSKbWVsC4TV34V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-7ea2-51b9-a43a0d00365b\"}}", + "x-ms-client-request-id" : "98d96a27-7f99-4d0d-b60a-7a68903ef96d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "805eff80-2a28-4059-91c0-72ba5daae9b9", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:49 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:26 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "6w2LeijJMESMblKrbxAfKg.0", - "X-Azure-Ref" : "0uofLYAAAAAAZTJB7MkYAR5apksfSlwvBV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-d3a3-e3c7-593a0d00f798\"}}", - "x-ms-client-request-id" : "49e34349-7849-46ad-91cc-5f2a95d7502d", + "X-Processing-Time" : "94ms", + "MS-CV" : "+ClSaxC8MUCt3r/U7MZgZA.0", + "X-Azure-Ref" : "0BtjLYAAAAABRru3k4xaiToWkEt6Ke00nV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-7f2e-7f07-113a0d001700\"}}", + "x-ms-client-request-id" : "805eff80-2a28-4059-91c0-72ba5daae9b9", "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_0000000a-baeb-d35d-e3c7-593a0d00f797/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-7ea2-51b9-a43a0d00365b/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "cd7e74fa-f9b6-44f1-add1-12cde79bc0df", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:49 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:26 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "41ms", - "MS-CV" : "j0VFAmmjo0iujizKH8gwzg.0", - "X-Azure-Ref" : "0uofLYAAAAABQX9wfm3fIQ4hzKbvQQsg0V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:49.356289+00:00\"}", - "x-ms-client-request-id" : "faf624fe-0006-4b0b-b6a0-7a6620eb5bcb", + "X-Processing-Time" : "154ms", + "MS-CV" : "ZDxamjtH1ki1uJODYlaDKQ.0", + "X-Azure-Ref" : "0B9jLYAAAAAB2EBd9PrBISqSTgz3Fx/LVV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:26.2479011+00:00\"}", + "x-ms-client-request-id" : "cd7e74fa-f9b6-44f1-add1-12cde79bc0df", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7ce56424-7740-4fb0-8eff-7fc988180356", + "x-ms-client-request-id" : "fa09c1a8-9b19-41b7-9487-14b97e307a02", "Content-Type" : "application/json" }, "Response" : { @@ -85,22 +88,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:50 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:27 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "611ms", - "MS-CV" : "Wg/RvO8Yq0SMBspKRLIQjQ.0", - "X-Azure-Ref" : "0uofLYAAAAAAYMxuMBPAOSouUtZ1HhyfFV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:Lmg5wowvnADDUC7hDvOzgdZ08-wblIa8Ba2M-8Ud8Ds1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:50Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-d35d-e3c7-593a0d00f797\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-d35d-e3c7-593a0d00f797\"}}}}", + "X-Processing-Time" : "762ms", + "MS-CV" : "68BiPy6k/EaedKpwIRVixQ.0", + "X-Azure-Ref" : "0B9jLYAAAAAC+cr69R5GlQbT8U+oEPbqzV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:7dYdqeQO9SVEZHztN6QoIA35euCRo6BbaxVq1A8VDSE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:27Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-7ea2-51b9-a43a0d00365b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-7ea2-51b9-a43a0d00365b\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ALmg5wowvnADDUC7hDvOzgdZ08-wblIa8Ba2M-8Ud8Ds1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A7dYdqeQO9SVEZHztN6QoIA35euCRo6BbaxVq1A8VDSE1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Lmg5wowvnADDUC7hDvOzgdZ08-wblIa8Ba2M-8Ud8Ds1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:7dYdqeQO9SVEZHztN6QoIA35euCRo6BbaxVq1A8VDSE1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c32d2cb8-cc09-4a03-95fb-f1f5e9565625", + "x-ms-client-request-id" : "15ab690c-43a1-4a39-b813-4597d1e05827", "Content-Type" : "application/json" }, "Response" : { @@ -109,33 +112,33 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:50 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:27 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "218ms", - "MS-CV" : "uA6Uw5fm60qknADxbZWMNA.0", - "X-Azure-Ref" : "0u4fLYAAAAADh2gl7crKjT7dx2jPir6avV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1623951291141\"}", + "X-Processing-Time" : "235ms", + "MS-CV" : "YRhMq1CQzEebXX7mxIuJWQ.0", + "X-Azure-Ref" : "0CNjLYAAAAABCrplgJfP+RaJP4Dtd3PynV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623971848174\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ALmg5wowvnADDUC7hDvOzgdZ08-wblIa8Ba2M-8Ud8Ds1@thread.v2/messages/1623951291141" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A7dYdqeQO9SVEZHztN6QoIA35euCRo6BbaxVq1A8VDSE1@thread.v2/messages/1623971848174" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Lmg5wowvnADDUC7hDvOzgdZ08-wblIa8Ba2M-8Ud8Ds1@thread.v2/messages/1623951291141?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:7dYdqeQO9SVEZHztN6QoIA35euCRo6BbaxVq1A8VDSE1@thread.v2/messages/1623971848174?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "afbeb752-cb1b-452e-bf10-c58dd5869bb8" + "x-ms-client-request-id" : "a57a41be-091c-4596-8efd-4894f6817015" }, "Response" : { "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", - "X-Processing-Time" : "145ms", - "MS-CV" : "Zop634vDhUeEUJRaUiLcOQ.0", + "X-Processing-Time" : "339ms", + "MS-CV" : "VqRMNpSwska74+aU3dgE+w.0", "retry-after" : "0", - "X-Azure-Ref" : "0u4fLYAAAAACosbd+BgSPSpkFmHR6jUB3V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0CNjLYAAAAABaYvYlmOOFR5zyHiHLDHKAV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:34:51 GMT" + "Date" : "Thu, 17 Jun 2021 23:17:27 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 3896ce0115185..e174e9bc10e76 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "397c629d-7354-4d52-aaf0-afd9b80be385", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:02 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:43 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "81ms", - "MS-CV" : "4VFvXFfHhk+ibLy3bmg/4w.0", - "X-Azure-Ref" : "0x4fLYAAAAADRjsywv+EIQYsKdPhDF87mV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-05b0-e3c7-593a0d00f7bb\"}}", - "x-ms-client-request-id" : "6fd9f99d-d398-4f2a-a3ce-709330e323c4", + "X-Processing-Time" : "119ms", + "MS-CV" : "7I2cPNZsl0qU8BTAYh05rw.0", + "X-Azure-Ref" : "0F9jLYAAAAADfSuRL3ST3SoTcAe+RT2iVV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-beb5-740a-113a0d00c61f\"}}", + "x-ms-client-request-id" : "397c629d-7354-4d52-aaf0-afd9b80be385", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "f70cf00a-fa45-487c-af4c-209b5251c258", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:02 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:43 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "RtIOzJexkkOc4xc880ChqQ.0", - "X-Azure-Ref" : "0x4fLYAAAAAB5lySIQoReSIubTcrwiMe/V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-060e-e3c7-593a0d00f7bc\"}}", - "x-ms-client-request-id" : "6540e75d-ee57-40de-9b2e-7b49d7db664c", + "X-Processing-Time" : "98ms", + "MS-CV" : "tzwB3+eelEKhiiRs9DtGLA.0", + "X-Azure-Ref" : "0F9jLYAAAAAB+p7bkZ4GdRbzu0CBmh8cIV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-bf74-51b9-a43a0d003671\"}}", + "x-ms-client-request-id" : "f70cf00a-fa45-487c-af4c-209b5251c258", "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_0000000a-baec-05b0-e3c7-593a0d00f7bb/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-beb5-740a-113a0d00c61f/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "33c231f9-120c-41b2-bcc8-059efb9ccfab", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:02 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:43 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "ggSMODeZZ0SkCo7je7I7GA.0", - "X-Azure-Ref" : "0x4fLYAAAAADE50Z+pGdkT4OOeIpWFlWOV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:02.2710186+00:00\"}", - "x-ms-client-request-id" : "0b5ca9b3-bcf2-4613-a6b0-dd7e05f3ca1a", + "X-Processing-Time" : "164ms", + "MS-CV" : "jHnyNT/O1Umm5HEFPrnWSw.0", + "X-Azure-Ref" : "0F9jLYAAAAACoNfeVV5WJQoHwXU4eAH+9V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:42.6917137+00:00\"}", + "x-ms-client-request-id" : "33c231f9-120c-41b2-bcc8-059efb9ccfab", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "34a40f64-abe4-4704-b2d3-26a2e350adb9", + "x-ms-client-request-id" : "a2f7cd0a-19e3-4f56-92a9-03597ce96a6b", "Content-Type" : "application/json" }, "Response" : { @@ -85,22 +88,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:03 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:43 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "523ms", - "MS-CV" : "5GSgKGxQ0UmOftChkoh3ug.0", - "X-Azure-Ref" : "0x4fLYAAAAAArx5xGzmGvSLXL4DcA2JhNV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:NxNmbnhLeGuZoRx0LTnwII4hS9WPcQCQZHElY8t5_Yo1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:03Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-05b0-e3c7-593a0d00f7bb\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-05b0-e3c7-593a0d00f7bb\"}}}}", + "X-Processing-Time" : "362ms", + "MS-CV" : "XmdvpvntrUS+p66dUDDcGg.0", + "X-Azure-Ref" : "0F9jLYAAAAACXyPlPNPqdTr1cyHEHvagJV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:fZDUbD30li2NrSQqQAY0Snf5jn4V4nb9Ku7pEMo54Fc1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:43Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-beb5-740a-113a0d00c61f\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-beb5-740a-113a0d00c61f\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ANxNmbnhLeGuZoRx0LTnwII4hS9WPcQCQZHElY8t5_Yo1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AfZDUbD30li2NrSQqQAY0Snf5jn4V4nb9Ku7pEMo54Fc1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:NxNmbnhLeGuZoRx0LTnwII4hS9WPcQCQZHElY8t5_Yo1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:fZDUbD30li2NrSQqQAY0Snf5jn4V4nb9Ku7pEMo54Fc1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4956a21f-156e-4e70-acf5-57ebd72c899b", + "x-ms-client-request-id" : "a5900b0c-be2d-4c77-ba41-2d9a0caf349d", "Content-Type" : "application/json" }, "Response" : { @@ -109,33 +112,33 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:03 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:44 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "188ms", - "MS-CV" : "7vhASoT0WEea5T3N0tYXJQ.0", - "X-Azure-Ref" : "0x4fLYAAAAAC75jZC0aNYR5ei0QyaiX2EV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1623951303931\"}", + "X-Processing-Time" : "246ms", + "MS-CV" : "cv7WirEhpkK6F+WmejP4pg.0", + "X-Azure-Ref" : "0GNjLYAAAAADrJ3XQnO25RoHNItTecHwmV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623971864235\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ANxNmbnhLeGuZoRx0LTnwII4hS9WPcQCQZHElY8t5_Yo1@thread.v2/messages/1623951303931" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AfZDUbD30li2NrSQqQAY0Snf5jn4V4nb9Ku7pEMo54Fc1@thread.v2/messages/1623971864235" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:NxNmbnhLeGuZoRx0LTnwII4hS9WPcQCQZHElY8t5_Yo1@thread.v2/messages/1623951303931?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:fZDUbD30li2NrSQqQAY0Snf5jn4V4nb9Ku7pEMo54Fc1@thread.v2/messages/1623971864235?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8c26c489-7881-4535-af36-0c06b2004b23" + "x-ms-client-request-id" : "cab15e7a-c5f2-44d3-939b-3b7e81fda0a6" }, "Response" : { "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", - "X-Processing-Time" : "208ms", - "MS-CV" : "Q9IboECofEeG/j3SiRZulQ.0", + "X-Processing-Time" : "142ms", + "MS-CV" : "X0VcPHCA4UGgLxQrjK5tkA.0", "retry-after" : "0", - "X-Azure-Ref" : "0yIfLYAAAAAA+Hr8OApqmQJMKo/9K4Hs0V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0GNjLYAAAAADDob9C2J+pTIBn00GhB82aV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:35:03 GMT" + "Date" : "Thu, 17 Jun 2021 23:17:44 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 ff173fdbbe582..b769476b17cab 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "44b0dc98-1840-42af-980b-10fe95621b1d", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:40 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:12 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "33ms", - "MS-CV" : "XFu+FYMPWUKX9HlZzDFe0Q.0", - "X-Azure-Ref" : "0sYfLYAAAAAA/w0A8z3kwT6UQAIpCAZorV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-afe1-e3c7-593a0d00f77f\"}}", - "x-ms-client-request-id" : "c8bc147e-3e66-46e2-a2ae-7e9a680fd37c", + "X-Processing-Time" : "93ms", + "MS-CV" : "l9ZrBb2jMEOA9e3OKkDOtw.0", + "X-Azure-Ref" : "0+dfLYAAAAAADgTVag/D6QpEegtXAxcYeV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-4b25-740a-113a0d00c602\"}}", + "x-ms-client-request-id" : "44b0dc98-1840-42af-980b-10fe95621b1d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "9e97638e-6ed4-4609-b2af-82e4a5a4f1c3", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:40 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:13 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "33ms", - "MS-CV" : "raoCNEJIekSgOi50eZRamA.0", - "X-Azure-Ref" : "0sYfLYAAAAAC7Mnoey2WtTrrldEnuBWSAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b021-e3c7-593a0d00f780\"}}", - "x-ms-client-request-id" : "0446b2d6-ba10-4776-b44d-2982d02a97f5", + "X-Processing-Time" : "97ms", + "MS-CV" : "5q+6wvSBlEalKWxmax7zhw.0", + "X-Azure-Ref" : "0+dfLYAAAAABeGYrlrE28QYZ1XqxOJBq7V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-4bd9-51b9-a43a0d00364c\"}}", + "x-ms-client-request-id" : "9e97638e-6ed4-4609-b2af-82e4a5a4f1c3", "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_0000000a-baeb-afe1-e3c7-593a0d00f77f/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-4b25-740a-113a0d00c602/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "858af1f9-dd77-451a-bfe8-ba3a14c6d9a3", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:40 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:13 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "34ms", - "MS-CV" : "WQ6I++2dv0WS2r0a14rKtg.0", - "X-Azure-Ref" : "0sYfLYAAAAACu3SxB0z1rSrN264lXq7ihV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:40.2614123+00:00\"}", - "x-ms-client-request-id" : "c43d36aa-ade1-4d5a-aa93-af07f421c954", + "X-Processing-Time" : "191ms", + "MS-CV" : "N2vXotJQYU6vpb0YvL/vtQ.0", + "X-Azure-Ref" : "0+dfLYAAAAACtzAbpz25mTqfETDMnwfJeV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:13.1195247+00:00\"}", + "x-ms-client-request-id" : "858af1f9-dd77-451a-bfe8-ba3a14c6d9a3", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "6d53cf40-6978-4438-848d-98e9eddafcff", + "x-ms-client-request-id" : "0b198804-36e0-4c5a-8be0-2739710dd569", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:41 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:14 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "508ms", - "MS-CV" : "1xiW0BLwSUSwsxCg6hAc6Q.0", - "X-Azure-Ref" : "0sYfLYAAAAACCJEMwP9rwRaIdlgueZUmwV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:RxcjFxj3A5Fn-47F8wNWe3032pnfKLA9hcjOmr1uS7c1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:41Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-afe1-e3c7-593a0d00f77f\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-afe1-e3c7-593a0d00f77f\"}}}}", + "X-Processing-Time" : "568ms", + "MS-CV" : "SbDuHG8hmUe95DhgQ9EZbg.0", + "X-Azure-Ref" : "0+tfLYAAAAAAipf4h7MZBT4q3WYufKzgGV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:VttH3fJ_u4n5Ej3mIxc4PbJ2AEMH147ZuwZcZ0o9uqk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:14Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-4b25-740a-113a0d00c602\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-4b25-740a-113a0d00c602\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ARxcjFxj3A5Fn-47F8wNWe3032pnfKLA9hcjOmr1uS7c1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AVttH3fJ_u4n5Ej3mIxc4PbJ2AEMH147ZuwZcZ0o9uqk1@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 f42bc6057124d..044592cf3a26a 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "2a37d529-63d2-4e98-b6b4-df97b7af2351", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:56 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:36 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "34ms", - "MS-CV" : "iG7RPGcAj0ehHBhlbfpERA.0", - "X-Azure-Ref" : "0wIfLYAAAAACSlrr6fR8aTqQulqQ1DXwzV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-ec8f-e3c7-593a0d00f7ae\"}}", - "x-ms-client-request-id" : "b5d6e84a-4ea1-43e9-9482-895faa1d9e53", + "X-Processing-Time" : "97ms", + "MS-CV" : "Tp+SqWv1VUGsIA9Nak20Hg.0", + "X-Azure-Ref" : "0ENjLYAAAAAD37R7ZQtskQIUt70Z9/06cV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-a317-740a-113a0d00c616\"}}", + "x-ms-client-request-id" : "2a37d529-63d2-4e98-b6b4-df97b7af2351", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "ab24e58e-0bad-457d-89a0-4867da126334", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:56 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:35 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "37ms", - "MS-CV" : "v79j/9Q7/kWGvubct3ql1g.0", - "X-Azure-Ref" : "0wIfLYAAAAADujh2IIKT/TLaAY4hJv1muV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-ecd5-e3c7-593a0d00f7af\"}}", - "x-ms-client-request-id" : "cb986166-21df-480c-9c21-225d23ecbf9f", + "X-Processing-Time" : "94ms", + "MS-CV" : "Y4z6Tfp/9U+aoZoWa0jvxg.0", + "X-Azure-Ref" : "0ENjLYAAAAACetvXD24KOTKm77sKm+nUeV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-a3cd-51b9-a43a0d003666\"}}", + "x-ms-client-request-id" : "ab24e58e-0bad-457d-89a0-4867da126334", "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_0000000a-baeb-ec8f-e3c7-593a0d00f7ae/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-a317-740a-113a0d00c616/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "737b9058-efef-42ff-b2fd-f9922f41c34f", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:56 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:36 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "37ms", - "MS-CV" : "GWbIMDLf1kWj1BTR1LUZdA.0", - "X-Azure-Ref" : "0wIfLYAAAAAB/hmPcm0WMRp/ZP0ojQBIkV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:55.8066185+00:00\"}", - "x-ms-client-request-id" : "17484ff7-edf6-4a05-870f-49cdb52e7495", + "X-Processing-Time" : "170ms", + "MS-CV" : "t+BNLVAZ7E+HwPFApsY4dQ.0", + "X-Azure-Ref" : "0ENjLYAAAAADvCSSOoTDaSZjIWuSLDmTiV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:35.6126062+00:00\"}", + "x-ms-client-request-id" : "737b9058-efef-42ff-b2fd-f9922f41c34f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "57938b3a-55b7-4253-88fb-1b537645ebd0", + "x-ms-client-request-id" : "10098fa1-59da-4fdf-a6ea-b2ead88b77b4", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:56 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:36 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "534ms", - "MS-CV" : "7F+YYIA6cEy05bdqsCHftg.0", - "X-Azure-Ref" : "0wIfLYAAAAABj8qjiCdUhTrAC9rMPUyPWV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:N6vn_Qx32TUzvrTSQWKF8DGrKrdhFDs8wOWdUNP_Irk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:56Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-ec8f-e3c7-593a0d00f7ae\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-ec8f-e3c7-593a0d00f7ae\"}}}}", + "X-Processing-Time" : "503ms", + "MS-CV" : "fAipHvw4PES1NUkApo7GCA.0", + "X-Azure-Ref" : "0ENjLYAAAAACDe0C3gYA/SrnDx0gopMF4V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:4vPLB5vNQnisFZ1sQ1NszCj-jCiWDHRMEmxyVtOw4vU1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:36Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-a317-740a-113a0d00c616\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-a317-740a-113a0d00c616\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AN6vn_Qx32TUzvrTSQWKF8DGrKrdhFDs8wOWdUNP_Irk1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A4vPLB5vNQnisFZ1sQ1NszCj-jCiWDHRMEmxyVtOw4vU1@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 266dc58a67d58..e7c7b2f58e94a 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 @@ -4,7 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "ce5be7e7-40d6-4322-bf5a-4a4d54cb5166" + "x-ms-client-request-id" : "92bfaa53-34af-4cf9-9f77-5c93067151ff" }, "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 06ccede4a7705..92575da8ad8ed 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 @@ -4,7 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/readReceipts?maxPageSize=1&api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e1da5f36-8176-4982-af76-92b77ee4505b" + "x-ms-client-request-id" : "f233816c-42e1-4a39-827b-845d7278481c" }, "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 c877bb6a319fd..773e3a96903bb 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 @@ -4,7 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c80394d3-cc90-472a-bf1b-eedc3acde07d" + "x-ms-client-request-id" : "dc2bc790-0394-4640-91c5-6be2c8be41c8" }, "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 b5b2735340a5e..a9255e4b8c14b 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "4fe4bc82-2404-4845-993e-9173cfa9cd6e", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:55 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:34 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "58ms", - "MS-CV" : "kixv0BiHzUy5F3UwDd2Vcw.0", - "X-Azure-Ref" : "0v4fLYAAAAABDEH5ccw5wQpy0AcvacrteV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e7a4-e3c7-593a0d00f7ac\"}}", - "x-ms-client-request-id" : "72a6e470-91eb-4b31-bc92-28f58861e41c", + "X-Processing-Time" : "93ms", + "MS-CV" : "Be9PevQcLkGWbsDStLhrJA.0", + "X-Azure-Ref" : "0DtjLYAAAAAAeg3kA0jM1T4Ic1p5zU0BEV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-9cb7-740a-113a0d00c615\"}}", + "x-ms-client-request-id" : "4fe4bc82-2404-4845-993e-9173cfa9cd6e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "7cad237e-e495-4912-a325-8136c6ecb92b", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:54 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:34 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "mc06oXyiK0OichY6pA/Ftg.0", - "X-Azure-Ref" : "0v4fLYAAAAAATKHiWYOpRTJvrjbctdX+SV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e824-e3c7-593a0d00f7ad\"}}", - "x-ms-client-request-id" : "f65f3752-87bb-4939-b8b7-76aa35f4d6c6", + "X-Processing-Time" : "72ms", + "MS-CV" : "iROsk7EE2km2jKAfhIF3Gw.0", + "X-Azure-Ref" : "0DtjLYAAAAACXZkO2Tkg4SIGT3hTD9kMdV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-9d54-51b9-a43a0d003664\"}}", + "x-ms-client-request-id" : "7cad237e-e495-4912-a325-8136c6ecb92b", "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_0000000a-baeb-e7a4-e3c7-593a0d00f7ac/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-9cb7-740a-113a0d00c615/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "7d8884a5-b82a-4304-850d-301489aac620", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:55 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:34 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "36ms", - "MS-CV" : "fmARI7yrn0meupV3nhD28Q.0", - "X-Azure-Ref" : "0v4fLYAAAAABPDbOWdqTfRarXFMrmqva7V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:54.5994284+00:00\"}", - "x-ms-client-request-id" : "72ca2408-3a40-4cc5-b88d-2ad2776b7942", + "X-Processing-Time" : "170ms", + "MS-CV" : "Un1a7vM640eOFiqzw1E+Pg.0", + "X-Azure-Ref" : "0DtjLYAAAAAChTH08TL84SK9qJ2Rjoiw/V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:33.9583371+00:00\"}", + "x-ms-client-request-id" : "7d8884a5-b82a-4304-850d-301489aac620", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b0f46693-3ebe-48bc-bd80-5f8fc17a26f9", + "x-ms-client-request-id" : "0fb73224-e25e-47c3-9649-7e391b720b15", "Content-Type" : "application/json" }, "Response" : { @@ -85,22 +88,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:55 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:35 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "495ms", - "MS-CV" : "z2eNLxf/IEa3wPq5zw6wjw.0", - "X-Azure-Ref" : "0v4fLYAAAAACdOD1CgDqwQZLpTI+TGWx3V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:-yvziz7d_2hiLA7LFRjzwyXUCm9ZhAG2s1m0tYH3k1c1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:55Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e7a4-e3c7-593a0d00f7ac\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e7a4-e3c7-593a0d00f7ac\"}}}}", + "X-Processing-Time" : "579ms", + "MS-CV" : "5raYvQMe1UC106O4MxzYzw.0", + "X-Azure-Ref" : "0DtjLYAAAAACHDNu5/QJhSaBDhaLiFK1dV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:tw_bYGvVbvEger_A39F34PucEd09Y_0RUIcTU7ZWebk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:35Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-9cb7-740a-113a0d00c615\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-9cb7-740a-113a0d00c615\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A-yvziz7d_2hiLA7LFRjzwyXUCm9ZhAG2s1m0tYH3k1c1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Atw_bYGvVbvEger_A39F34PucEd09Y_0RUIcTU7ZWebk1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:-yvziz7d_2hiLA7LFRjzwyXUCm9ZhAG2s1m0tYH3k1c1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:tw_bYGvVbvEger_A39F34PucEd09Y_0RUIcTU7ZWebk1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "846729a2-8dd5-4aec-9705-e89e9bf786c8", + "x-ms-client-request-id" : "c873b56e-d4ab-47d4-ac7f-3429a713981f", "Content-Type" : "application/json" }, "Response" : { @@ -109,22 +112,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:56 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:35 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "193ms", - "MS-CV" : "n/ZDqwSvzkqZTVsPO+5u3Q.0", - "X-Azure-Ref" : "0wIfLYAAAAAA8zqhB9oHsT7WHD1EX7fu4V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1623951296267\"}", + "X-Processing-Time" : "210ms", + "MS-CV" : "G3OOrMldYUWAhVE4JVmxXw.0", + "X-Azure-Ref" : "0D9jLYAAAAAD1WbFQYqlRS6JcjORWJ21MV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623971855739\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A-yvziz7d_2hiLA7LFRjzwyXUCm9ZhAG2s1m0tYH3k1c1@thread.v2/messages/1623951296267" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Atw_bYGvVbvEger_A39F34PucEd09Y_0RUIcTU7ZWebk1@thread.v2/messages/1623971855739" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:-yvziz7d_2hiLA7LFRjzwyXUCm9ZhAG2s1m0tYH3k1c1@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:tw_bYGvVbvEger_A39F34PucEd09Y_0RUIcTU7ZWebk1@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d2c57bcf-1f39-4b90-bae7-946520615350", + "x-ms-client-request-id" : "3a8a905e-03ea-4e05-95c9-c9d19445b03b", "Content-Type" : "application/json" }, "Response" : { @@ -132,12 +135,12 @@ "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", - "X-Processing-Time" : "171ms", - "MS-CV" : "zxk32HjCA0yl2sEVzjPc4w.0", + "X-Processing-Time" : "198ms", + "MS-CV" : "ykg9KNDXAkeYDhwhpRnw+A.0", "retry-after" : "0", - "X-Azure-Ref" : "0wIfLYAAAAAANS/PeWSdRSbwxnhIULKx0V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0D9jLYAAAAACp/7aJ4WAcRIaGLem0xjVaV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:56 GMT" + "Date" : "Thu, 17 Jun 2021 23:17:35 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 e65260f03bcb7..1af6da9c0b5c6 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "52af0a96-42f6-4e2b-be29-eaf90c9a4dec", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:45 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:19 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "46ms", - "MS-CV" : "PphBaRFiN0KzGtvzg2zJSQ.0", - "X-Azure-Ref" : "0tofLYAAAAADZZUHlCeo5RZ7idhAriay1V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-c3e8-e3c7-593a0d00f78d\"}}", - "x-ms-client-request-id" : "afa8bd16-0213-4dbb-9564-e025a224aefc", + "X-Processing-Time" : "88ms", + "MS-CV" : "i64WF6Hoz0WJCwj3Qkp1nQ.0", + "X-Azure-Ref" : "0ANjLYAAAAAC7J3k+3l+pRoQHaJe0xpGRV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-6536-740a-113a0d00c608\"}}", + "x-ms-client-request-id" : "52af0a96-42f6-4e2b-be29-eaf90c9a4dec", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "d12ef8b6-0141-4432-a852-db8b30e55a6f", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:45 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:20 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "Rt62D2//IkqlDoU84Qw9Jg.0", - "X-Azure-Ref" : "0tofLYAAAAAAtZP1Ko3VSQpM3poQ7EJw/V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-c43c-e3c7-593a0d00f78e\"}}", - "x-ms-client-request-id" : "6c096eb1-6a0a-45dd-99b2-0412f36e4408", + "X-Processing-Time" : "95ms", + "MS-CV" : "wDo7+YcWmUyM2zC5bAPu/Q.0", + "X-Azure-Ref" : "0ANjLYAAAAABMQPmU+j5cTJ0uMckzVJBfV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-65ef-51b9-a43a0d003652\"}}", + "x-ms-client-request-id" : "d12ef8b6-0141-4432-a852-db8b30e55a6f", "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_0000000a-baeb-c3e8-e3c7-593a0d00f78d/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-6536-740a-113a0d00c608/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "00725670-176a-456a-9aba-7e452687d867", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:46 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:19 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "38ms", - "MS-CV" : "MfTYKGYde0aEgTfZHn8mRQ.0", - "X-Azure-Ref" : "0tofLYAAAAADAQlFFxigCRbz1CrGDaIM5V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:45.4114442+00:00\"}", - "x-ms-client-request-id" : "ec639990-1181-48b0-8450-d64073169a58", + "X-Processing-Time" : "166ms", + "MS-CV" : "jjYgmxeW/0KHsMbOJAfiMA.0", + "X-Azure-Ref" : "0ANjLYAAAAABjJ5MRJQN1RJQ6WEP6CoLnV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:19.7715059+00:00\"}", + "x-ms-client-request-id" : "00725670-176a-456a-9aba-7e452687d867", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "ede58351-e319-43e6-96fc-7dd964132ba1", + "x-ms-client-request-id" : "819e40b4-9b74-4b11-98b0-e6c19e877d8b", "Content-Type" : "application/json" }, "Response" : { @@ -85,22 +88,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:46 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:21 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "527ms", - "MS-CV" : "MY104BWbo0uYC6nxqAafqg.0", - "X-Azure-Ref" : "0tofLYAAAAAAkM6nMHmqYR6vYX6oK02XfV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:afOsnGjCTyeQvbnXUMnKpBKL4NPuvzfZ6n8Tod-DBME1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:46Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-c3e8-e3c7-593a0d00f78d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-c3e8-e3c7-593a0d00f78d\"}}}}", + "X-Processing-Time" : "660ms", + "MS-CV" : "bJMRH/016UWBVPK0n8mVuw.0", + "X-Azure-Ref" : "0ANjLYAAAAABaCVi+4sN4QJr/8gMF/0J7V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:pFbAXch_4DyY6qB3fcyyYfxNpmNFopQfQ4PCiShxnrQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:20Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-6536-740a-113a0d00c608\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-6536-740a-113a0d00c608\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AafOsnGjCTyeQvbnXUMnKpBKL4NPuvzfZ6n8Tod-DBME1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ApFbAXch_4DyY6qB3fcyyYfxNpmNFopQfQ4PCiShxnrQ1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:afOsnGjCTyeQvbnXUMnKpBKL4NPuvzfZ6n8Tod-DBME1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:pFbAXch_4DyY6qB3fcyyYfxNpmNFopQfQ4PCiShxnrQ1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "3c7f8e65-3bba-4163-8498-a8bd5911237f", + "x-ms-client-request-id" : "221031f3-3cac-4b85-bed2-428ad018991d", "Content-Type" : "application/json" }, "Response" : { @@ -109,22 +112,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:46 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:20 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "192ms", - "MS-CV" : "Bat//HkaQkKlDVSQLPIdWA.0", - "X-Azure-Ref" : "0t4fLYAAAAAAQEUWh3gydQ6kMn1W0sEqTV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1623951287094\"}", + "X-Processing-Time" : "201ms", + "MS-CV" : "IbaBmNe6wkyEXJi9mn2BjA.0", + "X-Azure-Ref" : "0AdjLYAAAAACMUM9M+vYjTa8oXCs0owkQV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623971841646\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AafOsnGjCTyeQvbnXUMnKpBKL4NPuvzfZ6n8Tod-DBME1@thread.v2/messages/1623951287094" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ApFbAXch_4DyY6qB3fcyyYfxNpmNFopQfQ4PCiShxnrQ1@thread.v2/messages/1623971841646" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:afOsnGjCTyeQvbnXUMnKpBKL4NPuvzfZ6n8Tod-DBME1@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:pFbAXch_4DyY6qB3fcyyYfxNpmNFopQfQ4PCiShxnrQ1@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "1e4a58e1-cd72-46c3-95dc-f2f3ab5e176d", + "x-ms-client-request-id" : "e0b703d2-8f92-49ee-beec-893fec0a9e7f", "Content-Type" : "application/json" }, "Response" : { @@ -132,12 +135,12 @@ "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", - "X-Processing-Time" : "302ms", - "MS-CV" : "XwAVFG0WL0i//LBZeGRuew.0", + "X-Processing-Time" : "515ms", + "MS-CV" : "SO49BP89okG1FxLPSJPT4Q.0", "retry-after" : "0", - "X-Azure-Ref" : "0t4fLYAAAAAAHga0T5VtMRr6Hr697XRTYV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0AdjLYAAAAACeYKUjozYoTZX+c4aChjcMV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:46 GMT" + "Date" : "Thu, 17 Jun 2021 23:17:21 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 c4811ff10db64..995209dbdfb57 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "776c3ef0-80d6-4fe7-999e-e0963a459631", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:04 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:44 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "57ms", - "MS-CV" : "CUGDTW2J6kOLfzxxsdV9EA.0", - "X-Azure-Ref" : "0yIfLYAAAAADXfHMJ6amRSoEXHZUcuLDJV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-0ad5-e3c7-593a0d00f7bd\"}}", - "x-ms-client-request-id" : "19aba73d-086b-46cb-9b66-ef67ae126422", + "X-Processing-Time" : "119ms", + "MS-CV" : "bVoj2mUX4UGJGZfmpCwT0Q.0", + "X-Azure-Ref" : "0GNjLYAAAAABpBMNDfV0cQINO66Y3fQGMV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-c45b-740a-113a0d00c620\"}}", + "x-ms-client-request-id" : "776c3ef0-80d6-4fe7-999e-e0963a459631", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "17fe5d56-bf9c-4cd8-b29b-2b8304e85929", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:03 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:44 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "33ms", - "MS-CV" : "u4vQY0kDwUy0C/yj9kCN+g.0", - "X-Azure-Ref" : "0yIfLYAAAAADgrtwyULtcQ7T9i3dPFRwAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-0b24-e3c7-593a0d00f7be\"}}", - "x-ms-client-request-id" : "aec2be62-f838-4dc3-a055-243763b9c36e", + "X-Processing-Time" : "95ms", + "MS-CV" : "AgHuG5UEO0Wsvp1C1LGhvw.0", + "X-Azure-Ref" : "0GNjLYAAAAADIq/iAFzKySpac8GsW3NfJV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-c524-51b9-a43a0d003672\"}}", + "x-ms-client-request-id" : "17fe5d56-bf9c-4cd8-b29b-2b8304e85929", "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_0000000a-baec-0ad5-e3c7-593a0d00f7bd/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-c45b-740a-113a0d00c620/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "46a4b30a-eadc-4e2c-8f22-66058775a20e", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:04 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "38ms", - "MS-CV" : "r/qZol4Pw02OHYwwdIm3aQ.0", - "X-Azure-Ref" : "0yIfLYAAAAACCmA+/pCMTSpX18JWK1555V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:03.5724563+00:00\"}", - "x-ms-client-request-id" : "f5fc0e7a-53e0-4159-8d51-7ddb73fa2c3d", + "X-Processing-Time" : "165ms", + "MS-CV" : "M0wpvHkPq0ymAhmOngc69Q.0", + "X-Azure-Ref" : "0GNjLYAAAAAANQPWp0syBRbM8E1FJCyXIV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:44.1415484+00:00\"}", + "x-ms-client-request-id" : "46a4b30a-eadc-4e2c-8f22-66058775a20e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c4eefdba-9649-430d-a921-bf08a313d1f0", + "x-ms-client-request-id" : "4eac884c-fa78-4933-8df5-77bd0ced4969", "Content-Type" : "application/json" }, "Response" : { @@ -85,22 +88,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:04 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "579ms", - "MS-CV" : "vMoSvZhEwk+FnKMu7mC3ag.0", - "X-Azure-Ref" : "0yIfLYAAAAADWA0nCv58mSrOqx/a81t2SV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:MDekBpDftighgrayar5j6YRmhdIf_lt8CPXsmF1oO9M1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:04Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-0ad5-e3c7-593a0d00f7bd\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-0ad5-e3c7-593a0d00f7bd\"}}}}", + "X-Processing-Time" : "542ms", + "MS-CV" : "SRQaFv9+l0KEyqyiKGo3Hw.0", + "X-Azure-Ref" : "0GdjLYAAAAACxfBjy0nPkSIJca+woJdhZV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:Em9mq9tkiuuqY6PYiZEoqbDempmkyTKH8UC4cnFfJFA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:45Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-c45b-740a-113a0d00c620\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-c45b-740a-113a0d00c620\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AMDekBpDftighgrayar5j6YRmhdIf_lt8CPXsmF1oO9M1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AEm9mq9tkiuuqY6PYiZEoqbDempmkyTKH8UC4cnFfJFA1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:MDekBpDftighgrayar5j6YRmhdIf_lt8CPXsmF1oO9M1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Em9mq9tkiuuqY6PYiZEoqbDempmkyTKH8UC4cnFfJFA1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f2c074b8-2123-49d8-b018-b194b51b3c28", + "x-ms-client-request-id" : "a535e570-7bb0-4eb3-b130-b25ee850858f", "Content-Type" : "application/json" }, "Response" : { @@ -109,35 +112,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:05 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "330ms", - "MS-CV" : "2+M+r/cQR0GlIVBbZzM7+w.0", - "X-Azure-Ref" : "0yYfLYAAAAADTBpP+SM3JS6tMfD0dfgBKV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1623951305450\"}", + "X-Processing-Time" : "196ms", + "MS-CV" : "IngwOoTzK0KqvFpSDIdFcQ.0", + "X-Azure-Ref" : "0GdjLYAAAAAD/Txygw+fqSK9HSF13KdBxV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623971865866\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AMDekBpDftighgrayar5j6YRmhdIf_lt8CPXsmF1oO9M1@thread.v2/messages/1623951305450" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AEm9mq9tkiuuqY6PYiZEoqbDempmkyTKH8UC4cnFfJFA1@thread.v2/messages/1623971865866" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:MDekBpDftighgrayar5j6YRmhdIf_lt8CPXsmF1oO9M1@thread.v2/messages/1623951305450?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Em9mq9tkiuuqY6PYiZEoqbDempmkyTKH8UC4cnFfJFA1@thread.v2/messages/1623971865866?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "ebdcecd2-00da-4cd7-b321-a764c65fc071" + "x-ms-client-request-id" : "133cd504-83d9-4766-b76d-6f81681656bb" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "134ms", - "MS-CV" : "Tr7hAgXNCUm0PYWi587EBQ.0", + "X-Processing-Time" : "88ms", + "MS-CV" : "a9VquuOohU2t99lxXpPRjw.0", "retry-after" : "0", - "X-Azure-Ref" : "0yYfLYAAAAABhmnSApd6YRI6m74dcz0WSV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0GdjLYAAAAACWz4vQ2tEVTKOBdphxaNUsV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"1623951305450\",\"type\":\"html\",\"sequenceId\":\"3\",\"version\":\"1623951305450\",\"content\":{\"message\":\"
test
\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T17:35:05Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-0ad5-e3c7-593a0d00f7bd\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-0ad5-e3c7-593a0d00f7bd\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", - "Date" : "Thu, 17 Jun 2021 17:35:05 GMT", + "Body" : "{\"id\":\"1623971865866\",\"type\":\"html\",\"sequenceId\":\"3\",\"version\":\"1623971865866\",\"content\":{\"message\":\"
test
\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T23:17:45Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-c45b-740a-113a0d00c620\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-c45b-740a-113a0d00c620\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", + "Date" : "Thu, 17 Jun 2021 23:17:45 GMT", "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 63b8e978ad785..388d11f87dce9 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "5908880a-d59e-43e5-8f77-734835a0dcbf", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:00 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:40 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "35ms", - "MS-CV" : "GqJGEh4gqU+Or10LTmkYFA.0", - "X-Azure-Ref" : "0xIfLYAAAAAAJSjEx5MzHQZniBe7RRrt1V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-fbf6-e3c7-593a0d00f7b6\"}}", - "x-ms-client-request-id" : "7b9387c6-c355-480b-aea1-7ea64d9edd92", + "X-Processing-Time" : "99ms", + "MS-CV" : "3a2jkEEWXU+nZ6iolWvMww.0", + "X-Azure-Ref" : "0FNjLYAAAAABMyr3YVAFLTaceh4LwsDy/V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-b46a-740a-113a0d00c61c\"}}", + "x-ms-client-request-id" : "5908880a-d59e-43e5-8f77-734835a0dcbf", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "69e4ca5d-c7c2-4c17-9099-f614e540df85", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:00 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:40 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "G4Ui9CI8JkeOXWPy/wibOQ.0", - "X-Azure-Ref" : "0xIfLYAAAAAAx2igl0eaARIWqIxx9twGyV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-fc59-e3c7-593a0d00f7b7\"}}", - "x-ms-client-request-id" : "0c9b9cf3-fff7-452b-b2ab-5e92f4fc15ee", + "X-Processing-Time" : "96ms", + "MS-CV" : "D0L+dKpDJ0yhQzImBa29JQ.0", + "X-Azure-Ref" : "0FNjLYAAAAAARS9YEye2xRp/WZlCOh3JwV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-b521-51b9-a43a0d00366b\"}}", + "x-ms-client-request-id" : "69e4ca5d-c7c2-4c17-9099-f614e540df85", "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_0000000a-baeb-fbf6-e3c7-593a0d00f7b6/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-b46a-740a-113a0d00c61c/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "8e755219-fea6-4b28-b0cb-4e0dd50a62a2", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:00 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:41 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "39ms", - "MS-CV" : "olT6aN/uMU6JkJZbCClwEw.0", - "X-Azure-Ref" : "0xIfLYAAAAAAlJCYQmVlQRaluzbLPS9XzV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:59.7852141+00:00\"}", - "x-ms-client-request-id" : "739094d7-9a6b-4cc4-8c0f-c5597b77bb09", + "X-Processing-Time" : "165ms", + "MS-CV" : "exrqMOdl30ylIiSg9KQc9w.0", + "X-Azure-Ref" : "0FNjLYAAAAACxcMcuGRiOTIWHdWnUaMZuV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:40.0457786+00:00\"}", + "x-ms-client-request-id" : "8e755219-fea6-4b28-b0cb-4e0dd50a62a2", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4d43e4de-e22d-4411-8d5e-1feda62c2949", + "x-ms-client-request-id" : "8edacc90-7edd-42f2-b0ef-949d799930bb", "Content-Type" : "application/json" }, "Response" : { @@ -85,22 +88,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:00 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:41 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "521ms", - "MS-CV" : "9KoOnAPyGE+M/hpx/Jivrw.0", - "X-Azure-Ref" : "0xIfLYAAAAADsMfhLmcDTRqoE4GCx+CYsV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:JiGOaZd6qVTH_i8bTgGgJecSgRPWi0wjTwWZ3bXgXpE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:00Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-fbf6-e3c7-593a0d00f7b6\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-fbf6-e3c7-593a0d00f7b6\"}}}}", + "X-Processing-Time" : "696ms", + "MS-CV" : "HhKvYpmSOEiMfMy3jSZURg.0", + "X-Azure-Ref" : "0FdjLYAAAAADLIzrnS/47TZPpRJ23knYNV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:yZyOFfz_A0ofYzbBrrdiCeRas_dijU2w3ZgGmXn7Vig1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:41Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-b46a-740a-113a0d00c61c\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-b46a-740a-113a0d00c61c\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AJiGOaZd6qVTH_i8bTgGgJecSgRPWi0wjTwWZ3bXgXpE1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AyZyOFfz_A0ofYzbBrrdiCeRas_dijU2w3ZgGmXn7Vig1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:JiGOaZd6qVTH_i8bTgGgJecSgRPWi0wjTwWZ3bXgXpE1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:yZyOFfz_A0ofYzbBrrdiCeRas_dijU2w3ZgGmXn7Vig1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "86714007-fdfa-4d8f-907f-87c627d42fb3", + "x-ms-client-request-id" : "ad5fd035-9de0-42f8-adcf-ccc198556135", "Content-Type" : "application/json" }, "Response" : { @@ -109,35 +112,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:01 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "181ms", - "MS-CV" : "KIUpuc7RPE28+mHAhYog2Q.0", - "X-Azure-Ref" : "0xYfLYAAAAABjOEF/qve8TZDLNA5qcPfPV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1623951301593\"}", + "X-Processing-Time" : "186ms", + "MS-CV" : "lsVxeFdDg0uG9ooUzeACjg.0", + "X-Azure-Ref" : "0FdjLYAAAAAD/iCprNeTtQ6ItbzNHmtoXV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623971861925\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AJiGOaZd6qVTH_i8bTgGgJecSgRPWi0wjTwWZ3bXgXpE1@thread.v2/messages/1623951301593" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AyZyOFfz_A0ofYzbBrrdiCeRas_dijU2w3ZgGmXn7Vig1@thread.v2/messages/1623971861925" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:JiGOaZd6qVTH_i8bTgGgJecSgRPWi0wjTwWZ3bXgXpE1@thread.v2/messages/1623951301593?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:yZyOFfz_A0ofYzbBrrdiCeRas_dijU2w3ZgGmXn7Vig1@thread.v2/messages/1623971861925?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c4a977ac-ee5a-4ab1-a243-a6697858418b" + "x-ms-client-request-id" : "479dd845-09f9-4677-ab32-6e8701c91544" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "111ms", - "MS-CV" : "iaN46PycQkaGAY7/7p7FPA.0", + "X-Processing-Time" : "84ms", + "MS-CV" : "ofLfO18JaUCxwKu3rGQd1A.0", "retry-after" : "0", - "X-Azure-Ref" : "0xYfLYAAAAACOa95f32oySrrzuX17SgzIV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0FtjLYAAAAAA9/UqyGtrWRZV/a5l7+mZnV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"1623951301593\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1623951301593\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T17:35:01Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-fbf6-e3c7-593a0d00f7b6\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-fbf6-e3c7-593a0d00f7b6\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", - "Date" : "Thu, 17 Jun 2021 17:35:01 GMT", + "Body" : "{\"id\":\"1623971861925\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1623971861925\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T23:17:41Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-b46a-740a-113a0d00c61c\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-b46a-740a-113a0d00c61c\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", + "Date" : "Thu, 17 Jun 2021 23:17:41 GMT", "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 1fd608e7de2a6..48c5ce26dbccc 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "94a6b40a-b7e0-4793-ac2f-2b224808319a", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:30 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "65ms", - "MS-CV" : "7wBgeKuD8EOXbF6EzN2L5g.0", - "X-Azure-Ref" : "0p4fLYAAAAABgwiMJnCJVQJyW6nG08mrvV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8a4b-e3c7-593a0d00f76d\"}}", - "x-ms-client-request-id" : "5fe72f20-c43f-49e9-96e3-36b47af8eb65", + "X-Processing-Time" : "72ms", + "MS-CV" : "aGwrpVwboU6SMeHBdCUcpg.0", + "X-Azure-Ref" : "079fLYAAAAADwayE2cqrwS6EtSVR7No1AV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-2257-51b9-a43a0d003641\"}}", + "x-ms-client-request-id" : "94a6b40a-b7e0-4793-ac2f-2b224808319a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "99acd97b-8f96-45d6-b9ab-c30a850fc16e", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:31 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "R+37Atqvy0SOefADrX4Dog.0", - "X-Azure-Ref" : "0p4fLYAAAAABQUoK8ZC0YQ7+qZ+KeCD/8V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8aa7-e3c7-593a0d00f76e\"}}", - "x-ms-client-request-id" : "80a62d2a-d625-45bf-96b1-2e2b1634753b", + "X-Processing-Time" : "206ms", + "MS-CV" : "oWbWLEP5e0m/QiYTpy5rXA.0", + "X-Azure-Ref" : "079fLYAAAAADExUUWzYMARY64MZQjmhCjV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-235a-edbe-a43a0d004b27\"}}", + "x-ms-client-request-id" : "99acd97b-8f96-45d6-b9ab-c30a850fc16e", "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_0000000a-baeb-8a4b-e3c7-593a0d00f76d/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-2257-51b9-a43a0d003641/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "20986d07-f8d9-4652-8ae0-44a93cacb230", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:31 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:03 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "35ms", - "MS-CV" : "4vgCC9kN9kWwg/6XLLtnWA.0", - "X-Azure-Ref" : "0p4fLYAAAAAB4B1xNSuHfQY8llN9Xnta/V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:30.6693042+00:00\"}", - "x-ms-client-request-id" : "c16b3bdc-0256-4921-b2e6-e9f7e3bb1f5d", + "X-Processing-Time" : "172ms", + "MS-CV" : "WMnvMc8SBUG8Yf1/SUhriQ.0", + "X-Azure-Ref" : "079fLYAAAAAC7SrstYjsWQ7ast+AnQQRmV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:02.7255642+00:00\"}", + "x-ms-client-request-id" : "20986d07-f8d9-4652-8ae0-44a93cacb230", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "3059e6b8-75c0-4d63-81d9-e26e493329f7", + "x-ms-client-request-id" : "c92a5632-2b9b-474d-a3a2-06afb583f5c5", "Content-Type" : "application/json" }, "Response" : { @@ -85,22 +88,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:31 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:03 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "432ms", - "MS-CV" : "bVqUw0tikUCcLYSJDHBdgQ.0", - "X-Azure-Ref" : "0p4fLYAAAAADvIZqxTSccQZcPSsTxTuHmV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:KO8FO_ApBzzEy1iTpd9gemqiOUcmJgGOzB2BlQeOHac1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:31Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8a4b-e3c7-593a0d00f76d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8a4b-e3c7-593a0d00f76d\"}}}}", + "X-Processing-Time" : "431ms", + "MS-CV" : "53o4kVMFhEG2xJed/r9JBg.0", + "X-Azure-Ref" : "079fLYAAAAABwI3uXUq2zTJoUzYi6Z9s7V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:ESlOcxc40Nh9UuqYsUerH-46oZVB1i4hSFcI_3LWO_c1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:03Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-2257-51b9-a43a0d003641\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-2257-51b9-a43a0d003641\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AKO8FO_ApBzzEy1iTpd9gemqiOUcmJgGOzB2BlQeOHac1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AESlOcxc40Nh9UuqYsUerH-46oZVB1i4hSFcI_3LWO_c1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:KO8FO_ApBzzEy1iTpd9gemqiOUcmJgGOzB2BlQeOHac1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:ESlOcxc40Nh9UuqYsUerH-46oZVB1i4hSFcI_3LWO_c1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b175f28d-1308-42d5-a9df-88166ce56cbf", + "x-ms-client-request-id" : "6dcd058f-53fa-47bf-8afd-e9f7c5bdd32b", "Content-Type" : "application/json" }, "Response" : { @@ -109,35 +112,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:31 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "224ms", - "MS-CV" : "8PZ8pggcGUiXlZu+PE1XIw.0", - "X-Azure-Ref" : "0qIfLYAAAAABecxmHj6rbRIX3aaBQzgTyV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1623951272284\"}", + "X-Processing-Time" : "217ms", + "MS-CV" : "CMqWemalnEefDSUNcGxS0w.0", + "X-Azure-Ref" : "08NfLYAAAAABS8eH5rHteR62YGtR0IXbbV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623971824303\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AKO8FO_ApBzzEy1iTpd9gemqiOUcmJgGOzB2BlQeOHac1@thread.v2/messages/1623951272284" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AESlOcxc40Nh9UuqYsUerH-46oZVB1i4hSFcI_3LWO_c1@thread.v2/messages/1623971824303" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:KO8FO_ApBzzEy1iTpd9gemqiOUcmJgGOzB2BlQeOHac1@thread.v2/messages/1623951272284?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:ESlOcxc40Nh9UuqYsUerH-46oZVB1i4hSFcI_3LWO_c1@thread.v2/messages/1623971824303?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "98c11a52-d9ee-4246-a965-3a84706c5c66" + "x-ms-client-request-id" : "d8e2c602-85ae-47ab-8efb-e230081b1daf" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "86ms", - "MS-CV" : "8j8L7OEIu06/K/HJd24Aug.0", + "X-Processing-Time" : "96ms", + "MS-CV" : "xKjLe/y+FkigKqlmu4MqLw.0", "retry-after" : "0", - "X-Azure-Ref" : "0qIfLYAAAAAC1x2G0bFAFSqaB1nBxXsD2V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "08NfLYAAAAAADCfgFylG4QpRt38ewI2pvV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"1623951272284\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1623951272284\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T17:34:32Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8a4b-e3c7-593a0d00f76d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8a4b-e3c7-593a0d00f76d\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", - "Date" : "Thu, 17 Jun 2021 17:34:32 GMT", + "Body" : "{\"id\":\"1623971824303\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1623971824303\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T23:17:04Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-2257-51b9-a43a0d003641\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-2257-51b9-a43a0d003641\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", + "Date" : "Thu, 17 Jun 2021 23:17:03 GMT", "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 53db324955e8d..874d4147a5c96 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "f98aa589-5c1b-4c3c-8623-f4416c0b2d44", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:06 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:47 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "BZ+x6InB+kqH6O/UL60zbQ.0", - "X-Azure-Ref" : "0yofLYAAAAADiGHl03Z6fQL3JJThbANcfV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-13fa-e3c7-593a0d00f7c2\"}}", - "x-ms-client-request-id" : "1baa9f37-7b67-49cf-ac56-d84b69ac0ae9", + "X-Processing-Time" : "97ms", + "MS-CV" : "378q0D1ae0CZReZwaLY8ig.0", + "X-Azure-Ref" : "0G9jLYAAAAAAP8s15PyMrSJAdU3SDRz8wV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-ce13-740a-113a0d00c622\"}}", + "x-ms-client-request-id" : "f98aa589-5c1b-4c3c-8623-f4416c0b2d44", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "8f36bf38-c615-40e2-9cf2-b9ab357bc289", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:06 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:46 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "opUjZ42zTUSWirL0DDOhlg.0", - "X-Azure-Ref" : "0yofLYAAAAAAZtal7fjt8SrYhE5XD5Qa+V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-1436-e3c7-593a0d00f7c3\"}}", - "x-ms-client-request-id" : "fd0e6d16-98ed-4b94-8d27-db39de9c410c", + "X-Processing-Time" : "89ms", + "MS-CV" : "xo2TmGtiyUe23NK1IYbwvg.0", + "X-Azure-Ref" : "0G9jLYAAAAADKqS50BFyqSaaXsAWptribV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-cec4-51b9-a43a0d003674\"}}", + "x-ms-client-request-id" : "8f36bf38-c615-40e2-9cf2-b9ab357bc289", "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_0000000a-baec-13fa-e3c7-593a0d00f7c2/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-ce13-740a-113a0d00c622/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "3ad30b58-5527-4877-ba0f-4f1a79d110b3", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:06 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:47 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "37ms", - "MS-CV" : "WFXXSsgOB02KSFswJdJtLQ.0", - "X-Azure-Ref" : "0yofLYAAAAAAzVVXTbMOaQJtPyzpvqcEgV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:05.8825695+00:00\"}", - "x-ms-client-request-id" : "73098b43-a5d1-42e6-87a7-9a6c079e331f", + "X-Processing-Time" : "167ms", + "MS-CV" : "vM8rKOOQZkyIyFZKOB9pfQ.0", + "X-Azure-Ref" : "0G9jLYAAAAADueGc6HPwpQpRb1xg3TM4UV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:46.6124224+00:00\"}", + "x-ms-client-request-id" : "3ad30b58-5527-4877-ba0f-4f1a79d110b3", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c95dac94-827f-4257-b9da-fd7d5d859f40", + "x-ms-client-request-id" : "def5bed9-51df-400c-999f-1b862ac00373", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:06 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:47 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "532ms", - "MS-CV" : "KyXJnfCwy0qxBcI25XhEPA.0", - "X-Azure-Ref" : "0yofLYAAAAABxpCuX1LypRpRhelYZV7oHV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:JJ300x455JMaMmJ1phVw3K5GO4UYsUlL9Qbv6Qkj2kk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:06Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-13fa-e3c7-593a0d00f7c2\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-13fa-e3c7-593a0d00f7c2\"}}}}", + "X-Processing-Time" : "344ms", + "MS-CV" : "prZcd6nkNU+xpuyWfLdybQ.0", + "X-Azure-Ref" : "0G9jLYAAAAACIC74OLwMGQrCduVzj1nHHV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:hsOqQWhPQo48GE7h2T401I0-0PS016YKcU7Q14zppws1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:47Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-ce13-740a-113a0d00c622\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-ce13-740a-113a0d00c622\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AJJ300x455JMaMmJ1phVw3K5GO4UYsUlL9Qbv6Qkj2kk1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AhsOqQWhPQo48GE7h2T401I0-0PS016YKcU7Q14zppws1@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 05f8c334551c8..772554d03e686 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "55590618-9392-46ac-a7be-8f170ba90b44", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:33 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:06 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "aPmJgsgi/0qwFcOzXJbpJg.0", - "X-Azure-Ref" : "0qofLYAAAAAC021Hi+hPIQpOkgKNsXy1tV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-9516-e3c7-593a0d00f773\"}}", - "x-ms-client-request-id" : "14c4bfc8-2ba7-4888-962d-fa8c6363a174", + "X-Processing-Time" : "96ms", + "MS-CV" : "aiA7i3hMWEm8OnvPRyO4UA.0", + "X-Azure-Ref" : "08tfLYAAAAABaIE7+T4cFS6wEZ9gBAo05V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-316a-51b9-a43a0d003645\"}}", + "x-ms-client-request-id" : "55590618-9392-46ac-a7be-8f170ba90b44", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "597c562a-11a3-49ce-8308-8869699f8ef2", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:34 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:06 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "33ms", - "MS-CV" : "pY3RgN4mpE6fOzvpTEHrsw.0", - "X-Azure-Ref" : "0qofLYAAAAACOXAJ7jjdeT67dkLwYAC/GV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-9559-e3c7-593a0d00f774\"}}", - "x-ms-client-request-id" : "a009d6e8-aa0e-4482-851d-c9c1a0c9a6f2", + "X-Processing-Time" : "73ms", + "MS-CV" : "OgZaAnQkwEia8ZSDnRDEyw.0", + "X-Azure-Ref" : "089fLYAAAAADNBXvZl8COSIcCDJa12xjNV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-31e6-edbe-a43a0d004b2a\"}}", + "x-ms-client-request-id" : "597c562a-11a3-49ce-8308-8869699f8ef2", "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_0000000a-baeb-9516-e3c7-593a0d00f773/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-316a-51b9-a43a0d003645/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "4a09918c-0434-4103-a41e-54a4c180d6b7", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:33 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:07 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "37ms", - "MS-CV" : "e1wG5F3ThkqiLCDzj6mvgw.0", - "X-Azure-Ref" : "0qofLYAAAAADZwhilvlHaRprdFJqjktdxV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:33.5354527+00:00\"}", - "x-ms-client-request-id" : "c91d1653-3528-4717-86c7-6f483a575421", + "X-Processing-Time" : "176ms", + "MS-CV" : "oryYKBynAUCRaBjgp4K3KA.0", + "X-Azure-Ref" : "089fLYAAAAABptzlOI83RT5OSZwFJ2zC2V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:06.4509961+00:00\"}", + "x-ms-client-request-id" : "4a09918c-0434-4103-a41e-54a4c180d6b7", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f669acab-e8e4-4ef4-bdff-9283b055cae1", + "x-ms-client-request-id" : "1c65c608-4963-4617-b34e-c85829bb394e", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:35 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:07 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "512ms", - "MS-CV" : "o367optmFESJX+7znLkaPg.0", - "X-Azure-Ref" : "0qofLYAAAAAAw2sL24LRNT6cPwsPKshHiV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:gIc-qVg94N5t1ioNXlhl3W_xehsziAoJWdvFyZG65kk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:34Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-9516-e3c7-593a0d00f773\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-9516-e3c7-593a0d00f773\"}}}}", + "X-Processing-Time" : "558ms", + "MS-CV" : "jF6suKM+902uZtUods8uHQ.0", + "X-Azure-Ref" : "089fLYAAAAACylVvN5d+7T58OX6OR+3BhV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:B-0sybM9finfUHvv8FKdidEOA822__CZ7JIuRVFva8E1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:07Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-316a-51b9-a43a0d003645\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-316a-51b9-a43a0d003645\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AgIc-qVg94N5t1ioNXlhl3W_xehsziAoJWdvFyZG65kk1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AB-0sybM9finfUHvv8FKdidEOA822__CZ7JIuRVFva8E1@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 906124c2fba6b..60461edc7048f 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "395b92f4-1b08-4256-b0bb-5ea260e04a9c", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:57 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:37 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "37ms", - "MS-CV" : "QF5SJhLPn0a+0TA9qolv+g.0", - "X-Azure-Ref" : "0wYfLYAAAAADJEErUOAkgSpePuyC63TNnV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f0d1-e3c7-593a0d00f7b0\"}}", - "x-ms-client-request-id" : "2845ee1f-cdc6-4f59-9064-f996ee7ce01f", + "X-Processing-Time" : "99ms", + "MS-CV" : "3ldBWwX850KoliIWp7P0ag.0", + "X-Azure-Ref" : "0EdjLYAAAAACdRTMu+wOoS7VUNMN49+PYV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-a76d-740a-113a0d00c617\"}}", + "x-ms-client-request-id" : "395b92f4-1b08-4256-b0bb-5ea260e04a9c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "1d07ff8e-0484-4181-aae2-c1348547ab9c", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:57 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:37 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "uVQcwxAAuE+6sqPWC+01zA.0", - "X-Azure-Ref" : "0wYfLYAAAAAA8mhxciC8AR5iT8bCJgtJNV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f114-e3c7-593a0d00f7b1\"}}", - "x-ms-client-request-id" : "391a0f5f-e40b-4e38-ba6f-2eacf9d37ce0", + "X-Processing-Time" : "95ms", + "MS-CV" : "YH8Uo9D+sECyvrd39mXLCQ.0", + "X-Azure-Ref" : "0EdjLYAAAAAAgD2hJcfzSSoahV/BDBRZZV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-a826-51b9-a43a0d003667\"}}", + "x-ms-client-request-id" : "1d07ff8e-0484-4181-aae2-c1348547ab9c", "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_0000000a-baeb-f0d1-e3c7-593a0d00f7b0/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-a76d-740a-113a0d00c617/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "bf7e593e-b415-40cd-b23e-6e0aabc85dec", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:57 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:37 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "39ms", - "MS-CV" : "hhEnsIrsBEuuTeT9H2mWSw.0", - "X-Azure-Ref" : "0wYfLYAAAAABL/n3nc5uSRpJ9ZQ/y8eUlV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:56.8910723+00:00\"}", - "x-ms-client-request-id" : "0f4956f6-a52e-49bb-b250-67815ecf220e", + "X-Processing-Time" : "171ms", + "MS-CV" : "ucJA4RCJ40eki0fQh3lBSg.0", + "X-Azure-Ref" : "0EdjLYAAAAACqWj4wePtvTY6DeDrUgL/HV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:36.726807+00:00\"}", + "x-ms-client-request-id" : "bf7e593e-b415-40cd-b23e-6e0aabc85dec", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "2ee79cb0-ab6e-41e4-8375-b05948d8a46e", + "x-ms-client-request-id" : "eb34a110-4038-4843-9c50-1f47c246dfb2", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:57 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:38 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "550ms", - "MS-CV" : "w3AvtE/og0mKk9+8lGPADg.0", - "X-Azure-Ref" : "0wYfLYAAAAACs2tZ16MtVR7U+6x3xCPwDV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:ZRhRgiRZkECfUi3Y6TMN7qKfCBx1bhi3qYKS8q-TUeM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:58Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f0d1-e3c7-593a0d00f7b0\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f0d1-e3c7-593a0d00f7b0\"}}}}", + "X-Processing-Time" : "703ms", + "MS-CV" : "1kwPlZBSukOJ7LaqRe5Vvw.0", + "X-Azure-Ref" : "0EdjLYAAAAABSv11tzGCRRbXrCHHpFymjV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:GJ9hCB73EXnPMRWUHD4ti5opLaIRgm3i-LRX8at0kxc1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:38Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-a76d-740a-113a0d00c617\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-a76d-740a-113a0d00c617\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AZRhRgiRZkECfUi3Y6TMN7qKfCBx1bhi3qYKS8q-TUeM1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AGJ9hCB73EXnPMRWUHD4ti5opLaIRgm3i-LRX8at0kxc1@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendTypingNotificationWithOptions[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendTypingNotificationWithOptions[1].json index 1ccdad6f03629..ef22e3c62c269 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendTypingNotificationWithOptions[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendTypingNotificationWithOptions[1].json @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "48466981-d13b-4a7b-906a-e4c477edabd8", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:36 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:09 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "prRMdp2/VUOqMzqVlGWfcw.0", - "X-Azure-Ref" : "0rYfLYAAAAAATQI/cTtQFR4fBIdsWEoeeV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-a02d-e3c7-593a0d00f777\"}}", - "x-ms-client-request-id" : "f4856db7-f00a-49a3-8d91-130eed410083", + "X-Processing-Time" : "94ms", + "MS-CV" : "Gqa6JMTOikCZp+m5z4/6eA.0", + "X-Azure-Ref" : "09dfLYAAAAABF6sFXTfEJTY+TatgeGWMKV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-3bef-51b9-a43a0d003647\"}}", + "x-ms-client-request-id" : "48466981-d13b-4a7b-906a-e4c477edabd8", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "7641c0a4-5285-4a3c-964d-0e185d946889", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:36 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:09 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "56ms", - "MS-CV" : "foTbUlszyUmu1De8bIojFA.0", - "X-Azure-Ref" : "0rYfLYAAAAAClzZ79TUwjQKu7ztIoAzDyV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-a08a-e3c7-593a0d00f778\"}}", - "x-ms-client-request-id" : "c8a3266b-4b07-46ff-b3d8-79d18bd42579", + "X-Processing-Time" : "133ms", + "MS-CV" : "UejRC8TBNE6Avzx32fLmpA.0", + "X-Azure-Ref" : "09dfLYAAAAAC1CVHBFW5JTp4gHRT5CbTqV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-3c98-740a-113a0d00c5fe\"}}", + "x-ms-client-request-id" : "7641c0a4-5285-4a3c-964d-0e185d946889", "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_0000000a-baeb-a02d-e3c7-593a0d00f777/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-3bef-51b9-a43a0d003647/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "6326b4e8-e952-4559-9101-615ced813438", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:37 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:09 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "kbL+juPjIkOS2f6abkG8Bw.0", - "X-Azure-Ref" : "0rYfLYAAAAADsDWg3wiAxTJoO18S+RSb2V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:36.5992946+00:00\"}", - "x-ms-client-request-id" : "f814f840-1990-4490-9e7f-a41b3e4d673d", + "X-Processing-Time" : "172ms", + "MS-CV" : "yvw5BxKmBEODPhtkxDwpIQ.0", + "X-Azure-Ref" : "09tfLYAAAAABFOHOo/RsMQYsCJTC80b9JV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:09.2273949+00:00\"}", + "x-ms-client-request-id" : "6326b4e8-e952-4559-9101-615ced813438", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "0d4a8dd4-a3e3-43ce-9fa6-51890b16c19b", + "x-ms-client-request-id" : "bdd1d2fe-6bc9-4c76-8ee5-1c6f75be7fa0", "Content-Type" : "application/json" }, "Response" : { @@ -85,22 +88,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:38 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:09 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "458ms", - "MS-CV" : "bIxSRb5lT0yBy4axbXylNg.0", - "X-Azure-Ref" : "0rofLYAAAAADXqoVOgwXeS46n8GrKu9SbV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:nTA36cV6OUUuG-O50wuPZWscya5E3e0u9Uh5LlxW4Vk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:38Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-a02d-e3c7-593a0d00f777\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-a02d-e3c7-593a0d00f777\"}}}}", + "X-Processing-Time" : "564ms", + "MS-CV" : "enwRW8nWZEuny6FfIXxtDw.0", + "X-Azure-Ref" : "09tfLYAAAAAAwhU2Nvnx6TpAB/1XNH2enV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:DZyiLp5eCZ18eAe5nPSPlQ-oDJl3qETE4QVL5XyO4wc1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:10Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-3bef-51b9-a43a0d003647\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-3bef-51b9-a43a0d003647\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AnTA36cV6OUUuG-O50wuPZWscya5E3e0u9Uh5LlxW4Vk1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ADZyiLp5eCZ18eAe5nPSPlQ-oDJl3qETE4QVL5XyO4wc1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:nTA36cV6OUUuG-O50wuPZWscya5E3e0u9Uh5LlxW4Vk1@thread.v2/typing?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:DZyiLp5eCZ18eAe5nPSPlQ-oDJl3qETE4QVL5XyO4wc1@thread.v2/typing?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "06184ff5-1315-4da1-ae67-a5f481b237af", + "x-ms-client-request-id" : "93a79d0a-9f18-45f7-a59b-9bb1530df544", "Content-Type" : "application/json" }, "Response" : { @@ -108,12 +111,12 @@ "content-length" : "0", "Strict-Transport-Security" : "max-age=2592000", "api-supported-versions" : "2021-04-05-preview6", - "X-Processing-Time" : "229ms", - "MS-CV" : "u95ndUZHZkC3KFbcZyvmDQ.0", + "X-Processing-Time" : "227ms", + "MS-CV" : "IApAU3ym6EmWKWNapqwppQ.0", "retry-after" : "0", - "X-Azure-Ref" : "0r4fLYAAAAADkJnKQHfJcQ4obnbQBtlKEV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "09tfLYAAAAADvkC8YdHLcRI/9LRUbp9aFV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:38 GMT" + "Date" : "Thu, 17 Jun 2021 23:17:10 GMT" }, "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 677ddd6f00cc9..b6e3258344733 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "f258adbc-ba40-401a-b62b-16cdbbe6d548", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:07 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "33ms", - "MS-CV" : "6cWoOl7n7UaRHY6VQax5DQ.0", - "X-Azure-Ref" : "0y4fLYAAAAAAoeWjcmoUYQpNCL2LwoY6PV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-1720-e3c7-593a0d00f7c4\"}}", - "x-ms-client-request-id" : "c0f31e17-3e71-4d41-9a9d-d7c0c329cd28", + "X-Processing-Time" : "96ms", + "MS-CV" : "B6ABuC63ak2Agqlfg8/gvw.0", + "X-Azure-Ref" : "0HNjLYAAAAADzB7bzZuEASqch0cpB892BV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-d1c5-740a-113a0d00c623\"}}", + "x-ms-client-request-id" : "f258adbc-ba40-401a-b62b-16cdbbe6d548", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "b26a0937-41f8-4318-80a0-e09ca13fc1f7", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:07 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:47 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "68ms", - "MS-CV" : "35e0ThvWqUuUOjwvxTsg4Q.0", - "X-Azure-Ref" : "0y4fLYAAAAAClxTmO8TYoQpSt4BAJujUjV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-17b8-e3c7-593a0d00f7c5\"}}", - "x-ms-client-request-id" : "cbbd24d9-9abb-4784-a912-7deb1841e64c", + "X-Processing-Time" : "96ms", + "MS-CV" : "ujUNhqlgBkaO99Sb5+mBoQ.0", + "X-Azure-Ref" : "0HNjLYAAAAACB+Q5jQR5lRp+qJqFkHVOxV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-d27f-51b9-a43a0d003675\"}}", + "x-ms-client-request-id" : "b26a0937-41f8-4318-80a0-e09ca13fc1f7", "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_0000000a-baec-1720-e3c7-593a0d00f7c4/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-d1c5-740a-113a0d00c623/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "995001c1-b5a7-4832-b387-42a0e0660368", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:07 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "38ms", - "MS-CV" : "TeIO1wwKF0+Ah9AGz4LWHA.0", - "X-Azure-Ref" : "0y4fLYAAAAABYk8hyaZ4ORYK3dvJi85+cV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:06.7908346+00:00\"}", - "x-ms-client-request-id" : "868fc356-2d98-4745-a5fd-704877098b91", + "X-Processing-Time" : "168ms", + "MS-CV" : "7F3mxg8nV0asQKrqoJqxuQ.0", + "X-Azure-Ref" : "0HNjLYAAAAAC2rUk3iXMMSZDTMNgvvmZNV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:47.5664133+00:00\"}", + "x-ms-client-request-id" : "995001c1-b5a7-4832-b387-42a0e0660368", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "32f024ec-bc99-4a4d-817a-4a547938c02a", + "x-ms-client-request-id" : "2509a232-c2bf-4e80-b1c7-ba226a7eb91e", "Content-Type" : "application/json" }, "Response" : { @@ -85,22 +88,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:07 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "572ms", - "MS-CV" : "RxfNomLj8kOSCQ5asm9UBQ.0", - "X-Azure-Ref" : "0y4fLYAAAAAD3Xx10ARBGTrhBc2A47/a8V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:v5MYo4tpH8obuUuxSc09BZfgCux6CYUh-jsgGH5hRzA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:07Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-1720-e3c7-593a0d00f7c4\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-1720-e3c7-593a0d00f7c4\"}}}}", + "X-Processing-Time" : "367ms", + "MS-CV" : "e/qVbWQnXEuCF7tQXF+fFQ.0", + "X-Azure-Ref" : "0HNjLYAAAAABCJmdmA+YCT5pvdayZvLllV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:MFtDTFfxB9ixFT2-MBTkKqkiXEH4NqJ_ZXN5d-O3aEE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:48Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-d1c5-740a-113a0d00c623\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-d1c5-740a-113a0d00c623\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Av5MYo4tpH8obuUuxSc09BZfgCux6CYUh-jsgGH5hRzA1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AMFtDTFfxB9ixFT2-MBTkKqkiXEH4NqJ_ZXN5d-O3aEE1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:v5MYo4tpH8obuUuxSc09BZfgCux6CYUh-jsgGH5hRzA1@thread.v2/typing?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:MFtDTFfxB9ixFT2-MBTkKqkiXEH4NqJ_ZXN5d-O3aEE1@thread.v2/typing?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4418a84e-7df0-4c02-9495-de27ed039d61", + "x-ms-client-request-id" : "a29351b2-b424-4d86-88a0-7bf17e1dc987", "Content-Type" : "application/json" }, "Response" : { @@ -108,12 +111,12 @@ "content-length" : "0", "Strict-Transport-Security" : "max-age=2592000", "api-supported-versions" : "2021-04-05-preview6", - "X-Processing-Time" : "144ms", - "MS-CV" : "CKFx9+0W50utIcJay8EdTg.0", + "X-Processing-Time" : "112ms", + "MS-CV" : "qByCd3fexEiwOLOwu2YRdg.0", "retry-after" : "0", - "X-Azure-Ref" : "0zIfLYAAAAABlce8S6uvrSqxmrmaRsLuLV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0HdjLYAAAAACCFfZZvTLFQ7vNOwmCtxe4V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:08 GMT" + "Date" : "Thu, 17 Jun 2021 23:17:49 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 4dcf6fa8687ea..625acf44d30a2 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "a5a6b1b7-cd8d-4350-a11f-4fd8b1a7b9a0", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:52 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:30 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "33ms", - "MS-CV" : "fJRQQaQOjkKPG5HLxPf5qA.0", - "X-Azure-Ref" : "0vIfLYAAAAADFsr53Ub6/S641NIatUSKWV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-dd84-e3c7-593a0d00f79f\"}}", - "x-ms-client-request-id" : "b1adad53-4004-47df-aed1-5aae37056b0e", + "X-Processing-Time" : "70ms", + "MS-CV" : "sBha5w0oWU23udLj5t6ofQ.0", + "X-Azure-Ref" : "0CtjLYAAAAAB/7/YHW9NeSZ9XJdiKwL7UV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-8d90-51b9-a43a0d003660\"}}", + "x-ms-client-request-id" : "a5a6b1b7-cd8d-4350-a11f-4fd8b1a7b9a0", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "a41dbfe8-055b-4bd3-b982-e82b5713ca2d", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:52 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:29 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "120ms", - "MS-CV" : "1o/RAcX2eEazDIh8RPZuGQ.0", - "X-Azure-Ref" : "0vIfLYAAAAAC1phxWSCnFSISs+tiseIjcV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-de23-e3c7-593a0d00f7a0\"}}", - "x-ms-client-request-id" : "98b1df7d-c37e-433d-8aaa-99a45c0f29fd", + "X-Processing-Time" : "97ms", + "MS-CV" : "mRM5g1o5kkiYmygDQFXGBQ.0", + "X-Azure-Ref" : "0CtjLYAAAAABBw1V38t0gTIpZCZbm3oBfV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-8e17-740a-113a0d00c612\"}}", + "x-ms-client-request-id" : "a41dbfe8-055b-4bd3-b982-e82b5713ca2d", "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_0000000a-baeb-dd84-e3c7-593a0d00f79f/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-8d90-51b9-a43a0d003660/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "19dc4051-2c77-4d25-a784-57227e265158", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:52 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:30 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "43ms", - "MS-CV" : "/603rdRoEUKgTsxwMNdeZw.0", - "X-Azure-Ref" : "0vIfLYAAAAACxKEyUYmxUToN1rHCDc493V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:52.0448374+00:00\"}", - "x-ms-client-request-id" : "23c8fc7f-95ce-4d31-bfd7-8d5e4cfa9861", + "X-Processing-Time" : "176ms", + "MS-CV" : "Kwx4EYVKSUm2NPnLn8K4Yw.0", + "X-Azure-Ref" : "0CtjLYAAAAABNdbxfSNraQKaIApnx5FA5V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:30.0844443+00:00\"}", + "x-ms-client-request-id" : "19dc4051-2c77-4d25-a784-57227e265158", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "96477992-c112-4a97-bcea-961b03859736", + "x-ms-client-request-id" : "cb4d2916-3406-48d4-b47d-3784e88d1a34", "Content-Type" : "application/json" }, "Response" : { @@ -85,22 +88,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:53 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:30 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "436ms", - "MS-CV" : "0XSDWDsc00mYewIIXk/xPA.0", - "X-Azure-Ref" : "0vYfLYAAAAAAbItlCnloySq5ME+gKYNiBV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:fp9TbJCPa7gk183_oXZAWWvJ09P_IsZH4X0oBMFFOjw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:53Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-dd84-e3c7-593a0d00f79f\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-dd84-e3c7-593a0d00f79f\"}}}}", + "X-Processing-Time" : "763ms", + "MS-CV" : "cm4ERIUG9k2fhB3ziuhxAw.0", + "X-Azure-Ref" : "0C9jLYAAAAADELNEhYrGlR7XM9AiBoaJRV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:jUmEIkGm1gZBzvF4P1W0bJGbKSgImDuXt6Km4XXpeY01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:31Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-8d90-51b9-a43a0d003660\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-8d90-51b9-a43a0d003660\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Afp9TbJCPa7gk183_oXZAWWvJ09P_IsZH4X0oBMFFOjw1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AjUmEIkGm1gZBzvF4P1W0bJGbKSgImDuXt6Km4XXpeY01@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:fp9TbJCPa7gk183_oXZAWWvJ09P_IsZH4X0oBMFFOjw1@thread.v2/typing?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:jUmEIkGm1gZBzvF4P1W0bJGbKSgImDuXt6Km4XXpeY01@thread.v2/typing?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "03575c69-b3b3-4fbe-8d7e-f7cf895ea9af", + "x-ms-client-request-id" : "f46038a0-b540-4de0-a66d-43da9cd80463", "Content-Type" : "application/json" }, "Response" : { @@ -108,12 +111,12 @@ "content-length" : "0", "Strict-Transport-Security" : "max-age=2592000", "api-supported-versions" : "2021-04-05-preview6", - "X-Processing-Time" : "169ms", - "MS-CV" : "TUL+ZOenB0yKsciFRpddnw.0", + "X-Processing-Time" : "256ms", + "MS-CV" : "Clkzqx6u6024Cb5DZDRsTw.0", "retry-after" : "0", - "X-Azure-Ref" : "0vYfLYAAAAACQNduOJeOAQIC+IOx6S91sV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0C9jLYAAAAAAUfuviW04ESq29jP/huhS3V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:53 GMT" + "Date" : "Thu, 17 Jun 2021 23:17:31 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 c74d63b174b6f..21340111c556c 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "13586170-9f8b-4d49-b75c-eccb3f9df1a6", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:08 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "69ms", - "MS-CV" : "BDIpkJWBNkaSRjaok0OA7Q.0", - "X-Azure-Ref" : "0zIfLYAAAAAC45Nq088KZRIAQD9ChdKgGV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-1b9c-e3c7-593a0d00f7c7\"}}", - "x-ms-client-request-id" : "757466cb-d80a-4ddd-8af9-9f82e53fda36", + "X-Processing-Time" : "94ms", + "MS-CV" : "sqGwXQ6fBkqE7EJgfjtgYw.0", + "X-Azure-Ref" : "0HdjLYAAAAADMB+GxT9PCSYnRQhCjTsERV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-d62e-51b9-a43a0d003676\"}}", + "x-ms-client-request-id" : "13586170-9f8b-4d49-b75c-eccb3f9df1a6", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "1f445a8b-3545-4926-a2a3-41f5cc4d8371", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:08 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:49 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "35ms", - "MS-CV" : "WNzi2ZhOM0OdbyP0+fJLIA.0", - "X-Azure-Ref" : "0zIfLYAAAAABrutVmXbqLTZvWwhSBgBh2V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-1bdd-e3c7-593a0d00f7c8\"}}", - "x-ms-client-request-id" : "cfff69bb-5be7-4f16-9f6e-0f07d4326066", + "X-Processing-Time" : "94ms", + "MS-CV" : "N3PoL6Aya0SwsOo56RR84w.0", + "X-Azure-Ref" : "0HdjLYAAAAAANyVuSu2aJQrvVib78KAK4V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-d6b6-740a-113a0d00c624\"}}", + "x-ms-client-request-id" : "1f445a8b-3545-4926-a2a3-41f5cc4d8371", "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_0000000a-baec-1b9c-e3c7-593a0d00f7c7/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-d62e-51b9-a43a0d003676/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "7bef0e40-d5c9-406d-b478-d476732b1dbe", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:08 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:49 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "36ms", - "MS-CV" : "NnN+zYI1LkGKsTWXvLw90Q.0", - "X-Azure-Ref" : "0zIfLYAAAAADjemylrejFRKxwEBWZUPfiV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:07.846695+00:00\"}", - "x-ms-client-request-id" : "2aeadc47-6413-4ee3-a794-45a15a999b71", + "X-Processing-Time" : "179ms", + "MS-CV" : "utyT3qmttk614EsZ8rlPMA.0", + "X-Azure-Ref" : "0HdjLYAAAAADhsAa+3sLPTKtwIWjQm6hgV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:48.6817894+00:00\"}", + "x-ms-client-request-id" : "7bef0e40-d5c9-406d-b478-d476732b1dbe", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "70da4eaa-4ddd-4443-bbb8-1511da42e2c9", + "x-ms-client-request-id" : "f6d5eb24-401a-4475-980e-c327b8fb475e", "Content-Type" : "application/json" }, "Response" : { @@ -85,22 +88,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:09 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:50 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "588ms", - "MS-CV" : "N1UFjyuZOUilHg2oAKLiQQ.0", - "X-Azure-Ref" : "0zIfLYAAAAAC9DHJgL1/nRIWERK42PYbmV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:nF8CzIAbs8Fl0KtbEwYVZ66ZjJ8v4KIh9oD96h1Zgxw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:08Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-1b9c-e3c7-593a0d00f7c7\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-1b9c-e3c7-593a0d00f7c7\"}}}}", + "X-Processing-Time" : "626ms", + "MS-CV" : "OBfmmXrZ4UWRqm8ArCIXng.0", + "X-Azure-Ref" : "0HdjLYAAAAAAJ4EfKXn7kRaaDyq8QFFpRV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:oBbhvV0RISee5cf7-d679m9Qabd0bI8SmkW5UX28Js41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:49Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-d62e-51b9-a43a0d003676\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-d62e-51b9-a43a0d003676\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AnF8CzIAbs8Fl0KtbEwYVZ66ZjJ8v4KIh9oD96h1Zgxw1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AoBbhvV0RISee5cf7-d679m9Qabd0bI8SmkW5UX28Js41@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:nF8CzIAbs8Fl0KtbEwYVZ66ZjJ8v4KIh9oD96h1Zgxw1@thread.v2/typing?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:oBbhvV0RISee5cf7-d679m9Qabd0bI8SmkW5UX28Js41@thread.v2/typing?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b9dc8fc0-ce3b-4f3c-96da-a42367f17220", + "x-ms-client-request-id" : "074bf964-a4c1-49fe-9c20-95b4ece70fce", "Content-Type" : "application/json" }, "Response" : { @@ -108,12 +111,12 @@ "content-length" : "0", "Strict-Transport-Security" : "max-age=2592000", "api-supported-versions" : "2021-04-05-preview6", - "X-Processing-Time" : "191ms", - "MS-CV" : "rdNcBNG/2UWjkkypHFltmA.0", + "X-Processing-Time" : "277ms", + "MS-CV" : "giZ+uCq4RU2eldUjJxvtfg.0", "retry-after" : "0", - "X-Azure-Ref" : "0zYfLYAAAAABYl3ah/fZmQY2X3SQQzyFHV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0HtjLYAAAAABYzSzrHY8/QJoRE5Iaqc0DV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:09 GMT" + "Date" : "Thu, 17 Jun 2021 23:17:50 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 da69e7bdaca9c..3f02148c20bed 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "51369193-11f4-48ff-a839-b1eea8e8d8ae", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:13 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:55 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "33ms", - "MS-CV" : "I0kx8WXRSUSsDZpnNwzrYA.0", - "X-Azure-Ref" : "00ofLYAAAAACmpdScYus9Sas/cV91oxhPV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-311d-e3c7-593a0d00f7d6\"}}", - "x-ms-client-request-id" : "d5236859-5267-47de-8a56-077e690db12b", + "X-Processing-Time" : "94ms", + "MS-CV" : "koDHCYMIu0+ibr/mmqIdiw.0", + "X-Azure-Ref" : "0I9jLYAAAAABVNFRpsb0ZS7KPV7bzC+bFV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-eef9-740a-113a0d00c62a\"}}", + "x-ms-client-request-id" : "51369193-11f4-48ff-a839-b1eea8e8d8ae", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "c2f69acf-712c-4291-a355-bdf09a391e41", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:13 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:55 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "5aUa1QjtT02wSx3d2YJJvA.0", - "X-Azure-Ref" : "00ofLYAAAAACrQyIt8eguQ7atqc5AkjZhV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-3161-e3c7-593a0d00f7d7\"}}", - "x-ms-client-request-id" : "b18c1813-4eff-4911-a005-bfd593ebeb03", + "X-Processing-Time" : "98ms", + "MS-CV" : "fl+mDDZmokekAU5r0U2b5g.0", + "X-Azure-Ref" : "0I9jLYAAAAAAg76H4IyoeSrpSyT7WngIsV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-efb0-51b9-a43a0d00367d\"}}", + "x-ms-client-request-id" : "c2f69acf-712c-4291-a355-bdf09a391e41", "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_0000000a-baec-311d-e3c7-593a0d00f7d6/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-eef9-740a-113a0d00c62a/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "aabf80ea-ab1f-41d4-9352-37e6f743e797", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:14 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:56 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "38ms", - "MS-CV" : "5P/sMMJ1AEa1WTUXh5OcbA.0", - "X-Azure-Ref" : "00ofLYAAAAACtEkX2UlmtR567t54BkzJqV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:13.3718292+00:00\"}", - "x-ms-client-request-id" : "4c9b8cbd-338d-4497-bd18-8db23b8a4dcd", + "X-Processing-Time" : "198ms", + "MS-CV" : "rVJftQcn/U+sgBu8Z+j8pw.0", + "X-Azure-Ref" : "0I9jLYAAAAAA+sQONYkPhQ4ajxN7sfBiOV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:55.0722689+00:00\"}", + "x-ms-client-request-id" : "aabf80ea-ab1f-41d4-9352-37e6f743e797", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d6b313c1-35c9-40e3-8b95-241e28f8d53b", + "x-ms-client-request-id" : "e35c5951-93ff-4554-b1dd-b784d7900443", "Content-Type" : "application/json" }, "Response" : { @@ -85,22 +88,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:14 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:56 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "666ms", - "MS-CV" : "HKJSVh3o402S2385NHgBJQ.0", - "X-Azure-Ref" : "00ofLYAAAAADfuXrEMXaWRa6PDllxEqRjV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:svxls5Ef4xQ_Sj65qyM3Yz_L-s-WAR5ppglFV2F9fEQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:14Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-311d-e3c7-593a0d00f7d6\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-311d-e3c7-593a0d00f7d6\"}}}}", + "X-Processing-Time" : "592ms", + "MS-CV" : "W7dkbKK3Uk2bj/JsfX/KyQ.0", + "X-Azure-Ref" : "0JNjLYAAAAAAB/n7ZzpncSoBgI9t3FWeEV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:zVsvW4Ga2DLWtni8pUlBvAY_ba1wagBSQwxI_3h_jvs1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:56Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-eef9-740a-113a0d00c62a\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-eef9-740a-113a0d00c62a\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Asvxls5Ef4xQ_Sj65qyM3Yz_L-s-WAR5ppglFV2F9fEQ1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AzVsvW4Ga2DLWtni8pUlBvAY_ba1wagBSQwxI_3h_jvs1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:svxls5Ef4xQ_Sj65qyM3Yz_L-s-WAR5ppglFV2F9fEQ1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:zVsvW4Ga2DLWtni8pUlBvAY_ba1wagBSQwxI_3h_jvs1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8983e7a4-5358-4428-9ffe-bb49e1b9e141", + "x-ms-client-request-id" : "62ac9f8a-4cd1-4c9a-a651-8e8938a2f24c", "Content-Type" : "application/json" }, "Response" : { @@ -109,55 +112,55 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:14 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:56 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "185ms", - "MS-CV" : "LWmHZON2XU+jYmYYLdY3JA.0", - "X-Azure-Ref" : "004fLYAAAAAAiF6JglSBsTaP60E17dQNpV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1623951315188\"}", + "X-Processing-Time" : "255ms", + "MS-CV" : "fGasrWJLoUWbX+8wTewKDQ.0", + "X-Azure-Ref" : "0JNjLYAAAAABUPk+8q/v3SpXyCH+7uSVlV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623971876845\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Asvxls5Ef4xQ_Sj65qyM3Yz_L-s-WAR5ppglFV2F9fEQ1@thread.v2/messages/1623951315188" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AzVsvW4Ga2DLWtni8pUlBvAY_ba1wagBSQwxI_3h_jvs1@thread.v2/messages/1623971876845" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:svxls5Ef4xQ_Sj65qyM3Yz_L-s-WAR5ppglFV2F9fEQ1@thread.v2/messages/1623951315188?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:zVsvW4Ga2DLWtni8pUlBvAY_ba1wagBSQwxI_3h_jvs1@thread.v2/messages/1623971876845?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f5d431a1-1957-4d8b-92b6-75748fa7db20", + "x-ms-client-request-id" : "f7aa59f8-19e7-4749-a13d-3fd4515c2de7", "Content-Type" : "application/merge-patch+json" }, "Response" : { "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", - "X-Processing-Time" : "353ms", - "MS-CV" : "5JyA8tKof0qwCue0muSwhg.0", + "X-Processing-Time" : "223ms", + "MS-CV" : "vEbjcau0gUW0jnVvA8QtWg.0", "retry-after" : "0", - "X-Azure-Ref" : "004fLYAAAAACSnQYmRj6MTLxdAOWds3I/V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0JdjLYAAAAADoJs1B1qT/ToJa65lwtygOV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:35:15 GMT" + "Date" : "Thu, 17 Jun 2021 23:17:56 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:svxls5Ef4xQ_Sj65qyM3Yz_L-s-WAR5ppglFV2F9fEQ1@thread.v2/messages/1623951315188?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:zVsvW4Ga2DLWtni8pUlBvAY_ba1wagBSQwxI_3h_jvs1@thread.v2/messages/1623971876845?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d31f40f3-c05c-4492-8051-a0a3c3bb102e" + "x-ms-client-request-id" : "a3295e69-210f-4878-96ab-22efe5facf12" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "98ms", - "MS-CV" : "Dj4rsr0XgUWwTDfCy16vcw.0", + "X-Processing-Time" : "95ms", + "MS-CV" : "a+oXtQVYjUyh1bemZg1e2w.0", "retry-after" : "0", - "X-Azure-Ref" : "004fLYAAAAAANZ4Y8hBt6RZKN8Q4VOSzLV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0JdjLYAAAAAAA3qsVtJS9Q5t+peXX4DM3V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"1623951315188\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1623951315524\",\"content\":{\"message\":\"Update Test\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T17:35:15Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-311d-e3c7-593a0d00f7d6\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-311d-e3c7-593a0d00f7d6\"}},\"editedOn\":\"2021-06-17T17:35:15Z\",\"metadata\":{\"onedriveReferences\":\"onedriveReferences - updated\",\"deliveryMode\":\"deliveryMode value - updated\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\"}}", - "Date" : "Thu, 17 Jun 2021 17:35:15 GMT", + "Body" : "{\"id\":\"1623971876845\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1623971877182\",\"content\":{\"message\":\"Update Test\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T23:17:56Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-eef9-740a-113a0d00c62a\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-eef9-740a-113a0d00c62a\"}},\"editedOn\":\"2021-06-17T23:17:57Z\",\"metadata\":{\"onedriveReferences\":\"onedriveReferences - updated\",\"deliveryMode\":\"deliveryMode value - updated\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\"}}", + "Date" : "Thu, 17 Jun 2021 23:17:57 GMT", "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 6d2577eddc1f5..16276bc4e09b5 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "88a7c9f8-6763-4da5-bde8-6a9383ae421f", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:16 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:58 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "81ms", - "MS-CV" : "4wD7WveVhUePpec+Gb/FDw.0", - "X-Azure-Ref" : "01IfLYAAAAAClGQkbtWZuRYFOJqgJKzn/V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-3bd8-e3c7-593a0d00f7db\"}}", - "x-ms-client-request-id" : "3ca89fe0-8489-462c-8a70-3e202fe1c0b3", + "X-Processing-Time" : "99ms", + "MS-CV" : "NvpLgVcp/UOJpwcyih32Dw.0", + "X-Azure-Ref" : "0JtjLYAAAAAATirzk70KWT7P2nr8dRzytV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-fb02-51b9-a43a0d00367f\"}}", + "x-ms-client-request-id" : "88a7c9f8-6763-4da5-bde8-6a9383ae421f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "4dfb67f4-198f-4e94-81f4-551cb1e39a18", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:16 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:58 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "56ms", - "MS-CV" : "mspjb6ZP/kSoYjdn5ON9XQ.0", - "X-Azure-Ref" : "01IfLYAAAAAAvmnkshC3YQIGGwGakF8aNV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-3c36-e3c7-593a0d00f7dc\"}}", - "x-ms-client-request-id" : "d0ad6ca9-affb-4966-b664-1b85c17abab4", + "X-Processing-Time" : "97ms", + "MS-CV" : "D3E0iKPjF0eXsFO6WBj5Ng.0", + "X-Azure-Ref" : "0JtjLYAAAAABw8OwkgyrqRYVdvo7J9RNZV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-fb8b-740a-113a0d00c62c\"}}", + "x-ms-client-request-id" : "4dfb67f4-198f-4e94-81f4-551cb1e39a18", "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_0000000a-baec-3bd8-e3c7-593a0d00f7db/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-fb02-51b9-a43a0d00367f/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "48d5b70a-1e1e-4683-8ba2-766430029615", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:16 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:58 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "72ms", - "MS-CV" : "n7W9fCr08k6s3T1cCZABFw.0", - "X-Azure-Ref" : "01YfLYAAAAADbMWXekVr1Rp+tuwu0G2LzV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:16.2299814+00:00\"}", - "x-ms-client-request-id" : "8ce82649-01d3-4438-9ff3-d310eede60e1", + "X-Processing-Time" : "182ms", + "MS-CV" : "YlqZFf/z8UW9Cew08xI05w.0", + "X-Azure-Ref" : "0JtjLYAAAAADZEpFqq2ZVR59g8eGhjwrlV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:58.1156618+00:00\"}", + "x-ms-client-request-id" : "48d5b70a-1e1e-4683-8ba2-766430029615", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "0cbf2126-8ec1-4db5-972d-fb1e50999d90", + "x-ms-client-request-id" : "6afe9d98-f8cb-4350-aa71-4bc22961435f", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:18 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "1072ms", - "MS-CV" : "aVJpijEg/UqneRIPk2DEGA.0", - "X-Azure-Ref" : "01YfLYAAAAAB+emjf0Qm8RIyUxXUkC83IV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:i08UpUQdCIEYRQfR2uPsA3nOW6JBOrCgc-iIBOHNtnQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:17Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-3bd8-e3c7-593a0d00f7db\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-3bd8-e3c7-593a0d00f7db\"}}}}", + "X-Processing-Time" : "878ms", + "MS-CV" : "EJJ4asDLrk616OYIUDHjCw.0", + "X-Azure-Ref" : "0J9jLYAAAAAA9TiPUGa/aQIIZGPGNYLigV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:K9q04RyDKrL-o56cCUnAyohAhY9xo6JPOUJOwiXyhps1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:59Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-fb02-51b9-a43a0d00367f\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-fb02-51b9-a43a0d00367f\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ai08UpUQdCIEYRQfR2uPsA3nOW6JBOrCgc-iIBOHNtnQ1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AK9q04RyDKrL-o56cCUnAyohAhY9xo6JPOUJOwiXyhps1@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 1eaede85e2a5f..f75fe5f05ca0c 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "9ac39466-886a-4686-93c5-53edfd50d8d7", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:42 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "36ms", - "MS-CV" : "Ht7rqr93hEKG8hg+fK+mwg.0", - "X-Azure-Ref" : "0sofLYAAAAAAIESvyIbWdS4f0jN3Y+BXFV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b6ef-e3c7-593a0d00f785\"}}", - "x-ms-client-request-id" : "d1e59855-6709-4b25-8cc7-1415a5db76ad", + "X-Processing-Time" : "94ms", + "MS-CV" : "7YBy0qTlP0Krbxrqt6R24g.0", + "X-Azure-Ref" : "0/NfLYAAAAAA1429/zFBRR54DO3J+3huUV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-5641-740a-113a0d00c605\"}}", + "x-ms-client-request-id" : "9ac39466-886a-4686-93c5-53edfd50d8d7", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "84f8744c-723a-4349-8898-b1e599b1487f", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:42 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:16 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "33ms", - "MS-CV" : "o9PgYqNYSEOZJu19zjx6jA.0", - "X-Azure-Ref" : "0sofLYAAAAACRmqpUbw9IRZYQ8nm0weL0V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b754-e3c7-593a0d00f786\"}}", - "x-ms-client-request-id" : "3b289f2f-a89f-4021-8511-37e9be4b8a5c", + "X-Processing-Time" : "98ms", + "MS-CV" : "o2b9fQ1Cb0S8Aidn0ngcCQ.0", + "X-Azure-Ref" : "0/NfLYAAAAADI5wMq+kDPTqAF0MrUtCM0V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-56f9-51b9-a43a0d00364f\"}}", + "x-ms-client-request-id" : "84f8744c-723a-4349-8898-b1e599b1487f", "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_0000000a-baeb-b6ef-e3c7-593a0d00f785/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-5641-740a-113a0d00c605/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "2356419d-c750-4e48-864f-cc8945ddcedd", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:42 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "36ms", - "MS-CV" : "gw3f+2wWjk6Vw5qqww4vSQ.0", - "X-Azure-Ref" : "0s4fLYAAAAAAmzCBXBVkvRbw8W5ceVYFKV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:42.1343413+00:00\"}", - "x-ms-client-request-id" : "e0bb0924-a480-4c9e-bc7f-9a98367540ce", + "X-Processing-Time" : "165ms", + "MS-CV" : "TOopEb5J9Uq00vwJiIPB/w.0", + "X-Azure-Ref" : "0/NfLYAAAAAD3W4fYNZ5DSIy5fIOKPu3MV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:15.9420216+00:00\"}", + "x-ms-client-request-id" : "2356419d-c750-4e48-864f-cc8945ddcedd", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c781ecf9-c3ab-47e2-8cfb-6646ee2e45cf", + "x-ms-client-request-id" : "2459e285-80d0-4803-9e4a-90b3e0191bd1", "Content-Type" : "application/json" }, "Response" : { @@ -85,55 +88,55 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:43 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:17 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "528ms", - "MS-CV" : "GE/iEoMK90ypT69J9oqS5A.0", - "X-Azure-Ref" : "0s4fLYAAAAABp0c6USX06QrvdO1l6JtO3V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:_8nSolhyaAFUNZwnTN23IKalwkNBfnc3upMwtIgHz641@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:43Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b6ef-e3c7-593a0d00f785\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b6ef-e3c7-593a0d00f785\"}}}}", + "X-Processing-Time" : "572ms", + "MS-CV" : "3muMXJQqcUWCi7EkxVzPBA.0", + "X-Azure-Ref" : "0/NfLYAAAAAC4WtFP5IlbTp0TOQXDjr3aV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:vim2w2hgvOHaVRuqbJATEpAX0EGeiKC5csZ__EqDlW81@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:17Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-5641-740a-113a0d00c605\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-5641-740a-113a0d00c605\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A_8nSolhyaAFUNZwnTN23IKalwkNBfnc3upMwtIgHz641@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Avim2w2hgvOHaVRuqbJATEpAX0EGeiKC5csZ__EqDlW81@thread.v2" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:_8nSolhyaAFUNZwnTN23IKalwkNBfnc3upMwtIgHz641@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:vim2w2hgvOHaVRuqbJATEpAX0EGeiKC5csZ__EqDlW81@thread.v2?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e93050d4-012c-40ec-bc41-a5bcbeea6cb9", + "x-ms-client-request-id" : "627a6d13-ca68-42a4-b3a9-36245a01fec6", "Content-Type" : "application/merge-patch+json" }, "Response" : { "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", - "X-Processing-Time" : "223ms", - "MS-CV" : "OLFX9PauhUuX0DDb+HFgAA.0", + "X-Processing-Time" : "200ms", + "MS-CV" : "zYYOMafteke45jyfLtCmEg.0", "retry-after" : "0", - "X-Azure-Ref" : "0s4fLYAAAAABfCq7TV9TaQ6tAzqq19b9cV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0/dfLYAAAAACtYDnf0ZSURKLYqZmrbooVV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:34:43 GMT" + "Date" : "Thu, 17 Jun 2021 23:17:16 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:_8nSolhyaAFUNZwnTN23IKalwkNBfnc3upMwtIgHz641@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:vim2w2hgvOHaVRuqbJATEpAX0EGeiKC5csZ__EqDlW81@thread.v2?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e138d66e-4032-412a-ada3-530170283329" + "x-ms-client-request-id" : "03725425-d222-44e2-b0d0-dd12654fdb9f" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "118ms", - "MS-CV" : "rLLFbrIj9U6mOYY7WQEqMA.0", + "X-Processing-Time" : "85ms", + "MS-CV" : "6RH5lXCK8kWGyNk7BhUnhw.0", "retry-after" : "0", - "X-Azure-Ref" : "0tIfLYAAAAABBAE0FIshmS5Wen6rkTtVBV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0/dfLYAAAAAANmqwHVFN6SKQulVF+vugBV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"19:_8nSolhyaAFUNZwnTN23IKalwkNBfnc3upMwtIgHz641@thread.v2\",\"topic\":\"Update Test\",\"createdOn\":\"2021-06-17T17:34:43Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b6ef-e3c7-593a0d00f785\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-b6ef-e3c7-593a0d00f785\"}}}", - "Date" : "Thu, 17 Jun 2021 17:34:43 GMT", + "Body" : "{\"id\":\"19:vim2w2hgvOHaVRuqbJATEpAX0EGeiKC5csZ__EqDlW81@thread.v2\",\"topic\":\"Update Test\",\"createdOn\":\"2021-06-17T23:17:17Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-5641-740a-113a0d00c605\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-5641-740a-113a0d00c605\"}}}", + "Date" : "Thu, 17 Jun 2021 23:17:17 GMT", "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 ad3348e379829..c6649af6b9ec0 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "570df9fd-9a3f-4a58-bf93-20f7dba6c846", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:40 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:11 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "60ms", - "MS-CV" : "DQKuoUnRiUyNCpkTW3LCXQ.0", - "X-Azure-Ref" : "0sIfLYAAAAAD7OW0BTCexSIQUFsf0S/UdV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-acde-e3c7-593a0d00f77d\"}}", - "x-ms-client-request-id" : "50e2290d-2186-4638-88ba-4f02bd427265", + "X-Processing-Time" : "125ms", + "MS-CV" : "B0xS11fptUuOweDkZgejAQ.0", + "X-Azure-Ref" : "0+NfLYAAAAACydn4QYwcdT4lh7koaSkavV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-45fe-740a-113a0d00c601\"}}", + "x-ms-client-request-id" : "570df9fd-9a3f-4a58-bf93-20f7dba6c846", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "125a97eb-d1d0-481d-a923-23972a2ec727", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:39 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:12 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "4loPVpzZH069tp7uDe1RDg.0", - "X-Azure-Ref" : "0sIfLYAAAAACnEzSZ2XGqSK9x4atq36iaV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-ad24-e3c7-593a0d00f77e\"}}", - "x-ms-client-request-id" : "028939ba-4dd5-4dd7-af9b-89a5772d71bb", + "X-Processing-Time" : "94ms", + "MS-CV" : "lm16TRSJQkWmyD24GJ5mjg.0", + "X-Azure-Ref" : "0+NfLYAAAAAB4oBZ+E5giQ6TpBHUbjPJWV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-46b8-51b9-a43a0d00364a\"}}", + "x-ms-client-request-id" : "125a97eb-d1d0-481d-a923-23972a2ec727", "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_0000000a-baeb-acde-e3c7-593a0d00f77d/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-45fe-740a-113a0d00c601/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "a0fbf536-822b-4e66-8564-6141102ac3ae", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:40 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:11 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "38ms", - "MS-CV" : "5EmbdSJyN02CINaQk4Ngvg.0", - "X-Azure-Ref" : "0sIfLYAAAAACdSa7KrzOlR6MMLa8+J3c1V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:39.4963136+00:00\"}", - "x-ms-client-request-id" : "4bd10c50-4438-4899-87b6-98bdb89efda5", + "X-Processing-Time" : "214ms", + "MS-CV" : "6nI0O1gjR06N2K0HF0f2cw.0", + "X-Azure-Ref" : "0+NfLYAAAAACm623/4f5zSqprsLUamtMRV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:11.829574+00:00\"}", + "x-ms-client-request-id" : "a0fbf536-822b-4e66-8564-6141102ac3ae", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9a7331d5-6609-410f-9a88-d5cfaadb51a0", + "x-ms-client-request-id" : "5e151e66-72a0-42f5-b52f-45595f6ff260", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:40 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:13 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "518ms", - "MS-CV" : "M4+WIgrHbk2863ChZeYAlQ.0", - "X-Azure-Ref" : "0sIfLYAAAAADb93UEtG5NQKyZnQQ5VxLmV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:bKSMRedg7DG2d3T6pRrXxf2tEz0tEF_WG3n7Om6qAPw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:40Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-acde-e3c7-593a0d00f77d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-acde-e3c7-593a0d00f77d\"}}}}", + "X-Processing-Time" : "655ms", + "MS-CV" : "TOS2D23sg02nS3eTFDtP2Q.0", + "X-Azure-Ref" : "0+NfLYAAAAAD7Eh9D/ah4RI6xfvINwsiZV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:pqv5k4jNHM4A7nGwnXvWOGY8ZCwRgc5N_lhWg2tP3Zw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:12Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-45fe-740a-113a0d00c601\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-45fe-740a-113a0d00c601\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AbKSMRedg7DG2d3T6pRrXxf2tEz0tEF_WG3n7Om6qAPw1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Apqv5k4jNHM4A7nGwnXvWOGY8ZCwRgc5N_lhWg2tP3Zw1@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 b626b4afd352f..1b38e9117cea9 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "f69e21ee-e2f0-43cd-9258-22bf84d00b25", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:54 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "CW1zIel+t0ObYURhWrRerw.0", - "X-Azure-Ref" : "0vofLYAAAAAD8+bWJZtp8T4KOK8WA/UGiV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e454-e3c7-593a0d00f7aa\"}}", - "x-ms-client-request-id" : "6fd1b88f-d45f-496e-a5b9-2db6596f0011", + "X-Processing-Time" : "97ms", + "MS-CV" : "3fBR50bqREula7y+rV4kFQ.0", + "X-Azure-Ref" : "0DdjLYAAAAACOarruv/MvQYlOxbAFLHbcV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-97b3-740a-113a0d00c614\"}}", + "x-ms-client-request-id" : "f69e21ee-e2f0-43cd-9258-22bf84d00b25", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "fc9896b7-1b0b-4a48-8425-9908dd0417d6", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:54 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "53ms", - "MS-CV" : "sm/0jGS6BECjHqb6XL6H1Q.0", - "X-Azure-Ref" : "0vofLYAAAAABnPfakCalFR781JILb5CVTV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e4b1-e3c7-593a0d00f7ab\"}}", - "x-ms-client-request-id" : "d366dec0-a723-432a-a381-e619c390fb59", + "X-Processing-Time" : "73ms", + "MS-CV" : "Il09HEUClUW6TeNTcu0eyg.0", + "X-Azure-Ref" : "0DdjLYAAAAADYw1PejvTiSrtQVvTdULENV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-9850-51b9-a43a0d003662\"}}", + "x-ms-client-request-id" : "fc9896b7-1b0b-4a48-8425-9908dd0417d6", "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_0000000a-baeb-e454-e3c7-593a0d00f7aa/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-97b3-740a-113a0d00c614/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "a56fd38d-2f51-4e46-a810-06b619277a8e", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:54 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "65ms", - "MS-CV" : "QlsT8aztv0aU17a4LO69xA.0", - "X-Azure-Ref" : "0vofLYAAAAABkQa9/KKZZSZsW9a9X4nJpV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:53.7512224+00:00\"}", - "x-ms-client-request-id" : "5ec06d86-7022-449b-8a7c-dcfddf6012c7", + "X-Processing-Time" : "165ms", + "MS-CV" : "lEwNqCQvtEC+uoE9HPTTPg.0", + "X-Azure-Ref" : "0DdjLYAAAAAA4CdEVmo0DRY6c96h41BDaV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:32.6683683+00:00\"}", + "x-ms-client-request-id" : "a56fd38d-2f51-4e46-a810-06b619277a8e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c54d5d6c-789e-4b37-a514-06ab5fc34dd4", + "x-ms-client-request-id" : "af000053-d412-4752-af57-f524b9b774d6", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:54 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "505ms", - "MS-CV" : "PvvBhgwP7Ualx1dYWHixqQ.0", - "X-Azure-Ref" : "0vofLYAAAAACuKf0RjPfVSYnmnW9g1zUWV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:cAI7hdU1hDEo1f-q0LXgvASt4Na70OVrXZ5pO-6sY1Y1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:54Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e454-e3c7-593a0d00f7aa\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e454-e3c7-593a0d00f7aa\"}}}}", + "X-Processing-Time" : "700ms", + "MS-CV" : "XKME74ZHJ0WtP9fkdnAPgA.0", + "X-Azure-Ref" : "0DdjLYAAAAABM+fdqaI+NSKN6Y6lbwFT6V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:DqF3nxzJ4pIkgmHF0UK_tL7E72MYb2mUmGxcX7xrq_s1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:33Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-97b3-740a-113a0d00c614\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-97b3-740a-113a0d00c614\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AcAI7hdU1hDEo1f-q0LXgvASt4Na70OVrXZ5pO-6sY1Y1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ADqF3nxzJ4pIkgmHF0UK_tL7E72MYb2mUmGxcX7xrq_s1@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 903e95a1d2bdb..414f4c21ccf28 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "e3cd8138-5604-40b5-9503-c1333c7b3cb5", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:32 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "33ms", - "MS-CV" : "sqY5IpR6DkOic2LEfyhteg.0", - "X-Azure-Ref" : "0qIfLYAAAAAAH8YcgMsp4Sa8jmvbigUVRV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8eda-e3c7-593a0d00f76f\"}}", - "x-ms-client-request-id" : "47a2540a-7c2e-4c5e-b42e-a88892fd1b21", + "X-Processing-Time" : "74ms", + "MS-CV" : "qW/2OF/AuUikV8pCSNNg7Q.0", + "X-Azure-Ref" : "08NfLYAAAAABqRsu7405MRaFD1iSxMmrMV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-2847-51b9-a43a0d003642\"}}", + "x-ms-client-request-id" : "e3cd8138-5604-40b5-9503-c1333c7b3cb5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "f392c8dd-c88c-4864-a0b8-a6facfd92f36", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:32 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:03 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "85ms", - "MS-CV" : "LoDFyUd3h0yjyrubXYs2Qw.0", - "X-Azure-Ref" : "0qIfLYAAAAACCmLHdANeCSbiJ532+9mvPV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8f53-e3c7-593a0d00f770\"}}", - "x-ms-client-request-id" : "14493328-ce38-4a6f-8c81-7bae3d4314a7", + "X-Processing-Time" : "64ms", + "MS-CV" : "tbnvdcBv+UmRo5RndPVLgA.0", + "X-Azure-Ref" : "08NfLYAAAAAAPFkRStnvTT6jDvzyVfs15V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-28bd-edbe-a43a0d004b28\"}}", + "x-ms-client-request-id" : "f392c8dd-c88c-4864-a0b8-a6facfd92f36", "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_0000000a-baeb-8eda-e3c7-593a0d00f76f/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-2847-51b9-a43a0d003642/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "b16eae08-f2f6-40d7-8a20-ff375a9c4df3", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:32 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "39ms", - "MS-CV" : "p+B4RvgMrkKWKUhF47yd+g.0", - "X-Azure-Ref" : "0qIfLYAAAAAD7tyZtqIRXTpU0Ov9cNXNaV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:31.866239+00:00\"}", - "x-ms-client-request-id" : "e1f992f3-9716-47b2-898f-2f273b81cf03", + "X-Processing-Time" : "144ms", + "MS-CV" : "QFUV8A2aRkOH8c9mv5JRYA.0", + "X-Azure-Ref" : "08NfLYAAAAACUiK3s3NOpSbE5/13i8ZKvV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:03.0749205+00:00\"}", + "x-ms-client-request-id" : "b16eae08-f2f6-40d7-8a20-ff375a9c4df3", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "edf8ce81-db82-4514-a1b3-3db2a50f2542", + "x-ms-client-request-id" : "af350c9b-d08c-496c-8fe3-ca8b1a7668a4", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:33 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "475ms", - "MS-CV" : "+9baWaCbY0GIly1DYoIWww.0", - "X-Azure-Ref" : "0qIfLYAAAAAAaESguxSUVT79S8U1G/yY2V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:7V9YUa9a4JhAaObe91CZxd2y2-Kwb1ykAqGvHj-VU2w1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:32Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8eda-e3c7-593a0d00f76f\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8eda-e3c7-593a0d00f76f\"}}}}", + "X-Processing-Time" : "775ms", + "MS-CV" : "U1I8DR8YdEqckiqaLDCr8A.0", + "X-Azure-Ref" : "08dfLYAAAAACQiNNKoWlwR4GWPaCcklk5V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:YC7lnU3Av-5jDHwVVYqkfjXNQEqC_FmAjcWub7lLGQQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:05Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-2847-51b9-a43a0d003642\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-2847-51b9-a43a0d003642\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A7V9YUa9a4JhAaObe91CZxd2y2-Kwb1ykAqGvHj-VU2w1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AYC7lnU3Av-5jDHwVVYqkfjXNQEqC_FmAjcWub7lLGQQ1@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 d377f2b40481c..c4e6e62d93d04 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "209870a3-837f-435a-be48-0db81229fb26", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:30 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:01 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "nhwMJmIdFE+bc+QGGflU0w.0", - "X-Azure-Ref" : "0pofLYAAAAABfqTOx8POlT5AC4ICRuA+OV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-86e8-e3c7-593a0d00f76b\"}}", - "x-ms-client-request-id" : "f82e08c1-3019-4849-80b6-478b6ed7b081", + "X-Processing-Time" : "102ms", + "MS-CV" : "6Cr6TrwBdE+jrk+gZwfNjg.0", + "X-Azure-Ref" : "07dfLYAAAAAAxI2itUvVuTZ5mPUefaKO3V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-1df8-51b9-a43a0d003640\"}}", + "x-ms-client-request-id" : "209870a3-837f-435a-be48-0db81229fb26", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "59e34503-8794-45ec-8f9c-c8bb219f2bce", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:30 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:01 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "FAmrLIn03E6pgxA0lyl63Q.0", - "X-Azure-Ref" : "0pofLYAAAAAC6mr/RGjk4QbrQdBHSLKCvV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-8728-e3c7-593a0d00f76c\"}}", - "x-ms-client-request-id" : "d5f42ef2-60c4-47a7-b6f3-958bd9346884", + "X-Processing-Time" : "75ms", + "MS-CV" : "uGDKCyyw1E2546lTLzf0UQ.0", + "X-Azure-Ref" : "07tfLYAAAAADABwbkSHSsSaZgWgz0dA8VV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-1e73-edbe-a43a0d004b26\"}}", + "x-ms-client-request-id" : "59e34503-8794-45ec-8f9c-c8bb219f2bce", "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_0000000a-baeb-86e8-e3c7-593a0d00f76b/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-1df8-51b9-a43a0d003640/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "2890648d-1b93-4fdf-bd65-a8a5adc9889c", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:30 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "41ms", - "MS-CV" : "6HwF3yDHtUiJEoFgjXrNkQ.0", - "X-Azure-Ref" : "0pofLYAAAAAAa+HCQNtF3SKOl0iuVSXOkV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:29.7804243+00:00\"}", - "x-ms-client-request-id" : "5461e880-4e93-42d7-8fdd-1f392ade4946", + "X-Processing-Time" : "163ms", + "MS-CV" : "tpcXt6N8r0S1o3BAQ+n0LQ.0", + "X-Azure-Ref" : "07tfLYAAAAACk/dFA7lDuQaX199gV1fpuV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:01.4761595+00:00\"}", + "x-ms-client-request-id" : "2890648d-1b93-4fdf-bd65-a8a5adc9889c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4334ceb6-a251-4fd0-9f06-3b86fe79190b", + "x-ms-client-request-id" : "0a05c4c9-da89-471a-b575-11f3fccaefac", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:31 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "583ms", - "MS-CV" : "Tc3J8ukQAUeLs1SoC0cTnw.0", - "X-Azure-Ref" : "0pofLYAAAAAAfTFVDqRZjTYkCmy6qhuZcV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:oe_a0RY_EHhQtu8WdXyyLx0IXZgUXrbUudZEHBNMxbc1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:30Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-86e8-e3c7-593a0d00f76b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-86e8-e3c7-593a0d00f76b\"}}}}", + "X-Processing-Time" : "589ms", + "MS-CV" : "oZpJour4QEmUkWvgzOlFBw.0", + "X-Azure-Ref" : "07tfLYAAAAACTtH66EANhR7YopLsAuTnMV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:gOQu-bJLsr2SXOCTL_3wxfL2O5RFC-h3zfjK-GvVvZQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:02Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-1df8-51b9-a43a0d003640\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-1df8-51b9-a43a0d003640\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Aoe_a0RY_EHhQtu8WdXyyLx0IXZgUXrbUudZEHBNMxbc1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AgOQu-bJLsr2SXOCTL_3wxfL2O5RFC-h3zfjK-GvVvZQ1@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 ba282e019a3de..2e2914631d394 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "a8d203f4-db5a-4501-a1ad-37dae57aeebd", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:15 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:57 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "YD5w+myYjEqpBwVArruFVg.0", - "X-Azure-Ref" : "004fLYAAAAADfHeEwfjgTSbYJRo3DjgkJV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-37b5-e3c7-593a0d00f7d8\"}}", - "x-ms-client-request-id" : "930f8168-d118-43e5-94b7-da817c8e6245", + "X-Processing-Time" : "97ms", + "MS-CV" : "lhHmyaE1e0SFFoghmMekcg.0", + "X-Azure-Ref" : "0JdjLYAAAAADGf+9aRisoQq9QKgnEX+fnV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-f66f-51b9-a43a0d00367e\"}}", + "x-ms-client-request-id" : "a8d203f4-db5a-4501-a1ad-37dae57aeebd", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "817ddc9c-9eb9-4640-a30d-f0b6c8bacbef", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:15 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:57 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "H/3T7m5ZDk+UfeWXskSPLQ.0", - "X-Azure-Ref" : "004fLYAAAAABY4FsSYT3QTr4xj5y005f9V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-37f6-e3c7-593a0d00f7d9\"}}", - "x-ms-client-request-id" : "a20a09ff-ce3d-406d-92cf-ad79066ba14c", + "X-Processing-Time" : "99ms", + "MS-CV" : "VffHpeU2WEaDWCq0Ob/clQ.0", + "X-Azure-Ref" : "0JdjLYAAAAACAYIm5SKtLRbVEhQZJlUV3V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-f6fa-740a-113a0d00c62b\"}}", + "x-ms-client-request-id" : "817ddc9c-9eb9-4640-a30d-f0b6c8bacbef", "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_0000000a-baec-37b5-e3c7-593a0d00f7d8/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-f66f-51b9-a43a0d00367e/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "d16ee15e-0f62-41a9-9c06-17589f371e5d", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:15 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:57 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "37ms", - "MS-CV" : "2fqg7tgRykmi5RxO5j7gYA.0", - "X-Azure-Ref" : "004fLYAAAAADL+hBqxbtUT6sUlL7bSGk2V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:15.0367843+00:00\"}", - "x-ms-client-request-id" : "7153d32e-179d-4427-b817-679597052e7b", + "X-Processing-Time" : "172ms", + "MS-CV" : "GiuCMBMh3EeKvD7ybBjBxg.0", + "X-Azure-Ref" : "0JdjLYAAAAABhn/e1IMqMSK17sgdW7z2yV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:56.9324387+00:00\"}", + "x-ms-client-request-id" : "d16ee15e-0f62-41a9-9c06-17589f371e5d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "12069c26-bf47-40a8-a5a3-cd58b8c64c5b", + "x-ms-client-request-id" : "ab699353-f2ed-4c03-8256-dd9361851bf9", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:16 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:58 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "752ms", - "MS-CV" : "euyje3DaOEelZ1AI18dHpg.0", - "X-Azure-Ref" : "01IfLYAAAAADrluCRkZnLRJ7uTS7Dm0+UV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:VkJ2NayVrKRXvC-xgTC3zGiq_dpIvhzRKI1ZDrHUrw41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:16Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-37b5-e3c7-593a0d00f7d8\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-37b5-e3c7-593a0d00f7d8\"}}}}", + "X-Processing-Time" : "582ms", + "MS-CV" : "qfp7LdJi40CidzxrZrVXKQ.0", + "X-Azure-Ref" : "0JdjLYAAAAADtpmYoDUoGSonsYqdj26oCV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:Nrtd9yKzRlkSTWqqNETDmK0iZIfl6wLU7UtIH-pGqZM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:58Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-f66f-51b9-a43a0d00367e\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-f66f-51b9-a43a0d00367e\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AVkJ2NayVrKRXvC-xgTC3zGiq_dpIvhzRKI1ZDrHUrw41@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ANrtd9yKzRlkSTWqqNETDmK0iZIfl6wLU7UtIH-pGqZM1@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 3647f89ee12c1..82e4bf2088a9c 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "ec6c487e-f7d9-4506-94c0-7e99797bc403", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:39 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:10 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "6CZ9jKHoMEyLw4K0fs7dgw.0", - "X-Azure-Ref" : "0r4fLYAAAAABAgoOkRVg1Qa7nNwM5F76eV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-a910-e3c7-593a0d00f779\"}}", - "x-ms-client-request-id" : "9b350968-17a6-4e50-8102-d8e796482df6", + "X-Processing-Time" : "97ms", + "MS-CV" : "kQbOm1Yt2Ue04HrKfcPFwg.0", + "X-Azure-Ref" : "099fLYAAAAABCwJQ+Fe4wRYtykXJA5CUDV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-4190-740a-113a0d00c5ff\"}}", + "x-ms-client-request-id" : "ec6c487e-f7d9-4506-94c0-7e99797bc403", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "29b16eb2-b050-46d4-aa5a-61befdccf21e", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:38 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:11 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "FnpnEajamE28hbsk0zWSjQ.0", - "X-Azure-Ref" : "0r4fLYAAAAAATlIMckYeLQaLaud8I7onBV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-a950-e3c7-593a0d00f77a\"}}", - "x-ms-client-request-id" : "29886c1a-71c6-4e2e-ae13-8bef20a7b56c", + "X-Processing-Time" : "97ms", + "MS-CV" : "v44hOm4u6U2RCO3SJ2u4Nw.0", + "X-Azure-Ref" : "099fLYAAAAABRG+qrwsb/Spl5ki2h3fQ8V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-4248-51b9-a43a0d003648\"}}", + "x-ms-client-request-id" : "29b16eb2-b050-46d4-aa5a-61befdccf21e", "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_0000000a-baeb-a910-e3c7-593a0d00f779/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-4190-740a-113a0d00c5ff/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "64e2e292-b6c2-4291-9dde-6552d02f040d", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:39 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:10 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "36ms", - "MS-CV" : "X+ToNyasUka0gqS2Fq2z1w.0", - "X-Azure-Ref" : "0r4fLYAAAAAAnlyEbNS9OTYhk4FiMPAfqV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:38.514235+00:00\"}", - "x-ms-client-request-id" : "a3acd7a3-94e2-4328-b853-9dfeea49823f", + "X-Processing-Time" : "194ms", + "MS-CV" : "XwnTy2m+Q0OtUhdorg1J3A.0", + "X-Azure-Ref" : "099fLYAAAAAD0oOfnU21JQ4Ludjguc6XaV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:10.6751616+00:00\"}", + "x-ms-client-request-id" : "64e2e292-b6c2-4291-9dde-6552d02f040d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "99edc78a-1175-47d8-99ca-e3f94f94cf1d", + "x-ms-client-request-id" : "46869555-8205-4787-a737-34c7b66c886e", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:39 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:11 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "707ms", - "MS-CV" : "l6CJW7WtvUyKsMwpWHj+Og.0", - "X-Azure-Ref" : "0r4fLYAAAAAAJGPbEuIY5SbxHLg7qCqfNV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:gKb1mDqedGhzFJ3CPYDrkGNlsXgnXn-UorVyjiJrw0k1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:39Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-a910-e3c7-593a0d00f779\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-a910-e3c7-593a0d00f779\"}}}}", + "X-Processing-Time" : "475ms", + "MS-CV" : "J6wCL82R/Eq2YD0n6P3SqA.0", + "X-Azure-Ref" : "099fLYAAAAABC56D2+sKaSojHl/Kq2y4rV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:btbOQAg6MDvpOdapz-BQ7WTLVuCJ5oiiOeIJ5Vb318o1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:11Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-4190-740a-113a0d00c5ff\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-4190-740a-113a0d00c5ff\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AgKb1mDqedGhzFJ3CPYDrkGNlsXgnXn-UorVyjiJrw0k1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AbtbOQAg6MDvpOdapz-BQ7WTLVuCJ5oiiOeIJ5Vb318o1@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 9a970c8296a45..3aa93c35e0ef9 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "44584937-20be-4134-ba86-c37156f4e7ab", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:59 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:39 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "66ms", - "MS-CV" : "cwX75t/rgUe0s/9TSm2ZOA.0", - "X-Azure-Ref" : "0w4fLYAAAAACMFPppT7h7SJ+aKtFENhzQV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f7ca-e3c7-593a0d00f7b4\"}}", - "x-ms-client-request-id" : "1d7b3174-823a-463c-b6ec-3cbd1131e380", + "X-Processing-Time" : "102ms", + "MS-CV" : "y+KxYVUo00iyWxrq1Fcu9A.0", + "X-Azure-Ref" : "0E9jLYAAAAACVJ63dv5ZfRJDOvj4za6StV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-b05c-740a-113a0d00c61b\"}}", + "x-ms-client-request-id" : "44584937-20be-4134-ba86-c37156f4e7ab", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "cd9c7fe1-966a-4856-bde6-2efa6699eba4", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:59 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:39 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "NvnuDVK8jk+lwfu1usigFA.0", - "X-Azure-Ref" : "0w4fLYAAAAACTgBaLFvqURrFO/izXbsfvV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f807-e3c7-593a0d00f7b5\"}}", - "x-ms-client-request-id" : "1cb2d7db-9b56-4cf2-8f0d-c767ee96d69b", + "X-Processing-Time" : "108ms", + "MS-CV" : "+nb5VUQW+0yiLpMv9/Y1Tw.0", + "X-Azure-Ref" : "0E9jLYAAAAABxe8Pz35uPRqHKp2GKgGZ6V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-b115-51b9-a43a0d00366a\"}}", + "x-ms-client-request-id" : "cd9c7fe1-966a-4856-bde6-2efa6699eba4", "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_0000000a-baeb-f7ca-e3c7-593a0d00f7b4/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-b05c-740a-113a0d00c61b/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "98b306da-eadf-41e4-acf3-06350dfdc0b2", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:59 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:40 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "43ms", - "MS-CV" : "2+NhfxagMEarsI0x0clphw.0", - "X-Azure-Ref" : "0w4fLYAAAAAAkp3noOpeVTq6iqE/YHoI4V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:58.6760888+00:00\"}", - "x-ms-client-request-id" : "c770ce45-ce98-4273-bee2-e65bd7d47683", + "X-Processing-Time" : "170ms", + "MS-CV" : "2gkeY9H+bEGzyn7YxV+LYg.0", + "X-Azure-Ref" : "0E9jLYAAAAAC4vX5PM6OrSow4Ici+WOVxV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:39.0231868+00:00\"}", + "x-ms-client-request-id" : "98b306da-eadf-41e4-acf3-06350dfdc0b2", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "0f59c16e-49c2-4832-9ca5-f56e4f8e0382", + "x-ms-client-request-id" : "100f5090-aa0b-4f43-979a-f8209dc01bb2", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:59 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:40 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "819ms", - "MS-CV" : "gLSn/i+P2EasjxpHvDCkfw.0", - "X-Azure-Ref" : "0w4fLYAAAAABNPZB4ih9BQZgZZrIrt6o4V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:4TYGIlk9QPzAyVTERNGxGui-oVj46rbqF41MSzSlGYY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:59Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f7ca-e3c7-593a0d00f7b4\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f7ca-e3c7-593a0d00f7b4\"}}}}", + "X-Processing-Time" : "406ms", + "MS-CV" : "SdxmL3xC90uo/LXKDQkZqg.0", + "X-Azure-Ref" : "0FNjLYAAAAAAbfoD1ou5dR6gi+I1LM5s+V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:cBWiXgcpTLtoiZGE1t6sSOGf77ftG7Qg_7nRCXqNgvg1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:40Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-b05c-740a-113a0d00c61b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-b05c-740a-113a0d00c61b\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A4TYGIlk9QPzAyVTERNGxGui-oVj46rbqF41MSzSlGYY1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AcBWiXgcpTLtoiZGE1t6sSOGf77ftG7Qg_7nRCXqNgvg1@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 7925ab7ff1449..6d11105c0cf53 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "55e74623-dbb3-4cc5-bb5a-0e702403c325", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:05 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:46 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "77ms", - "MS-CV" : "jlgbBxpx8E2gEkWRwJX1cw.0", - "X-Azure-Ref" : "0yYfLYAAAAABBK+PDHCrEQpyJ+yUBq0dlV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-10a1-e3c7-593a0d00f7c0\"}}", - "x-ms-client-request-id" : "c7c7fb7d-231f-444f-9998-c57e5383be6e", + "X-Processing-Time" : "94ms", + "MS-CV" : "cWKvYh6DVU6xsnqI3zA56w.0", + "X-Azure-Ref" : "0GtjLYAAAAAC+V2Pha1F3Q5RxJ65t0V/2V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-ca3e-740a-113a0d00c621\"}}", + "x-ms-client-request-id" : "55e74623-dbb3-4cc5-bb5a-0e702403c325", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "eb1a6d82-59d6-4cb2-a52e-193b506cdfda", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:05 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "3GREL7QTL0q4xOGk4MTOiw.0", - "X-Azure-Ref" : "0yYfLYAAAAADlbLQsaspqRIwXTpd11MuQV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-10df-e3c7-593a0d00f7c1\"}}", - "x-ms-client-request-id" : "1463c720-d725-4eb7-a77d-7a103c27fb85", + "X-Processing-Time" : "95ms", + "MS-CV" : "ziN49t8pBEm3C1Nfwz8qfA.0", + "X-Azure-Ref" : "0GtjLYAAAAAAWumuvvFr9TKmJEvSzjLaSV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-caf4-51b9-a43a0d003673\"}}", + "x-ms-client-request-id" : "eb1a6d82-59d6-4cb2-a52e-193b506cdfda", "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_0000000a-baec-10a1-e3c7-593a0d00f7c0/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-ca3e-740a-113a0d00c621/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "f6fdd4d9-58c5-4f57-a2ad-b3dfc054af4c", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:05 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:46 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "70ms", - "MS-CV" : "Pe/hNvq3kkiVQoBWws3t9w.0", - "X-Azure-Ref" : "0yYfLYAAAAACjekkVlykWTaZlwVZXNhtOV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:05.0631857+00:00\"}", - "x-ms-client-request-id" : "70282ff3-13d1-4e39-b13d-8b74a2847dfa", + "X-Processing-Time" : "190ms", + "MS-CV" : "Xaf3qr1Nr0OwVljMnpP0Cw.0", + "X-Azure-Ref" : "0GtjLYAAAAAAMP9mVL+RTSYjg/2EBVwN3V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:45.6538721+00:00\"}", + "x-ms-client-request-id" : "f6fdd4d9-58c5-4f57-a2ad-b3dfc054af4c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "58d44957-2497-4290-b11a-d5c4350556e1", + "x-ms-client-request-id" : "db8e3dc2-ae11-4a5b-ad58-5352bb7eede9", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:06 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:46 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "578ms", - "MS-CV" : "EfTYV8Q+nEqx+YdSUfaRYQ.0", - "X-Azure-Ref" : "0yofLYAAAAAC+xkgCVO96QZodZ0aJ1XsWV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:SXkBEuaTcn4gQUAQScYQ88PNI7tQfwIP1PmH3JL305Q1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:06Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-10a1-e3c7-593a0d00f7c0\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-10a1-e3c7-593a0d00f7c0\"}}}}", + "X-Processing-Time" : "363ms", + "MS-CV" : "LqOp6TdXXEqIzhtzsGiKFw.0", + "X-Azure-Ref" : "0GtjLYAAAAAB/yB1cGmDcTrm6qb5yXdnqV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:dmlww_HTirPx48_luUtMUuMbDeZHvIXY51-xew7cWo41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:46Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-ca3e-740a-113a0d00c621\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-ca3e-740a-113a0d00c621\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ASXkBEuaTcn4gQUAQScYQ88PNI7tQfwIP1PmH3JL305Q1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Admlww_HTirPx48_luUtMUuMbDeZHvIXY51-xew7cWo41@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 680bc6cc22fba..e32a4b8f54ef6 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "dc5c0bb2-eaca-40f0-887b-1a196ba53d0f", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:53 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:32 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "AftGlV1ROUSZUYWExH1dtw.0", - "X-Azure-Ref" : "0vYfLYAAAAAB9nI6o//WLTaVA+fbygoCIV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e151-e3c7-593a0d00f7a7\"}}", - "x-ms-client-request-id" : "a6a4233d-2712-4b87-83e5-bc4f370babcb", + "X-Processing-Time" : "97ms", + "MS-CV" : "yK25ssUvtUCgrSNUkCzr/w.0", + "X-Azure-Ref" : "0DNjLYAAAAACTgLXO5k0MQY6avKK8nKLgV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-93ec-740a-113a0d00c613\"}}", + "x-ms-client-request-id" : "dc5c0bb2-eaca-40f0-887b-1a196ba53d0f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "0ece72cd-7d21-4769-8fbc-eaef9abaac24", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:53 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:32 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "y4BGSdKuP0+iH+/hkYqggA.0", - "X-Azure-Ref" : "0vYfLYAAAAACJQZg8csnaSKTPqF+rtnp4V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e191-e3c7-593a0d00f7a8\"}}", - "x-ms-client-request-id" : "97a5a754-4892-4b3d-8db1-aeacdc19e340", + "X-Processing-Time" : "97ms", + "MS-CV" : "iGq0qJGusUWlPsKlcTNlHg.0", + "X-Azure-Ref" : "0DNjLYAAAAADDEzxGTbx1RY+ijTudDhRQV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-94a3-51b9-a43a0d003661\"}}", + "x-ms-client-request-id" : "0ece72cd-7d21-4769-8fbc-eaef9abaac24", "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_0000000a-baeb-e151-e3c7-593a0d00f7a7/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-93ec-740a-113a0d00c613/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "323f31d2-1d41-4719-b57e-acdb7015cf40", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:53 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:32 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "37ms", - "MS-CV" : "vU9pBKCpoEa0N561tlNCbA.0", - "X-Azure-Ref" : "0vYfLYAAAAAAKwzB+lgL9Qbr/HkvdDFbfV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:52.9196794+00:00\"}", - "x-ms-client-request-id" : "13196283-d66b-42d2-9532-0731f30506ab", + "X-Processing-Time" : "169ms", + "MS-CV" : "EMHe9uyprk2ztA4lh4r06w.0", + "X-Azure-Ref" : "0DNjLYAAAAAAO7iHOQ6OATb/VPHMJ7tc3V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:31.7319509+00:00\"}", + "x-ms-client-request-id" : "323f31d2-1d41-4719-b57e-acdb7015cf40", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "15416d93-2897-44c5-a49b-920c8f0d038f", + "x-ms-client-request-id" : "daae82a4-c201-4d2f-be1b-2ab1c4780dae", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:53 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:32 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "531ms", - "MS-CV" : "YwzpTfcH3km3n0N5QcldXQ.0", - "X-Azure-Ref" : "0vYfLYAAAAAC/UqKWTnkdSJ1ejaxfSnvTV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:eM96_jVd1Lvfoan1mrBtlQyCAWgOuzhzMU90L4le7ZM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:54Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e151-e3c7-593a0d00f7a7\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-e151-e3c7-593a0d00f7a7\"}}}}", + "X-Processing-Time" : "361ms", + "MS-CV" : "cewOPfjgeESCZtwsDFnXlw.0", + "X-Azure-Ref" : "0DNjLYAAAAAA+M1j0swmFR4vSr9oQ36r9V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:s8-clXkMwsiV0ka5-HaJn643TQN_6poLitTAaTN61pI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:32Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-93ec-740a-113a0d00c613\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-93ec-740a-113a0d00c613\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AeM96_jVd1Lvfoan1mrBtlQyCAWgOuzhzMU90L4le7ZM1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3As8-clXkMwsiV0ka5-HaJn643TQN_6poLitTAaTN61pI1@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 d6ecb420e6992..3de8ce14b9690 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "ce968885-a942-41d7-9627-1f6ba99ccaef", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:43 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:17 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "60ms", - "MS-CV" : "+r7oyRYM4UGsNDTgMi7cbg.0", - "X-Azure-Ref" : "0tIfLYAAAAABCr8xUSB9qRIIJTZFTbZe0V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-bc04-e3c7-593a0d00f789\"}}", - "x-ms-client-request-id" : "9e5883c2-a6e9-4434-bb36-7b8570a8af8c", + "X-Processing-Time" : "119ms", + "MS-CV" : "CQylo7yPHUuCIRAmjTacLw.0", + "X-Azure-Ref" : "0/dfLYAAAAAC2RM5YDgLvRaIsT6nuJlcAV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-5c53-740a-113a0d00c606\"}}", + "x-ms-client-request-id" : "ce968885-a942-41d7-9627-1f6ba99ccaef", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "4f8f3f95-551c-43f3-9da5-3a78269ff930", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:43 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:17 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "HIU2kwLLOUqh/vKGaMswvw.0", - "X-Azure-Ref" : "0tIfLYAAAAABpiHzJt/2YSIcnw5i6RtwgV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-bc44-e3c7-593a0d00f78a\"}}", - "x-ms-client-request-id" : "114a0f7f-ec5c-49a4-8864-d49894446ead", + "X-Processing-Time" : "68ms", + "MS-CV" : "mgMWW8wNHkaYK2tvkFzM2A.0", + "X-Azure-Ref" : "0/tfLYAAAAAChUWlZOjJ5Ro55T1y1wtWLV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-5cf0-51b9-a43a0d003650\"}}", + "x-ms-client-request-id" : "4f8f3f95-551c-43f3-9da5-3a78269ff930", "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_0000000a-baeb-bc04-e3c7-593a0d00f789/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-5c53-740a-113a0d00c606/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "5854914a-dcbc-44a3-8ea5-1555989921b5", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:44 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:17 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "41ms", - "MS-CV" : "P+vzskQulU2QlgXZ5I0Qdg.0", - "X-Azure-Ref" : "0tIfLYAAAAADJlcjFyd/4Tr6ACLhVrhhkV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:43.3734766+00:00\"}", - "x-ms-client-request-id" : "9b9239a5-4935-494d-9058-a91c5b447f34", + "X-Processing-Time" : "167ms", + "MS-CV" : "1GwQybp5c0qejq1j/N9Y1w.0", + "X-Azure-Ref" : "0/tfLYAAAAACgmaNd1Z3EQ6pw8q5f4zEGV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:17.4699071+00:00\"}", + "x-ms-client-request-id" : "5854914a-dcbc-44a3-8ea5-1555989921b5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "10f47f1f-fd04-48eb-9b75-f6350c7bc388", + "x-ms-client-request-id" : "961f7b3a-94a7-4dcb-bf17-ef888fe52f4f", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:44 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:18 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "503ms", - "MS-CV" : "0cZPv1x61kieTjLnr37iww.0", - "X-Azure-Ref" : "0tIfLYAAAAABw6aX830HgSpCtRyBBylt4V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:wm4iEnVQYY3zh8oY8ouaVJX2yRTl31Sf7-fAuEyvcKQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:44Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-bc04-e3c7-593a0d00f789\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-bc04-e3c7-593a0d00f789\"}}}}", + "X-Processing-Time" : "500ms", + "MS-CV" : "f4Rk7eFFakqdTfXCrimy5w.0", + "X-Azure-Ref" : "0/tfLYAAAAADQ4I9lea7aRp6iESYR3fslV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:FheBpjhvWJ-tjih9Mo7dRwuyE-NM3VgaCKb9N9938xY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:18Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-5c53-740a-113a0d00c606\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-5c53-740a-113a0d00c606\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Awm4iEnVQYY3zh8oY8ouaVJX2yRTl31Sf7-fAuEyvcKQ1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AFheBpjhvWJ-tjih9Mo7dRwuyE-NM3VgaCKb9N9938xY1@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 a70fea0c60bd3..a6fb9dd5a76a6 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "d7c10020-102f-4f15-83ce-1f9969ba53e7", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:44 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:18 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "64ms", - "MS-CV" : "We3CGTelcE+TcnyFkrmmWw.0", - "X-Azure-Ref" : "0tIfLYAAAAADYSz6s+H+8QZNp+MGql9Z/V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-bf0d-e3c7-593a0d00f78b\"}}", - "x-ms-client-request-id" : "c2161b90-1b17-4d1c-9ddf-16101b13a977", + "X-Processing-Time" : "96ms", + "MS-CV" : "+mmwaLtU6UuZ5PndPPve6w.0", + "X-Azure-Ref" : "0/9fLYAAAAABf7wNhcFi6Ra1V4DFn4KjQV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-6084-740a-113a0d00c607\"}}", + "x-ms-client-request-id" : "d7c10020-102f-4f15-83ce-1f9969ba53e7", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "71c6dcae-70ee-4d0e-b963-8da7ea6cc98a", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:44 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:18 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "Km2gfJLxIEWa/Q+8W6IFSg.0", - "X-Azure-Ref" : "0tYfLYAAAAACXPmrMAAHBRZmUwds5X0qyV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-bf44-e3c7-593a0d00f78c\"}}", - "x-ms-client-request-id" : "37c274a5-32a2-4c52-9ca1-503c5af26737", + "X-Processing-Time" : "77ms", + "MS-CV" : "Rx3DcMus+USXm13JVlPl5A.0", + "X-Azure-Ref" : "0/9fLYAAAAACjaQ/7ORK1T4JW5PXBvH9nV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-612f-51b9-a43a0d003651\"}}", + "x-ms-client-request-id" : "71c6dcae-70ee-4d0e-b963-8da7ea6cc98a", "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_0000000a-baeb-bf0d-e3c7-593a0d00f78b/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-6084-740a-113a0d00c607/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "7b112540-7ed5-4a33-ac48-28cd0b5cd75e", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:44 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:18 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "113ms", - "MS-CV" : "FppFfqgjekyOVBT8Ay+j4A.0", - "X-Azure-Ref" : "0tYfLYAAAAABFXQANYKL1SoPcPk0cB/GvV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:44.2113397+00:00\"}", - "x-ms-client-request-id" : "f9511b86-0d3c-4808-ac28-7c9ef90c4a4f", + "X-Processing-Time" : "220ms", + "MS-CV" : "CtsNwd9m/0m+hs9tlRZ1QA.0", + "X-Azure-Ref" : "0/9fLYAAAAACSOi0Xm9vkRpi487SvmFgQV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:18.616161+00:00\"}", + "x-ms-client-request-id" : "7b112540-7ed5-4a33-ac48-28cd0b5cd75e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4212da2e-9de4-4476-809b-9a35086243a7", + "x-ms-client-request-id" : "f4808e6f-2ada-4497-ba00-0c79182fcecd", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:45 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:19 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "628ms", - "MS-CV" : "NA4k1a85NkugzrB++uu/IQ.0", - "X-Azure-Ref" : "0tYfLYAAAAACOj5HCfdyJRpIvsQrVirp7V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:4F-KwDaiiFsGUzDkuImzhSQ64XK_AtQf9j2r-6Bg48E1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:45Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-bf0d-e3c7-593a0d00f78b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-bf0d-e3c7-593a0d00f78b\"}}}}", + "X-Processing-Time" : "566ms", + "MS-CV" : "XzWNyqQaUEeTyIgeMnNWAw.0", + "X-Azure-Ref" : "0/9fLYAAAAADVuohQR851RIMyvSgYNW4eV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:LTJiPkrcEF1iyqJcPuZb9GNRY1JW_CrFrpgR8hswnmc1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:19Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-6084-740a-113a0d00c607\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-6084-740a-113a0d00c607\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A4F-KwDaiiFsGUzDkuImzhSQ64XK_AtQf9j2r-6Bg48E1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ALTJiPkrcEF1iyqJcPuZb9GNRY1JW_CrFrpgR8hswnmc1@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 f1097f5b13c59..1d1c2cd0d4cc8 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "cd61dc15-a792-49d4-bf19-5953df09332f", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:09 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:50 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "58ms", - "MS-CV" : "GdTw0IvFnU2PSjiFNP6Raw.0", - "X-Azure-Ref" : "0zYfLYAAAAAA7M3rbcRXAQ64kyqLU61uEV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-1ff1-e3c7-593a0d00f7c9\"}}", - "x-ms-client-request-id" : "0e4ee7f7-c306-4168-a754-965d719ebf4c", + "X-Processing-Time" : "96ms", + "MS-CV" : "UVCNe5yDMUSSsUE09dYZ3Q.0", + "X-Azure-Ref" : "0HtjLYAAAAADDbgXa6hIOTIE+sd82g3MVV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-dc1c-740a-113a0d00c625\"}}", + "x-ms-client-request-id" : "cd61dc15-a792-49d4-bf19-5953df09332f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "e401a5b1-e62c-4c97-b4b7-069598e12b95", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:09 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:50 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "36ms", - "MS-CV" : "09Xe7APF5kO10BEE4y41nA.0", - "X-Azure-Ref" : "0zYfLYAAAAABa05xUUi0kT653RlP4K+1YV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-2069-e3c7-593a0d00f7ca\"}}", - "x-ms-client-request-id" : "e116390c-7e04-48f5-9607-6de1111695b4", + "X-Processing-Time" : "92ms", + "MS-CV" : "EarjL7w8HUu11vCLgZf2rg.0", + "X-Azure-Ref" : "0HtjLYAAAAABcJxbEyrNNTowyn+B3wTNqV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-dcd4-51b9-a43a0d003677\"}}", + "x-ms-client-request-id" : "e401a5b1-e62c-4c97-b4b7-069598e12b95", "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_0000000a-baec-1ff1-e3c7-593a0d00f7c9/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-dc1c-740a-113a0d00c625/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "5b23452f-1dd2-4979-adee-31dc4afba15d", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:09 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "108ms", - "MS-CV" : "CG0tSdZNQk+xpz/9MKdWVA.0", - "X-Azure-Ref" : "0zYfLYAAAAABB8Y/MRoZrRZ/3hc+R/hBCV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:09.079727+00:00\"}", - "x-ms-client-request-id" : "669bbb18-5dec-4b9f-b1be-d5b61ac1361c", + "X-Processing-Time" : "192ms", + "MS-CV" : "Yh78h6xfBE+4N94VbLlOWQ.0", + "X-Azure-Ref" : "0H9jLYAAAAAAFFhAPwhNkT7TLCvLw946kV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:50.2321693+00:00\"}", + "x-ms-client-request-id" : "5b23452f-1dd2-4979-adee-31dc4afba15d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "570f9a33-eac2-4624-afd4-ac5f12ffea43", + "x-ms-client-request-id" : "095f388f-c6cb-46bd-be4b-bae25accdec6", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:10 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "559ms", - "MS-CV" : "2M7y+WZtvkiHQUXczJ0ySA.0", - "X-Azure-Ref" : "0zofLYAAAAAB1j1t+JwFYQoGn0hYLLFyCV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:EuvaL1n_yKA9K37UNm3LR1qR-mrpdVw513W-_cGUTkU1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:10Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-1ff1-e3c7-593a0d00f7c9\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-1ff1-e3c7-593a0d00f7c9\"}}}}", + "X-Processing-Time" : "493ms", + "MS-CV" : "DFG3+hlArkeVIAeL2pj2xw.0", + "X-Azure-Ref" : "0H9jLYAAAAACLbhJQu9lXQKTwe70CRhHDV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:j3E67d4fJ4K03D-1-sib116gXPQKcjOmewPJfptcJBk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:51Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-dc1c-740a-113a0d00c625\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-dc1c-740a-113a0d00c625\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AEuvaL1n_yKA9K37UNm3LR1qR-mrpdVw513W-_cGUTkU1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Aj3E67d4fJ4K03D-1-sib116gXPQKcjOmewPJfptcJBk1@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 dcd569b6acb5b..edc2765e61d5c 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "f38f0429-2b05-45de-bd36-0623b2a4343d", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:58 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:38 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "57ms", - "MS-CV" : "eYYS9xVqhk+UZO25wImM4A.0", - "X-Azure-Ref" : "0wofLYAAAAADCUMIhRQJgR49v/b0+5bkNV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f412-e3c7-593a0d00f7b2\"}}", - "x-ms-client-request-id" : "0219d532-8b42-4c0d-87f9-52a1a267130d", + "X-Processing-Time" : "97ms", + "MS-CV" : "qsY23S4dF0ivka329LNfew.0", + "X-Azure-Ref" : "0EtjLYAAAAACAXSYsb5EvT5JGhfzH238aV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-ac8c-740a-113a0d00c619\"}}", + "x-ms-client-request-id" : "f38f0429-2b05-45de-bd36-0623b2a4343d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "b92252af-23d8-48fa-a3fe-28260755ac99", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:58 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:38 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "65ms", - "MS-CV" : "WsPclzdyqUSvGSDBEIt1cQ.0", - "X-Azure-Ref" : "0wofLYAAAAADPxQiN6W3yQZ/687oqA5y0V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f47a-e3c7-593a0d00f7b3\"}}", - "x-ms-client-request-id" : "6c4a96d7-0a51-49a3-a78e-85ef0f4ed94d", + "X-Processing-Time" : "99ms", + "MS-CV" : "uVGqREbNz0yYwNMVm3o7eQ.0", + "X-Azure-Ref" : "0EtjLYAAAAACrnakwThqrRpf4y3fLGBDuV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-ad49-51b9-a43a0d003668\"}}", + "x-ms-client-request-id" : "b92252af-23d8-48fa-a3fe-28260755ac99", "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_0000000a-baeb-f412-e3c7-593a0d00f7b2/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-ac8c-740a-113a0d00c619/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "73b2c970-d9f9-4f10-867f-ee4ccc5dd116", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:58 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:39 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "117ms", - "MS-CV" : "mpolEkH6cEiUHzQnq4Uc/w.0", - "X-Azure-Ref" : "0wofLYAAAAACS4r31b567RrTVY40nwABjV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:57.846387+00:00\"}", - "x-ms-client-request-id" : "25d6fdcf-b214-4185-8194-389480264031", + "X-Processing-Time" : "166ms", + "MS-CV" : "H0e7ncTr7Umjl8k3L73LZA.0", + "X-Azure-Ref" : "0EtjLYAAAAABEsriWesW+SZMKxMcBCxJTV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:38.0375702+00:00\"}", + "x-ms-client-request-id" : "73b2c970-d9f9-4f10-867f-ee4ccc5dd116", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "885e9f4f-0315-454a-be56-675cc9fd8c30", + "x-ms-client-request-id" : "423b5fd7-4fd9-4c67-817f-15132c7f4e37", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:58 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:39 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "540ms", - "MS-CV" : "lW9zx3cEfEKjHDj7FAjOFg.0", - "X-Azure-Ref" : "0wofLYAAAAADMhpxlDIZHTpfdGUEnfjNeV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:98dxjz-o-epdJUXr7UK-Kw5wWJUuAHuTE_bIaTu6odo1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:58Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f412-e3c7-593a0d00f7b2\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-f412-e3c7-593a0d00f7b2\"}}}}", + "X-Processing-Time" : "353ms", + "MS-CV" : "MUC9fJVYjUuxw40gy/1UTw.0", + "X-Azure-Ref" : "0E9jLYAAAAACjDE+Aq5wzSaxkF1sP85B+V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:k24XjWroBbMfybBdI5037z06DK-unoTAd6DENSEEqXo1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:39Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-ac8c-740a-113a0d00c619\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-ac8c-740a-113a0d00c619\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A98dxjz-o-epdJUXr7UK-Kw5wWJUuAHuTE_bIaTu6odo1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ak24XjWroBbMfybBdI5037z06DK-unoTAd6DENSEEqXo1@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 217613dfd9e26..b3e77787d1cc1 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "52e5231d-9de6-45a3-ad56-c967bb579ee0", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:32 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:05 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "33ms", - "MS-CV" : "5ErLLmj2YUeEdvPUJtZ0gw.0", - "X-Azure-Ref" : "0qYfLYAAAAAAUlQiMa64lTbBMrnaJdCyKV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-91e5-e3c7-593a0d00f771\"}}", - "x-ms-client-request-id" : "03fa267e-63ba-454e-b1f6-1911face0cc0", + "X-Processing-Time" : "75ms", + "MS-CV" : "hzjK2NsDbEGtfLc0uSLung.0", + "X-Azure-Ref" : "08dfLYAAAAAArC5SEOYLzRaLCP2uYozIoV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-2d34-51b9-a43a0d003644\"}}", + "x-ms-client-request-id" : "52e5231d-9de6-45a3-ad56-c967bb579ee0", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "24cefa2e-83c0-4539-bd60-c0addb4724a9", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:33 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:05 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "71ms", - "MS-CV" : "BMgDDRW/akqA74VmQqWPwQ.0", - "X-Azure-Ref" : "0qYfLYAAAAADgCOyKaykPQ7rTJQvUPKKgV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-9269-e3c7-593a0d00f772\"}}", - "x-ms-client-request-id" : "87a35656-123e-48a9-acdb-b44dc32949ff", + "X-Processing-Time" : "66ms", + "MS-CV" : "Xm7ynENp+EG9J012Jn50LQ.0", + "X-Azure-Ref" : "08tfLYAAAAACDJRyeVA0dRLmnox07RjDYV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-2dad-edbe-a43a0d004b29\"}}", + "x-ms-client-request-id" : "24cefa2e-83c0-4539-bd60-c0addb4724a9", "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_0000000a-baeb-91e5-e3c7-593a0d00f771/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-2d34-51b9-a43a0d003644/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "827116e0-a2b1-438e-8574-5b3d5a0623ff", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:33 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:05 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "41ms", - "MS-CV" : "iBuG9beqqkq+GvuY4BY5rQ.0", - "X-Azure-Ref" : "0qYfLYAAAAAA0in+j0algTrh3I6lVYi/7V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:32.6642815+00:00\"}", - "x-ms-client-request-id" : "8d396d01-dce9-4ad2-8b56-566570430b56", + "X-Processing-Time" : "141ms", + "MS-CV" : "h36Uy+jUU0aTEdcvzdkoIw.0", + "X-Azure-Ref" : "08tfLYAAAAAARNWtkOJhzRLO55j3+qgMIV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:05.3392393+00:00\"}", + "x-ms-client-request-id" : "827116e0-a2b1-438e-8574-5b3d5a0623ff", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "01285b7d-b80d-40c6-9b55-cbf9e47308fb", + "x-ms-client-request-id" : "de70e4ae-5b0a-40a5-98f3-732463830625", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:33 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:05 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "455ms", - "MS-CV" : "u8rng8FPJUSJZVXOBSixRw.0", - "X-Azure-Ref" : "0qYfLYAAAAADWMG5LUqyBTYhBL4A18EbCV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:aqbP-KM_rdOINUnL6JBigyMX8nbFZNI3VJQ0CbnCf941@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:33Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-91e5-e3c7-593a0d00f771\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-91e5-e3c7-593a0d00f771\"}}}}", + "X-Processing-Time" : "564ms", + "MS-CV" : "qDhHGR3CFUqfIuhoOUxSUg.0", + "X-Azure-Ref" : "08tfLYAAAAAB5FtK4AuPbTaiIHFOPzMXMV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:ZddiP75g9TUOcbBA1-SwtM9DynnhZ-SnqjQOzwWMDXs1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:06Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-2d34-51b9-a43a0d003644\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-2d34-51b9-a43a0d003644\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AaqbP-KM_rdOINUnL6JBigyMX8nbFZNI3VJQ0CbnCf941@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AZddiP75g9TUOcbBA1-SwtM9DynnhZ-SnqjQOzwWMDXs1@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 bc7801caaaf75..9e55dc3879c10 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "ea78498a-7308-4090-bc29-97a83d8e16f2", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:01 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "3+X5mXJMPUCZJCH5WXEgow.0", - "X-Azure-Ref" : "0xYfLYAAAAAAk3h0SJ4UeTY9AU3ZddhhhV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-0110-e3c7-593a0d00f7b8\"}}", - "x-ms-client-request-id" : "5ec6871c-348a-4bd2-989d-04b09128e9a6", + "X-Processing-Time" : "121ms", + "MS-CV" : "juybbSMwN06XG0txLMzKnw.0", + "X-Azure-Ref" : "0FtjLYAAAAAAuBxyPfgLkQaZ5RxziCLdxV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-badb-740a-113a0d00c61d\"}}", + "x-ms-client-request-id" : "ea78498a-7308-4090-bc29-97a83d8e16f2", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "30bbc7f4-d0f0-4696-be33-a95dc367dba7", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:01 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "HfVxBL/OCkKbxWiNZhMtbQ.0", - "X-Azure-Ref" : "0xYfLYAAAAAADG68ZgQuBQ5xwkC0NQocxV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-0164-e3c7-593a0d00f7b9\"}}", - "x-ms-client-request-id" : "e973d554-b1a7-4993-8c1c-d1571eb3d1a7", + "X-Processing-Time" : "94ms", + "MS-CV" : "2M0/S0sCWEmrI67nWxsfnw.0", + "X-Azure-Ref" : "0FtjLYAAAAAAAi59Oujs1S4EQ5FlYri0fV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-bb90-51b9-a43a0d00366f\"}}", + "x-ms-client-request-id" : "30bbc7f4-d0f0-4696-be33-a95dc367dba7", "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_0000000a-baec-0110-e3c7-593a0d00f7b8/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-badb-740a-113a0d00c61d/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "ed89a786-9f42-4619-9297-7a91e9b0a0b7", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:01 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "38ms", - "MS-CV" : "zeYDGEznHEWH4JIHCwQqhg.0", - "X-Azure-Ref" : "0xofLYAAAAABlKwjNzAZARqO57SjNAB/rV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:01.0667309+00:00\"}", - "x-ms-client-request-id" : "02a2e9ad-1c5c-4cf5-b796-5cc489b943cf", + "X-Processing-Time" : "168ms", + "MS-CV" : "qvd1lFVbJ0WUKoFvRiyixg.0", + "X-Azure-Ref" : "0FtjLYAAAAAAI89f/vbVSSq0efGX7U9XNV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:41.6948134+00:00\"}", + "x-ms-client-request-id" : "ed89a786-9f42-4619-9297-7a91e9b0a0b7", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "dc91370e-64d8-482c-8d11-2bcc04da8343", + "x-ms-client-request-id" : "caae258e-dcc4-44c1-a31b-b1aa025fcd7b", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:02 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "854ms", - "MS-CV" : "9pvZYzU5G0S6Q/5J23Xz+g.0", - "X-Azure-Ref" : "0xofLYAAAAAD8gOPnsa1+TJGzZY+3lmshV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:BkS5oECGuSpTOIVMr5uagh7ufkT4-eKnNeMSR6kj0Ao1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:02Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-0110-e3c7-593a0d00f7b8\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-0110-e3c7-593a0d00f7b8\"}}}}", + "X-Processing-Time" : "365ms", + "MS-CV" : "0ctzhgIsZEq78DUcXyx7mg.0", + "X-Azure-Ref" : "0FtjLYAAAAADhOueq2dBoTIIaJ+8RNOMJV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:lALKqHEF4Xqt35fsAGn9mFt0MD4D9XR86GX6t3pTMrM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:42Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-badb-740a-113a0d00c61d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-badb-740a-113a0d00c61d\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ABkS5oECGuSpTOIVMr5uagh7ufkT4-eKnNeMSR6kj0Ao1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AlALKqHEF4Xqt35fsAGn9mFt0MD4D9XR86GX6t3pTMrM1@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 2284fadb1d16b..9070f887c6949 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "b1c5d60b-9c49-4bb0-a366-fa7d9cf078ef", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:34 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:07 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "43ms", - "MS-CV" : "hfqFdQFYckyk9IIpGkVM9w.0", - "X-Azure-Ref" : "0q4fLYAAAAADz5wGRg0n9T4ju3Fn8Yu3FV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-99db-e3c7-593a0d00f775\"}}", - "x-ms-client-request-id" : "150e1668-4197-4213-be2b-65633c729b43", + "X-Processing-Time" : "67ms", + "MS-CV" : "6WdI9R7+v0mU/JAro/wTxA.0", + "X-Azure-Ref" : "09NfLYAAAAABCKk9jMS7fS5trE/2+QnihV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-359c-51b9-a43a0d003646\"}}", + "x-ms-client-request-id" : "b1c5d60b-9c49-4bb0-a366-fa7d9cf078ef", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "28b8abc3-8c37-4fec-99c5-8fc1cf063eeb", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:36 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:07 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "Vdxj2779rkepq4tsWQqGxw.0", - "X-Azure-Ref" : "0rIfLYAAAAAB1t7xRsOQbSLXLgak598YhV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-9da0-e3c7-593a0d00f776\"}}", - "x-ms-client-request-id" : "9c517431-1080-4200-9234-95b89c250afe", + "X-Processing-Time" : "126ms", + "MS-CV" : "rvml1zdW/k+3LLg49CkthQ.0", + "X-Azure-Ref" : "09NfLYAAAAAC2DN4wL9bjQaoGF9TvBRsvV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-373d-740a-113a0d00c5fd\"}}", + "x-ms-client-request-id" : "28b8abc3-8c37-4fec-99c5-8fc1cf063eeb", "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_0000000a-baeb-99db-e3c7-593a0d00f775/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-359c-51b9-a43a0d003646/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "a008070a-6100-4203-87f6-17705e053391", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:34:36 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:08 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "lNG1OA8hw06Wj63a4y/tIw.0", - "X-Azure-Ref" : "0rIfLYAAAAAD6pbhAFl/kTYXHzu7b9KofV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:34:35.5480299+00:00\"}", - "x-ms-client-request-id" : "f4b49ec2-e525-47d5-a41d-4403aaea5cd3", + "X-Processing-Time" : "150ms", + "MS-CV" : "B9285CP7D0K3ULM0xwrNmw.0", + "X-Azure-Ref" : "09NfLYAAAAACe++6C7gQ/SIGeNEhcPsW9V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:07.8261482+00:00\"}", + "x-ms-client-request-id" : "a008070a-6100-4203-87f6-17705e053391", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "11e51edd-ac7e-4b74-8afb-23dbcd1c82af", + "x-ms-client-request-id" : "6fce466e-a05a-410a-b182-7323e53b398b", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:34:36 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:08 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "455ms", - "MS-CV" : "wKvmjY+GgkKZYW8sL1u4yA.0", - "X-Azure-Ref" : "0rIfLYAAAAAD45cjCv2CsTKDZZYqIZ0FbV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:TIFniMLlPagVGOK_sBxMF4ob7VzpkTUQGeoKCewsdQ41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:34:36Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-99db-e3c7-593a0d00f775\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baeb-99db-e3c7-593a0d00f775\"}}}}", + "X-Processing-Time" : "775ms", + "MS-CV" : "6qnmqBhxGESbYB49lvTGNQ.0", + "X-Azure-Ref" : "09NfLYAAAAADQv6D1XvegSrOnPCjwGNO3V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:szoRCAjtj5SCkhZSV30gewYYjIBfq3bxY8HhUHJ057A1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:08Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-359c-51b9-a43a0d003646\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-359c-51b9-a43a0d003646\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ATIFniMLlPagVGOK_sBxMF4ob7VzpkTUQGeoKCewsdQ41@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AszoRCAjtj5SCkhZSV30gewYYjIBfq3bxY8HhUHJ057A1@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 32bf268f70128..c6ff9c5b11d3f 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "4b71f10d-37d6-4274-9895-eeaf0a9d9c54", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:12 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "TY+KXUXTa0qr2FFOZc0OAg.0", - "X-Azure-Ref" : "00YfLYAAAAADy+YX1LDfBQruy5/Pp4MXYV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-2d4e-e3c7-593a0d00f7d4\"}}", - "x-ms-client-request-id" : "f59c5671-3d8e-40a2-b86d-ffbcc8c531c5", + "X-Processing-Time" : "119ms", + "MS-CV" : "qwpAjzMgtUC3iXF6qlWFGQ.0", + "X-Azure-Ref" : "0ItjLYAAAAABXNEDT4XZoS4SkK/1KXaR0V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-ea88-740a-113a0d00c629\"}}", + "x-ms-client-request-id" : "4b71f10d-37d6-4274-9895-eeaf0a9d9c54", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "095b040a-d88a-4873-a6d0-2256cb18147d", "Content-Type" : "application/json" }, "Response" : { @@ -36,22 +38,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:12 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "57ms", - "MS-CV" : "aAJ/isTLiU6Ak+5MT1kywA.0", - "X-Azure-Ref" : "00YfLYAAAAABH03VfOqYERoopKyNZSmBIV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-2da7-e3c7-593a0d00f7d5\"}}", - "x-ms-client-request-id" : "1b0411f4-d315-402f-9f62-84254b0d8cfd", + "X-Processing-Time" : "121ms", + "MS-CV" : "TQKL9Rp3qka4hugZv+ysXw.0", + "X-Azure-Ref" : "0ItjLYAAAAACcPd4KMXHyR75zSWIxuB3UV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-eb5a-51b9-a43a0d00367c\"}}", + "x-ms-client-request-id" : "095b040a-d88a-4873-a6d0-2256cb18147d", "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_0000000a-baec-2d4e-e3c7-593a0d00f7d4/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-ea88-740a-113a0d00c629/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "29b38a6f-a13c-4f66-8b8e-10f16da45450", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:13 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "37ms", - "MS-CV" : "MXX0kpKtDkOCZihM317wzw.0", - "X-Azure-Ref" : "00YfLYAAAAABSQMt6Et8oQ4XlWWjHYS9wV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:12.3983462+00:00\"}", - "x-ms-client-request-id" : "68d86f7b-d3bc-4ad7-ba3a-fc234f3ef5cf", + "X-Processing-Time" : "190ms", + "MS-CV" : "FAW50WurrkSKhtymfBhL1g.0", + "X-Azure-Ref" : "0ItjLYAAAAACFDWLMyKS+SrHbp9fMC4tjV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:17:53.9489168+00:00\"}", + "x-ms-client-request-id" : "29b38a6f-a13c-4f66-8b8e-10f16da45450", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,7 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "676f2de7-3dad-4284-ac89-64ce6bea772f", + "x-ms-client-request-id" : "ad73564c-ccdb-4b19-b724-e46f7b0978c1", "Content-Type" : "application/json" }, "Response" : { @@ -85,14 +88,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:13 GMT", + "Date" : "Thu, 17 Jun 2021 23:17:55 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "650ms", - "MS-CV" : "zwCxPNdm4U2gl5TKktJRAQ.0", - "X-Azure-Ref" : "00YfLYAAAAABNNal7d2ZAR79PzLOZNnG9V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:HPiE-yvierx0Gg_b0fzWwIVp78ABsaDvva66ooFpqCA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:13Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-2d4e-e3c7-593a0d00f7d4\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-2d4e-e3c7-593a0d00f7d4\"}}}}", + "X-Processing-Time" : "492ms", + "MS-CV" : "mB5oQhE0QUOcVAMPtbowzw.0", + "X-Azure-Ref" : "0ItjLYAAAAACowkRgB3M+TbAzVUiGfuESV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:a9UzSuSPXJEl8r4HQrf5jp-CIRzDj5Hi4uJkVYPD3tY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:17:55Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-ea88-740a-113a0d00c629\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc25-ea88-740a-113a0d00c629\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AHPiE-yvierx0Gg_b0fzWwIVp78ABsaDvva66ooFpqCA1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Aa9UzSuSPXJEl8r4HQrf5jp-CIRzDj5Hi4uJkVYPD3tY1@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 37e95de0dc00c..62de9a2506acf 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 @@ -4,7 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f8f6474d-45fe-48e1-92a3-542689445dc0", + "x-ms-client-request-id" : "438fbd07-d79c-4d7d-b1b7-500544f3012d", "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 35bbc02e46de6..a4849d31a7b6c 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "0c0931ab-8dac-4963-85bd-82a6c416aca4", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:36:00 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:59 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "39ms", - "MS-CV" : "7Glx2akSxEKdjCQb5vWbUg.0", - "X-Azure-Ref" : "0AIjLYAAAAABynw5Jv0KFTIoQ2fk+JiqFV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-e743-e3c7-593a0d00f83a\"}}", - "x-ms-client-request-id" : "7b1e3a51-d14b-4386-bf34-4f025f89650a", + "X-Processing-Time" : "96ms", + "MS-CV" : "R9JGrxokCUGclY44K3EVQQ.0", + "X-Azure-Ref" : "0Y9jLYAAAAAAU1X7hUtjMQoSYPZjV37+ZV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-e800-740a-113a0d00c66a\"}}", + "x-ms-client-request-id" : "0c0931ab-8dac-4963-85bd-82a6c416aca4", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "cccd8619-d504-48dd-ac21-5c9afb26dea6", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:36:00 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:59 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "SacpPPcIh0eZGQQeNTsuaA.0", - "X-Azure-Ref" : "0AIjLYAAAAABPjw7BZZJpR4BIWuiJ0DV4V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-e7a3-99c6-593a0d00cc5d\"}}", - "x-ms-client-request-id" : "aa566969-14ab-403e-b6bc-e0dd4dbe7dd2", + "X-Processing-Time" : "106ms", + "MS-CV" : "ZQ/ObmHNfEak0MVQ5ZbSUQ.0", + "X-Azure-Ref" : "0Y9jLYAAAAADCg4OwxklYQ5vevOPoUNjJV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-e8c0-51b9-a43a0d0036ab\"}}", + "x-ms-client-request-id" : "cccd8619-d504-48dd-ac21-5c9afb26dea6", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "00325c1d-aba8-4cb8-b835-2911cc031001", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:36:00 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:59 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "kOGXY7IP0EqQ3AFjQSChcg.0", - "X-Azure-Ref" : "0AIjLYAAAAAC2boDmHdK/QbODDJ0rgWWLV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-e7e2-e3c7-593a0d00f83b\"}}", - "x-ms-client-request-id" : "812fc142-707c-4e2f-b905-e3b130f4f4a9", + "X-Processing-Time" : "95ms", + "MS-CV" : "OHr2cp5eMU+m+VHouTlf2Q.0", + "X-Azure-Ref" : "0Y9jLYAAAAACHphlMT5+0R6KpgwXl+VvjV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-e947-740a-113a0d00c66b\"}}", + "x-ms-client-request-id" : "00325c1d-aba8-4cb8-b835-2911cc031001", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "490079b3-fdc7-448e-8eb0-c766f7baf06b", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:36:00 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:59 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "VrFoVsxTKEOiwbGd2p1CHA.0", - "X-Azure-Ref" : "0AYjLYAAAAADVZA5uvH5QS6aGl4jo3xSnV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-e826-e3c7-593a0d00f83c\"}}", - "x-ms-client-request-id" : "58d2ac9c-66ad-4ce3-b089-678b511bce77", + "X-Processing-Time" : "96ms", + "MS-CV" : "tXGPEfspYU2Kez+z4P26tQ.0", + "X-Azure-Ref" : "0Y9jLYAAAAAAmdWq9v2RUQIbnJBrC0ob1V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-ea0e-7f07-113a0d00174b\"}}", + "x-ms-client-request-id" : "490079b3-fdc7-448e-8eb0-c766f7baf06b", "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_0000000a-baec-e743-e3c7-593a0d00f83a/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-e800-740a-113a0d00c66a/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "931f7b0e-cb30-4f82-b1b6-44b9a8860534", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:36:00 GMT", + "Date" : "Thu, 17 Jun 2021 23:19:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "36ms", - "MS-CV" : "1shSl6sJaEi0Gc7UOUH4xQ.0", - "X-Azure-Ref" : "0AYjLYAAAAAAVyupqSR9yTaEnpDxYzB1XV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:36:00.1389381+00:00\"}", - "x-ms-client-request-id" : "88b28faa-75fa-4bdb-ac5b-e4e7f0a0dedf", + "X-Processing-Time" : "195ms", + "MS-CV" : "JAGgjX8dJ06HLUvkghRmrw.0", + "X-Azure-Ref" : "0Y9jLYAAAAAD+tJV43Y6QQY2eb3J6cV3mV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:18:59.1994867+00:00\"}", + "x-ms-client-request-id" : "931f7b0e-cb30-4f82-b1b6-44b9a8860534", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b489e149-af5e-4bcb-8fce-ff7695e7bf6a", + "x-ms-client-request-id" : "0d80e1ad-a230-49ed-a776-1cdd95e4e5d0", "Content-Type" : "application/json" }, "Response" : { @@ -133,14 +138,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:36:00 GMT", + "Date" : "Thu, 17 Jun 2021 23:19:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "506ms", - "MS-CV" : "33IikpYww0u9A+sOOUzMHg.0", - "X-Azure-Ref" : "0AYjLYAAAAADT7uOPXE5OT4YQ8hu39UYwV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:078N79rHTozyZuDTs7ujfalOiaC664Ec2_inGMi46D81@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:36:01Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-e743-e3c7-593a0d00f83a\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-e743-e3c7-593a0d00f83a\"}}}}", + "X-Processing-Time" : "623ms", + "MS-CV" : "LpIXMlyzGE6bMBQZhYaT+g.0", + "X-Azure-Ref" : "0ZNjLYAAAAAAq+FhRtJT8QKagTkpvMk5lV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:9qNmsy9PhHRQCgAFLcCrQxmSZOx83MLWpvD57Tfv77k1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:19:00Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-e800-740a-113a0d00c66a\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-e800-740a-113a0d00c66a\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A078N79rHTozyZuDTs7ujfalOiaC664Ec2_inGMi46D81@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A9qNmsy9PhHRQCgAFLcCrQxmSZOx83MLWpvD57Tfv77k1@thread.v2" }, "Exception" : null }, { @@ -148,6 +153,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "f4b57669-0d5d-4c34-8a82-681ad842d803", "Content-Type" : "application/json" }, "Response" : { @@ -156,13 +162,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:36:01 GMT", + "Date" : "Thu, 17 Jun 2021 23:19:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "uz95WtMC60i+soh/QlhRPw.0", - "X-Azure-Ref" : "0AYjLYAAAAABdMTdrIw86S4kI0JiKsni+V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-eac7-e3c7-593a0d00f83d\"}}", - "x-ms-client-request-id" : "b7dd5322-ede0-434b-9ab9-4c3ba6137601", + "X-Processing-Time" : "123ms", + "MS-CV" : "OSMQMV/3xku0KWG4le1RmA.0", + "X-Azure-Ref" : "0ZNjLYAAAAAD/Mda/NzuqTq27v4R8hi6CV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-ee78-740a-113a0d00c66c\"}}", + "x-ms-client-request-id" : "f4b57669-0d5d-4c34-8a82-681ad842d803", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -172,6 +178,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "1b57fe9e-8abc-46a4-a4da-7314fff0eb0b", "Content-Type" : "application/json" }, "Response" : { @@ -180,23 +187,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:36:01 GMT", + "Date" : "Thu, 17 Jun 2021 23:19:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "38ms", - "MS-CV" : "ltS1IM4EyUmArxBf/bWXnQ.0", - "X-Azure-Ref" : "0AYjLYAAAAADXs4Psx3D4T4INrOTv0ty6V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-eb0b-99c6-593a0d00cc5e\"}}", - "x-ms-client-request-id" : "d35e2ca4-9659-438b-bdd5-c8e33faafd35", + "X-Processing-Time" : "102ms", + "MS-CV" : "y/SgM7XSnE+8b3nmvq4DRA.0", + "X-Azure-Ref" : "0ZdjLYAAAAAAJsNmzMG0iR6wzVVCv8gtXV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-ef40-51b9-a43a0d0036ad\"}}", + "x-ms-client-request-id" : "1b57fe9e-8abc-46a4-a4da-7314fff0eb0b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:078N79rHTozyZuDTs7ujfalOiaC664Ec2_inGMi46D81@thread.v2/participants/:add?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:9qNmsy9PhHRQCgAFLcCrQxmSZOx83MLWpvD57Tfv77k1@thread.v2/participants/:add?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "12ef8f70-e288-4276-8fcd-af6f1e327f7a", + "x-ms-client-request-id" : "75e9e4ca-6745-4195-b6ac-1934352235f1", "Content-Type" : "application/json" }, "Response" : { @@ -204,76 +211,76 @@ "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", - "X-Processing-Time" : "287ms", - "MS-CV" : "3MFlXj9SfEaKW7uy0VeFsw.0", + "X-Processing-Time" : "298ms", + "MS-CV" : "F5UqveBJwkChHtWl6ovWgA.0", "retry-after" : "0", - "X-Azure-Ref" : "0AYjLYAAAAADlJTUa1Lj1QKycMbV0whkyV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0ZdjLYAAAAAAD8kUH5ulrRb/0LN9945LTV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "201", "Body" : "{}", - "Date" : "Thu, 17 Jun 2021 17:36:01 GMT", + "Date" : "Thu, 17 Jun 2021 23:19:01 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:078N79rHTozyZuDTs7ujfalOiaC664Ec2_inGMi46D81@thread.v2/participants?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:9qNmsy9PhHRQCgAFLcCrQxmSZOx83MLWpvD57Tfv77k1@thread.v2/participants?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "0f5c4f73-d67f-4fb9-9435-e0c7e0968a57" + "x-ms-client-request-id" : "5ab50a3e-4cc1-461c-9bd7-05dbd5966463" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "127ms", - "MS-CV" : "tPPUMkAfK0KP052JGIgBgA.0", + "X-Processing-Time" : "146ms", + "MS-CV" : "vkaNoCLeHUOWEN8bEGx0Fw.0", "retry-after" : "0", - "X-Azure-Ref" : "0AojLYAAAAAAPSZmrIdJCT5uqpjF1kmiLV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0ZdjLYAAAAAA8H7YyFnALTpXv6VSVLtBAV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-e743-e3c7-593a0d00f83a\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-e743-e3c7-593a0d00f83a\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-e7a3-99c6-593a0d00cc5d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-e7a3-99c6-593a0d00cc5d\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-eac7-e3c7-593a0d00f83d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-eac7-e3c7-593a0d00f83d\"}},\"displayName\":\"Added Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-eb0b-99c6-593a0d00cc5e\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-eb0b-99c6-593a0d00cc5e\"}},\"displayName\":\"Added Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", - "Date" : "Thu, 17 Jun 2021 17:36:01 GMT", + "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-e800-740a-113a0d00c66a\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-e800-740a-113a0d00c66a\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-e8c0-51b9-a43a0d0036ab\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-e8c0-51b9-a43a0d0036ab\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-ee78-740a-113a0d00c66c\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-ee78-740a-113a0d00c66c\"}},\"displayName\":\"Added Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-ef40-51b9-a43a0d0036ad\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-ef40-51b9-a43a0d0036ad\"}},\"displayName\":\"Added Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", + "Date" : "Thu, 17 Jun 2021 23:19:01 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:078N79rHTozyZuDTs7ujfalOiaC664Ec2_inGMi46D81@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:9qNmsy9PhHRQCgAFLcCrQxmSZOx83MLWpvD57Tfv77k1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "668ccc8e-38c0-4d8d-b9d3-af8dacd3acfd", + "x-ms-client-request-id" : "a7c6f2ef-884a-44fe-8f13-1d1978646d5d", "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "271ms", - "MS-CV" : "8f+NBgCAjE+Zs9HbNVWxVw.0", + "X-Processing-Time" : "384ms", + "MS-CV" : "O0pwQ8jdd0OYz5sslwbGoA.0", "retry-after" : "0", - "X-Azure-Ref" : "0AojLYAAAAACXohLfNy4VQ7XCiJNCgciDV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0ZdjLYAAAAAAgBfT55bdeTqt+PcJqwlKEV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:36:02 GMT" + "Date" : "Thu, 17 Jun 2021 23:19:02 GMT" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:078N79rHTozyZuDTs7ujfalOiaC664Ec2_inGMi46D81@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:9qNmsy9PhHRQCgAFLcCrQxmSZOx83MLWpvD57Tfv77k1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f2e097d3-6497-464d-ae1f-4667c6d7743a", + "x-ms-client-request-id" : "c34d53ad-e617-435a-bbd8-2d14658f829a", "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "269ms", - "MS-CV" : "QbClr43mzU6iBQRnzH9s0A.0", + "X-Processing-Time" : "204ms", + "MS-CV" : "NjSYTYlliE6n1ayi7GIyTQ.0", "retry-after" : "0", - "X-Azure-Ref" : "0AojLYAAAAAC3xHcXu0DtSbPvaQ0wytwAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0ZtjLYAAAAACF5D0OrKi5Qr4eDNmn0o4sV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:36:02 GMT" + "Date" : "Thu, 17 Jun 2021 23:19:01 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 4b116e0334652..2de35686da746 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "a73cb16d-0261-41bd-a801-0cd1c0a2a901", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:37 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:23 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "55ms", - "MS-CV" : "BHS91EJ9DUG1aVj5S+5kLg.0", - "X-Azure-Ref" : "06YfLYAAAAABAXcS8BxIjRLGlnZxNZXChV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8e20-e3c7-593a0d00f805\"}}", - "x-ms-client-request-id" : "70750707-ab70-46a0-afaf-3b2b1dbc3a61", + "X-Processing-Time" : "98ms", + "MS-CV" : "nsDo4DlEbkiHYK3N/tfPYQ.0", + "X-Azure-Ref" : "0P9jLYAAAAABp3FDLAXRzRaiAiHI0iOCIV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-5c5d-740a-113a0d00c648\"}}", + "x-ms-client-request-id" : "a73cb16d-0261-41bd-a801-0cd1c0a2a901", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "3c93fc68-c891-4648-aefe-daeb07e37164", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:37 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:23 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "YGLOwWDHHUa5avcfek0FvQ.0", - "X-Azure-Ref" : "06ofLYAAAAABEEKqTyxtASJXwczPOi0E4V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8e71-99c6-593a0d00cc43\"}}", - "x-ms-client-request-id" : "bef7a1e4-df31-4a99-a6dc-2aadec46a234", + "X-Processing-Time" : "116ms", + "MS-CV" : "o4NLQxbNnUyoVXH7YkyQPQ.0", + "X-Azure-Ref" : "0P9jLYAAAAADNvXsyA7chRbMfUvMxzsMPV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-5d35-7f07-113a0d001720\"}}", + "x-ms-client-request-id" : "3c93fc68-c891-4648-aefe-daeb07e37164", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "3dcea4c4-cc93-4ba2-81e2-9d64e8347318", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:37 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:24 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "76ZalemxVUal7izSggQbbw.0", - "X-Azure-Ref" : "06ofLYAAAAADfFQR917HcQomnXMdNBE+WV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8eba-e3c7-593a0d00f806\"}}", - "x-ms-client-request-id" : "4f2d7673-e4a4-4035-92a7-c9e5a7ed2344", + "X-Processing-Time" : "95ms", + "MS-CV" : "eujYafh/AEqrrQtAP7RALQ.0", + "X-Azure-Ref" : "0P9jLYAAAAABX6sIP/TLwQ5D6IFkYgH4uV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-5ded-740a-113a0d00c649\"}}", + "x-ms-client-request-id" : "3dcea4c4-cc93-4ba2-81e2-9d64e8347318", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "5e048efa-0367-46b6-b7a5-3d0e3e90886a", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:37 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:23 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "58ms", - "MS-CV" : "hQvP5j31Z065yt1XQkYxng.0", - "X-Azure-Ref" : "06ofLYAAAAAAcEueiN7d5RoHKOEeo8oMIV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8f3a-e3c7-593a0d00f807\"}}", - "x-ms-client-request-id" : "9cc9cd0f-c4c7-47c2-a795-6238f577cef9", + "X-Processing-Time" : "71ms", + "MS-CV" : "VD10YDCRMkGqetET2WMw8Q.0", + "X-Azure-Ref" : "0QNjLYAAAAADPaT7S1dfKQpNptoCL2BxbV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-5e8e-51b9-a43a0d00368f\"}}", + "x-ms-client-request-id" : "5e048efa-0367-46b6-b7a5-3d0e3e90886a", "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_0000000a-baec-8e20-e3c7-593a0d00f805/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-5c5d-740a-113a0d00c648/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "6028ee66-4a0b-4c7f-8555-f5593306ea50", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:38 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:24 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "36ms", - "MS-CV" : "jUeviibSlEySLJMHfYT07w.0", - "X-Azure-Ref" : "06ofLYAAAAAD5uGzDFTnbTaF3OCFkgcauV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:37.3792129+00:00\"}", - "x-ms-client-request-id" : "df4b971d-e60f-49d3-80b5-6ebf2dc90c3c", + "X-Processing-Time" : "168ms", + "MS-CV" : "e3qsf8ei6kqnehDFFHWrmA.0", + "X-Azure-Ref" : "0QNjLYAAAAADuBiNFGzXASqyBhL2ubN6HV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:18:23.4546551+00:00\"}", + "x-ms-client-request-id" : "6028ee66-4a0b-4c7f-8555-f5593306ea50", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "db7279ea-ab3b-4419-b822-65f698fe4b76", + "x-ms-client-request-id" : "09bf8fcf-4664-414c-a5bf-11507483ec69", "Content-Type" : "application/json" }, "Response" : { @@ -133,14 +138,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:38 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:24 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "716ms", - "MS-CV" : "QXwTP/rWrE+Ya6K0eJmsoQ.0", - "X-Azure-Ref" : "06ofLYAAAAABgQRJ1OK5ESKUdrDvOC9oGV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:3quBkbah9wB5s0uuMGyrR_KPbtWaYcYOZ9nRK0kEUBc1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:38Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8e20-e3c7-593a0d00f805\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8e20-e3c7-593a0d00f805\"}}}}", + "X-Processing-Time" : "706ms", + "MS-CV" : "EESw/KSCbUus/WEPwJL1fw.0", + "X-Azure-Ref" : "0QNjLYAAAAADlXjlzOR9USJJH8javnBqDV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:08LJeHhABinWHyr3TVjSd0wFoF9jOhgEptL32ZV4C0M1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:24Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-5c5d-740a-113a0d00c648\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-5c5d-740a-113a0d00c648\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A3quBkbah9wB5s0uuMGyrR_KPbtWaYcYOZ9nRK0kEUBc1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A08LJeHhABinWHyr3TVjSd0wFoF9jOhgEptL32ZV4C0M1@thread.v2" }, "Exception" : null }, { @@ -148,6 +153,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "06494bb8-add7-4e35-a3c9-c9305792cf88", "Content-Type" : "application/json" }, "Response" : { @@ -156,13 +162,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:38 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:25 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "59ms", - "MS-CV" : "3QC7RmwWrkCGWcshIg6CDQ.0", - "X-Azure-Ref" : "064fLYAAAAADmqnZmttkiTJDD5Q5FGyuvV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-92e5-e3c7-593a0d00f808\"}}", - "x-ms-client-request-id" : "f6a685af-46f6-45d9-b591-ef6f54335ba7", + "X-Processing-Time" : "93ms", + "MS-CV" : "2Dkblde3K0+4RzeP+eXoBA.0", + "X-Azure-Ref" : "0QdjLYAAAAADi7VpCA181TY97o2Pr39+hV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-630b-740a-113a0d00c64b\"}}", + "x-ms-client-request-id" : "06494bb8-add7-4e35-a3c9-c9305792cf88", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -172,6 +178,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "64c7e72a-fa6b-41ae-a513-c3bf7a63c776", "Content-Type" : "application/json" }, "Response" : { @@ -180,23 +187,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:38 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:25 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "SW/SlwS/00ufSCY4xvWJiQ.0", - "X-Azure-Ref" : "064fLYAAAAADuiIf4VwCUSpXeyCz5XWcPV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-93aa-99c6-593a0d00cc44\"}}", - "x-ms-client-request-id" : "e9ba16bb-638b-428c-9e6d-738881e89c3d", + "X-Processing-Time" : "91ms", + "MS-CV" : "Ry/xz2dZRk6aXcF3fiCdFA.0", + "X-Azure-Ref" : "0QdjLYAAAAACG3/Y/opXrS7i9T64CDxEdV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-63b2-7f07-113a0d001723\"}}", + "x-ms-client-request-id" : "64c7e72a-fa6b-41ae-a513-c3bf7a63c776", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:3quBkbah9wB5s0uuMGyrR_KPbtWaYcYOZ9nRK0kEUBc1@thread.v2/participants/:add?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:08LJeHhABinWHyr3TVjSd0wFoF9jOhgEptL32ZV4C0M1@thread.v2/participants/:add?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "3b73320c-62f3-4adb-90c3-2a36e605b28e", + "x-ms-client-request-id" : "4ef62d0f-ddc6-4f6c-ba8b-e94db95d4e3e", "Content-Type" : "application/json" }, "Response" : { @@ -204,98 +211,98 @@ "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", - "X-Processing-Time" : "209ms", - "MS-CV" : "FNxMbJOl0EiFPK1p7v1F5g.0", + "X-Processing-Time" : "284ms", + "MS-CV" : "ezSV3dajB0ie4JtLhWdQDQ.0", "retry-after" : "0", - "X-Azure-Ref" : "064fLYAAAAAByOw1beliVQbfkuiw0uCOfV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0QdjLYAAAAACmXvS3iFHMTqy4/2z577cDV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "201", "Body" : "{}", - "Date" : "Thu, 17 Jun 2021 17:35:39 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:25 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:3quBkbah9wB5s0uuMGyrR_KPbtWaYcYOZ9nRK0kEUBc1@thread.v2/participants?maxPageSize=2&api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:08LJeHhABinWHyr3TVjSd0wFoF9jOhgEptL32ZV4C0M1@thread.v2/participants?maxPageSize=2&api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9fb83557-333c-4401-9e6b-5d5dc4d65978" + "x-ms-client-request-id" : "94286d0a-6318-4588-b332-c1a389cdd3d4" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "137ms", - "MS-CV" : "Mhyc5xkmukih2wR0AvyO5w.0", + "X-Processing-Time" : "107ms", + "MS-CV" : "VJrGqUCgs06T346rSn8Zqw.0", "retry-after" : "0", - "X-Azure-Ref" : "064fLYAAAAAA/dUaF+aviSLKQHIvS+g08V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0QdjLYAAAAADYrwpR697JRo9bnTfO6rNwV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8e20-e3c7-593a0d00f805\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8e20-e3c7-593a0d00f805\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8e71-99c6-593a0d00cc43\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8e71-99c6-593a0d00cc43\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}],\"nextLink\":\"https://chat-prod-e2e.communication.azure.com/chat/threads/19:3quBkbah9wB5s0uuMGyrR_KPbtWaYcYOZ9nRK0kEUBc1@thread.v2/participants?skip=2&maxPageSize=2&api-version=2021-04-05-preview6\"}", - "Date" : "Thu, 17 Jun 2021 17:35:39 GMT", + "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-5c5d-740a-113a0d00c648\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-5c5d-740a-113a0d00c648\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-5d35-7f07-113a0d001720\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-5d35-7f07-113a0d001720\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}],\"nextLink\":\"https://chat-prod-e2e.communication.azure.com/chat/threads/19:08LJeHhABinWHyr3TVjSd0wFoF9jOhgEptL32ZV4C0M1@thread.v2/participants?skip=2&maxPageSize=2&api-version=2021-04-05-preview6\"}", + "Date" : "Thu, 17 Jun 2021 23:18:25 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:3quBkbah9wB5s0uuMGyrR_KPbtWaYcYOZ9nRK0kEUBc1@thread.v2/participants?skip=2&maxPageSize=2&api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:08LJeHhABinWHyr3TVjSd0wFoF9jOhgEptL32ZV4C0M1@thread.v2/participants?skip=2&maxPageSize=2&api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "35d6557b-97fd-442c-becc-220a74f5f12d" + "x-ms-client-request-id" : "cddc1d2e-d465-4f13-a8c7-a7491563dcc1" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "94ms", - "MS-CV" : "P9zVIfS9MEKrPagUXcqSqA.0", + "X-Processing-Time" : "100ms", + "MS-CV" : "dO/46I/iGkOw/7KTyzBUGQ.0", "retry-after" : "0", - "X-Azure-Ref" : "064fLYAAAAAA+0mo7xfDzTojnQ3H+DSdIV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0QtjLYAAAAAA4f0BHccr8RLWiVVFsVm/qV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-92e5-e3c7-593a0d00f808\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-92e5-e3c7-593a0d00f808\"}},\"displayName\":\"Added Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-93aa-99c6-593a0d00cc44\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-93aa-99c6-593a0d00cc44\"}},\"displayName\":\"Added Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", - "Date" : "Thu, 17 Jun 2021 17:35:39 GMT", + "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-630b-740a-113a0d00c64b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-630b-740a-113a0d00c64b\"}},\"displayName\":\"Added Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-63b2-7f07-113a0d001723\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-63b2-7f07-113a0d001723\"}},\"displayName\":\"Added Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", + "Date" : "Thu, 17 Jun 2021 23:18:26 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:3quBkbah9wB5s0uuMGyrR_KPbtWaYcYOZ9nRK0kEUBc1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:08LJeHhABinWHyr3TVjSd0wFoF9jOhgEptL32ZV4C0M1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b555fa87-affc-4020-85c5-40e5d4cb6fa0", + "x-ms-client-request-id" : "818b5a60-61fb-4965-bb30-2d43ba0f9c40", "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "192ms", - "MS-CV" : "vtPxLTOJ70e8hr0JgBeH+Q.0", + "X-Processing-Time" : "267ms", + "MS-CV" : "1iP4+S1xikas5nv1QWWeJg.0", "retry-after" : "0", - "X-Azure-Ref" : "07IfLYAAAAACOB7FV++RaToe35A8RJMmEV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0QtjLYAAAAABdhWslnXACQ7Fj/vaDhItgV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:35:39 GMT" + "Date" : "Thu, 17 Jun 2021 23:18:25 GMT" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:3quBkbah9wB5s0uuMGyrR_KPbtWaYcYOZ9nRK0kEUBc1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:08LJeHhABinWHyr3TVjSd0wFoF9jOhgEptL32ZV4C0M1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "22938672-7a95-450a-9ede-4c27a2b24d1b", + "x-ms-client-request-id" : "229596db-11ee-489e-8bbe-c6dd43ae4b3c", "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "194ms", - "MS-CV" : "GnR36EJqeUy/yZDMa5posA.0", + "X-Processing-Time" : "281ms", + "MS-CV" : "lmxAH+E2wEKVgTX9R8D68A.0", "retry-after" : "0", - "X-Azure-Ref" : "07IfLYAAAAAD9YZlOksuoS7f5EM6uyjk3V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0QtjLYAAAAACoA2DLZgbdQJ4+PD9yy5dVV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:35:40 GMT" + "Date" : "Thu, 17 Jun 2021 23:18:26 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 e19fde1c49cb7..f1aef60d91189 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "f8b8a6ed-f17c-44dd-a18f-2504a4632410", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:21 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:03 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "VVscBXM0PU28QaV9HW88dQ.0", - "X-Azure-Ref" : "02ofLYAAAAACSLiLBzYAbTIQuvsh0fdqtV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-50fd-e3c7-593a0d00f7e5\"}}", - "x-ms-client-request-id" : "9d6c3697-455a-4f1a-a63c-156e3ea1c06f", + "X-Processing-Time" : "123ms", + "MS-CV" : "0hETBgA7zEa8l/8KD82W5A.0", + "X-Azure-Ref" : "0LNjLYAAAAAAmHBAcabqISrHlvq+Jry9rV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-1150-7f07-113a0d001710\"}}", + "x-ms-client-request-id" : "f8b8a6ed-f17c-44dd-a18f-2504a4632410", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "c98fe072-156b-4288-a239-208411201fc4", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:22 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "86ms", - "MS-CV" : "ExhAxuBES0m2Sdp7dqgNeQ.0", - "X-Azure-Ref" : "02ofLYAAAAAAL1tF0LDX1SZorVXk3VcwaV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-5176-e3c7-593a0d00f7e6\"}}", - "x-ms-client-request-id" : "e6070172-e0c9-43d2-853e-bd854574ec7d", + "X-Processing-Time" : "96ms", + "MS-CV" : "aEmiblB/SE+Nm1625o7C8A.0", + "X-Azure-Ref" : "0LNjLYAAAAABvLt8HCsdrRbVysEzQDD1WV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-11f9-740a-113a0d00c632\"}}", + "x-ms-client-request-id" : "c98fe072-156b-4288-a239-208411201fc4", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "1d8a7f3f-c448-4336-9178-3bbbd860883a", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:21 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "61ms", - "MS-CV" : "EgHa3dK3hES0IJCSXF/ACA.0", - "X-Azure-Ref" : "02ofLYAAAAAAJiS1h0saLQLk1xAFwbmoBV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-51cd-e3c7-593a0d00f7e7\"}}", - "x-ms-client-request-id" : "a0b7543a-0669-48c6-8b06-560921ce16c5", + "X-Processing-Time" : "75ms", + "MS-CV" : "PfG4QdPP5kOg/Hra6gOkIQ.0", + "X-Azure-Ref" : "0LNjLYAAAAAB6GGfKyHWKS4aMbR2uBDPpV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-129d-51b9-a43a0d003685\"}}", + "x-ms-client-request-id" : "1d8a7f3f-c448-4336-9178-3bbbd860883a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "5a789281-f51a-4dd4-af5c-6bb814ad210a", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:22 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "0hNyS2KSg0K0riCzyfVB6Q.0", - "X-Azure-Ref" : "02ofLYAAAAABDmuG4E7p1TJc89YkVqPQQV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-5211-e3c7-593a0d00f7e8\"}}", - "x-ms-client-request-id" : "ace5f89d-57be-4848-b0e7-45d1495cfaa4", + "X-Processing-Time" : "95ms", + "MS-CV" : "KCEgSsedI06xx3DOGtZjGQ.0", + "X-Azure-Ref" : "0LNjLYAAAAADP5DcZXFLYSYAImModaw9ZV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-1326-740a-113a0d00c633\"}}", + "x-ms-client-request-id" : "5a789281-f51a-4dd4-af5c-6bb814ad210a", "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_0000000a-baec-50fd-e3c7-593a0d00f7e5/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-1150-7f07-113a0d001710/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "3eb86f7c-a4b9-4375-a6bc-f368ac2e6f73", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:22 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "36ms", - "MS-CV" : "dz8lFcPlpkmOT/Smm5pVWg.0", - "X-Azure-Ref" : "02ofLYAAAAADFXtUFF2C6Qowddi12iRXiV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:21.7155639+00:00\"}", - "x-ms-client-request-id" : "d90579d6-6d81-4549-acf2-5bd01922c5ea", + "X-Processing-Time" : "170ms", + "MS-CV" : "AY1Ejp7yxkyarvMhrBcpmA.0", + "X-Azure-Ref" : "0LNjLYAAAAACM4RrxFOODQo/onG9bkh1KV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:18:04.1525154+00:00\"}", + "x-ms-client-request-id" : "3eb86f7c-a4b9-4375-a6bc-f368ac2e6f73", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "012aca17-8440-42a2-9ffc-c6ae378bf47a", + "x-ms-client-request-id" : "e9cc546b-1e53-44d9-a21a-5464e40528e4", "Content-Type" : "application/json" }, "Response" : { @@ -133,35 +138,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:22 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:05 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "466ms", - "MS-CV" : "ILv7giP86kyXQq89rsLPOQ.0", - "X-Azure-Ref" : "02ofLYAAAAACvvsDmiehQRJerYkvTi8lWV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:333PqB_h8KraFixCymo027ykuRWvhbnTTpmw_csbKhA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:22Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-50fd-e3c7-593a0d00f7e5\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-50fd-e3c7-593a0d00f7e5\"}}}}", + "X-Processing-Time" : "373ms", + "MS-CV" : "KpsU36lnjU2fzhmALANRug.0", + "X-Azure-Ref" : "0LdjLYAAAAAD6ALR9lSfdTrz/OvA/qVr8V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:ayVHLzHgCij3GQkqG62phBmLHGGr_uZ4SiOb082hxXo1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:05Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-1150-7f07-113a0d001710\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-1150-7f07-113a0d001710\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A333PqB_h8KraFixCymo027ykuRWvhbnTTpmw_csbKhA1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AayVHLzHgCij3GQkqG62phBmLHGGr_uZ4SiOb082hxXo1@thread.v2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:333PqB_h8KraFixCymo027ykuRWvhbnTTpmw_csbKhA1@thread.v2/participants?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:ayVHLzHgCij3GQkqG62phBmLHGGr_uZ4SiOb082hxXo1@thread.v2/participants?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "bf0f7271-4447-43cc-b0bb-6e18bd84715e" + "x-ms-client-request-id" : "3852590d-7639-4ab3-907f-170579fb9603" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "102ms", - "MS-CV" : "stwk/4sMz0edlsSQmtpdAw.0", + "X-Processing-Time" : "92ms", + "MS-CV" : "+o5KOme3qUeip1Ivn010RA.0", "retry-after" : "0", - "X-Azure-Ref" : "024fLYAAAAADff+1IAgM2S69J75iy6knuV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0LdjLYAAAAADFg1eZWh5wTYWxja5KJD5AV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-50fd-e3c7-593a0d00f7e5\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-50fd-e3c7-593a0d00f7e5\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-5176-e3c7-593a0d00f7e6\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-5176-e3c7-593a0d00f7e6\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", - "Date" : "Thu, 17 Jun 2021 17:35:22 GMT", + "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-1150-7f07-113a0d001710\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-1150-7f07-113a0d001710\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-11f9-740a-113a0d00c632\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-11f9-740a-113a0d00c632\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", + "Date" : "Thu, 17 Jun 2021 23:18:05 GMT", "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 aa7f7ae560daa..5c8d3d697a8d0 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "1e697eb6-a496-473a-a2fa-b2c662b543c2", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:35 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:20 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "te5IZW6uoEGWWCX+WCEWwQ.0", - "X-Azure-Ref" : "054fLYAAAAACWHZqTrGqCQ79U11nXTE2cV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8442-e3c7-593a0d00f800\"}}", - "x-ms-client-request-id" : "ae87ca66-8cec-44ad-a2da-f3434f00461d", + "X-Processing-Time" : "158ms", + "MS-CV" : "ADSfzcrKCUSlv4IJ8cQ1QA.0", + "X-Azure-Ref" : "0PNjLYAAAAAB1/y420cetRYp+G39/JioEV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-507e-740a-113a0d00c645\"}}", + "x-ms-client-request-id" : "1e697eb6-a496-473a-a2fa-b2c662b543c2", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "9f794c9b-84dd-4579-81d4-759877bc9559", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:35 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:20 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "33ms", - "MS-CV" : "sUlwdC0Lckq3QBRRl919eg.0", - "X-Azure-Ref" : "054fLYAAAAABjo4kpXq2QTY1udu2uUI1oV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-85b1-99c6-593a0d00cc42\"}}", - "x-ms-client-request-id" : "06c82c09-6861-4e8f-afb3-5622e6cd4ac9", + "X-Processing-Time" : "97ms", + "MS-CV" : "iGvb33TjB06b2N0iGsUVKA.0", + "X-Azure-Ref" : "0PNjLYAAAAAC95bwkfSRjSrFFfc8KOCDIV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-5179-51b9-a43a0d00368d\"}}", + "x-ms-client-request-id" : "9f794c9b-84dd-4579-81d4-759877bc9559", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "f5dce7f2-cd93-4752-b75b-de1587333a59", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:35 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:20 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "23ms", - "MS-CV" : "kH4ZT9H9wkiyRWX64UXYqg.0", - "X-Azure-Ref" : "054fLYAAAAAD0ozSiZE9aSp2bmbByiysbV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-85e5-e3c7-593a0d00f801\"}}", - "x-ms-client-request-id" : "ba57a236-844c-4819-9863-b97fc920f95d", + "X-Processing-Time" : "87ms", + "MS-CV" : "tgcWh6Yu2kemAXWv7l4iZw.0", + "X-Azure-Ref" : "0PNjLYAAAAAAspBpyTQ6aQ7+0kQ79vbxtV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-51f8-740a-113a0d00c646\"}}", + "x-ms-client-request-id" : "f5dce7f2-cd93-4752-b75b-de1587333a59", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "5906f003-2ff0-42d5-a148-bcb9da360c31", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:35 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:20 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "ODbAeMFCIEiHn1PE6WdmYg.0", - "X-Azure-Ref" : "054fLYAAAAADk6i4wVMiARI8It7Tv1clcV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8623-e3c7-593a0d00f802\"}}", - "x-ms-client-request-id" : "47377153-aa92-4c74-979b-299e41c128b1", + "X-Processing-Time" : "119ms", + "MS-CV" : "Rc90pjsFuUa45d2/JB479Q.0", + "X-Azure-Ref" : "0PdjLYAAAAAAlkD8h0p7oR5tdsHakv+FJV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-52bf-7f07-113a0d00171d\"}}", + "x-ms-client-request-id" : "5906f003-2ff0-42d5-a148-bcb9da360c31", "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_0000000a-baec-8442-e3c7-593a0d00f800/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-507e-740a-113a0d00c645/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "aeed8868-877e-44f8-80b8-6037be8bdd7d", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:35 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:21 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "38ms", - "MS-CV" : "QX4BmuNlQ0u81R4qdUfs+Q.0", - "X-Azure-Ref" : "054fLYAAAAADnaI+w5N5MQJdM513W2kvfV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:35.0487194+00:00\"}", - "x-ms-client-request-id" : "1eaae1f3-1555-4c58-9235-a33aab33e543", + "X-Processing-Time" : "164ms", + "MS-CV" : "ASkP8XH0vESQeK6xiZwDeA.0", + "X-Azure-Ref" : "0PdjLYAAAAAAGFJXRoXVIR5FVqsG+TA3pV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:18:20.432915+00:00\"}", + "x-ms-client-request-id" : "aeed8868-877e-44f8-80b8-6037be8bdd7d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7bb20acf-0505-4d5b-959f-9d5b9505f538", + "x-ms-client-request-id" : "2107314e-00c7-42f0-af04-8d0cb118deff", "Content-Type" : "application/json" }, "Response" : { @@ -133,14 +138,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:36 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:21 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "712ms", - "MS-CV" : "8pYMHvOpHki3LYsom0a9FQ.0", - "X-Azure-Ref" : "06IfLYAAAAADeZajX5z9lSryfvs8t6T6sV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:PMdBG8OQNl0lwNC3crf-p_4NOK2XsFB1uqinRsuJ-AY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:36Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8442-e3c7-593a0d00f800\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8442-e3c7-593a0d00f800\"}}}}", + "X-Processing-Time" : "537ms", + "MS-CV" : "Ge5UYcwnXky4NfWWnA4Q9Q.0", + "X-Azure-Ref" : "0PdjLYAAAAAD8KhEEfsw6S7KsOZpAbnxZV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:nNKJrX_UNdXidAi_SzH8JBaP-aIPegJahqDmMLRbIPU1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:21Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-507e-740a-113a0d00c645\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-507e-740a-113a0d00c645\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3APMdBG8OQNl0lwNC3crf-p_4NOK2XsFB1uqinRsuJ-AY1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AnNKJrX_UNdXidAi_SzH8JBaP-aIPegJahqDmMLRbIPU1@thread.v2" }, "Exception" : null }, { @@ -148,6 +153,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "bc062590-3a0a-4bd3-bb30-6adc252d63b2", "Content-Type" : "application/json" }, "Response" : { @@ -156,13 +162,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:36 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:22 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "57ms", - "MS-CV" : "ru1V4sABbEa47oor8Zq2hg.0", - "X-Azure-Ref" : "06IfLYAAAAABCPRSZabCDSZDxfbShzo/bV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-89c8-e3c7-593a0d00f803\"}}", - "x-ms-client-request-id" : "31da02c5-06d8-4f32-bcfa-1c60a9f52d1f", + "X-Processing-Time" : "122ms", + "MS-CV" : "QEM2ZNIRCkWo/1hP3UBfmA.0", + "X-Azure-Ref" : "0PtjLYAAAAADDjOk53p+PSa50+pmIfrzjV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-56b2-740a-113a0d00c647\"}}", + "x-ms-client-request-id" : "bc062590-3a0a-4bd3-bb30-6adc252d63b2", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -172,6 +178,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "82bd21ff-9ac5-4e7c-9c86-70fac4d66ed4", "Content-Type" : "application/json" }, "Response" : { @@ -180,23 +187,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:36 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:21 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "e21l89ugXUSc/ukrTKwwCw.0", - "X-Azure-Ref" : "06IfLYAAAAAD3M3xnmrXrT7Lo0qh5cqPmV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8a07-e3c7-593a0d00f804\"}}", - "x-ms-client-request-id" : "1cae67b1-ad40-4d22-9f0e-8847099c09d6", + "X-Processing-Time" : "68ms", + "MS-CV" : "nDwBLyF4qkmnsuxenhYo3g.0", + "X-Azure-Ref" : "0PtjLYAAAAAD+SJZJRTiuTp+2lC3VJdnUV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-5779-51b9-a43a0d00368e\"}}", + "x-ms-client-request-id" : "82bd21ff-9ac5-4e7c-9c86-70fac4d66ed4", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:PMdBG8OQNl0lwNC3crf-p_4NOK2XsFB1uqinRsuJ-AY1@thread.v2/participants/:add?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:nNKJrX_UNdXidAi_SzH8JBaP-aIPegJahqDmMLRbIPU1@thread.v2/participants/:add?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "5acdc93e-6627-442f-b4d5-64e53d246c90", + "x-ms-client-request-id" : "f1b2113a-4f4c-4f21-bd03-dcfe8e1a186b", "Content-Type" : "application/json" }, "Response" : { @@ -204,76 +211,76 @@ "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", - "X-Processing-Time" : "193ms", - "MS-CV" : "+Ktz39XPRE+5f0iCPJWVlg.0", + "X-Processing-Time" : "293ms", + "MS-CV" : "D1tjVfoUJkCS5kbCDKfsoA.0", "retry-after" : "0", - "X-Azure-Ref" : "06YfLYAAAAACyvXxAuoA4TouiXbH+IJu4V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0PtjLYAAAAABA/Y/2JFKLQochj7Ipe6SWV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "201", "Body" : "{}", - "Date" : "Thu, 17 Jun 2021 17:35:36 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:22 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:PMdBG8OQNl0lwNC3crf-p_4NOK2XsFB1uqinRsuJ-AY1@thread.v2/participants?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:nNKJrX_UNdXidAi_SzH8JBaP-aIPegJahqDmMLRbIPU1@thread.v2/participants?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "fc206aec-9760-4536-b74f-764964e8f89f" + "x-ms-client-request-id" : "162f0647-7b63-4efa-ad39-45e78a109478" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "92ms", - "MS-CV" : "xT7WEvIMykqRCjDdCm3Qbg.0", + "X-Processing-Time" : "105ms", + "MS-CV" : "+NC2Gu/EEk2OdaICzFNlHg.0", "retry-after" : "0", - "X-Azure-Ref" : "06YfLYAAAAAALBkJmhZJSRagcvsrj1SvmV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0PtjLYAAAAAD4ld8f/ug/RpLRWDtZozY+V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8442-e3c7-593a0d00f800\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8442-e3c7-593a0d00f800\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-85b1-99c6-593a0d00cc42\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-85b1-99c6-593a0d00cc42\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-89c8-e3c7-593a0d00f803\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-89c8-e3c7-593a0d00f803\"}},\"displayName\":\"Added Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8a07-e3c7-593a0d00f804\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-8a07-e3c7-593a0d00f804\"}},\"displayName\":\"Added Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", - "Date" : "Thu, 17 Jun 2021 17:35:36 GMT", + "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-507e-740a-113a0d00c645\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-507e-740a-113a0d00c645\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-5179-51b9-a43a0d00368d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-5179-51b9-a43a0d00368d\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-56b2-740a-113a0d00c647\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-56b2-740a-113a0d00c647\"}},\"displayName\":\"Added Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-5779-51b9-a43a0d00368e\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-5779-51b9-a43a0d00368e\"}},\"displayName\":\"Added Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", + "Date" : "Thu, 17 Jun 2021 23:18:22 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:PMdBG8OQNl0lwNC3crf-p_4NOK2XsFB1uqinRsuJ-AY1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:nNKJrX_UNdXidAi_SzH8JBaP-aIPegJahqDmMLRbIPU1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4b7ee59a-1a4f-448b-a691-8955c76bf7b3", + "x-ms-client-request-id" : "edef7f19-162d-4e4c-a8c5-ccd9a6d80eb9", "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "228ms", - "MS-CV" : "9jWFAWoQW02++oo8tTPbrw.0", + "X-Processing-Time" : "273ms", + "MS-CV" : "q6Sum3q2jUqiSf7n27LWgg.0", "retry-after" : "0", - "X-Azure-Ref" : "06YfLYAAAAADsK0oTGp6fRriNK7s8EOJpV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0PtjLYAAAAABWIXD4CilnSocxSipHcksoV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:35:37 GMT" + "Date" : "Thu, 17 Jun 2021 23:18:23 GMT" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:PMdBG8OQNl0lwNC3crf-p_4NOK2XsFB1uqinRsuJ-AY1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:nNKJrX_UNdXidAi_SzH8JBaP-aIPegJahqDmMLRbIPU1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c83de6c9-1240-40aa-b066-a4acf50dede6", + "x-ms-client-request-id" : "ac426718-5a74-43e5-9d2b-444a4376ecba", "Content-Type" : "application/json" }, "Response" : { "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", - "X-Processing-Time" : "246ms", - "MS-CV" : "cnTER+XnMUuh4uHwb7Hj1w.0", + "X-Processing-Time" : "264ms", + "MS-CV" : "nkyfOXwT9UGm4GqeVLo1tw.0", "retry-after" : "0", - "X-Azure-Ref" : "06YfLYAAAAAB49gzAdeXBSL0Yjj8GcGRAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0P9jLYAAAAACtdXPuxRLtRYDmL72EClihV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:35:37 GMT" + "Date" : "Thu, 17 Jun 2021 23:18:22 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 6a9a28bc149df..2a4d216658426 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "d232bf70-8661-4517-9e0c-a88effbbb8e8", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:53 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:47 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "JwfyVY8ZXkiE1SJURBepQA.0", - "X-Azure-Ref" : "0+YfLYAAAAADrmeL+kQ5mQLYTSncOIceXV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cb07-e3c7-593a0d00f825\"}}", - "x-ms-client-request-id" : "2a5836cb-5ea4-459d-be00-d9c845bf7b4c", + "X-Processing-Time" : "97ms", + "MS-CV" : "L6p9PJwp3kqz+qk+Gvjr7Q.0", + "X-Azure-Ref" : "0V9jLYAAAAABo+5EEELcNT60dLdwMoe+fV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-bb3c-740a-113a0d00c65e\"}}", + "x-ms-client-request-id" : "d232bf70-8661-4517-9e0c-a88effbbb8e8", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "5605b229-26c1-4112-928f-9b0c8ec9c78f", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:52 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:47 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "Kvrg1ax76Eigooo61DT4Jg.0", - "X-Azure-Ref" : "0+YfLYAAAAAA07lk0m0hcS7kx/CoS3Mh0V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cb46-e3c7-593a0d00f826\"}}", - "x-ms-client-request-id" : "63e29e15-55aa-445d-9096-7e813a97aed6", + "X-Processing-Time" : "94ms", + "MS-CV" : "nypuK3K8I0iHPHIdLJS2Lg.0", + "X-Azure-Ref" : "0V9jLYAAAAACklDt8D1TITrLfwz1xYJjNV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-bbe3-7f07-113a0d00173c\"}}", + "x-ms-client-request-id" : "5605b229-26c1-4112-928f-9b0c8ec9c78f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "29fc41a6-9512-4ca6-935e-08a172a436ba", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:53 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "oNF26iW5eEGKjtwY8GapMg.0", - "X-Azure-Ref" : "0+YfLYAAAAACtK5Ovk9YLQ5szBhXdBA+aV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cb84-e3c7-593a0d00f827\"}}", - "x-ms-client-request-id" : "727826f1-3f62-4949-8b9f-a637ee2c6cf9", + "X-Processing-Time" : "95ms", + "MS-CV" : "83A8PES9B0W6PVJIbZoPSg.0", + "X-Azure-Ref" : "0WNjLYAAAAABxScLuKxboS6e1mG3BKh3BV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-bc9f-740a-113a0d00c65f\"}}", + "x-ms-client-request-id" : "29fc41a6-9512-4ca6-935e-08a172a436ba", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "654e25bd-ebb0-47ed-9761-5f976f31e8f5", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:53 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "38ms", - "MS-CV" : "Q09WY98WJk6HNs2E5IRhsQ.0", - "X-Azure-Ref" : "0+YfLYAAAAAAHuTmi3p3dSJRN30UGQaacV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cbcb-99c6-593a0d00cc55\"}}", - "x-ms-client-request-id" : "966c64f9-e4f0-461a-9574-f0c4a5c134ed", + "X-Processing-Time" : "237ms", + "MS-CV" : "LKAisS5qwE+WxO1XsVI9hw.0", + "X-Azure-Ref" : "0WNjLYAAAAAA29B+vM0P0TJLCowooAoK1V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-bdf2-51b9-a43a0d0036a3\"}}", + "x-ms-client-request-id" : "654e25bd-ebb0-47ed-9761-5f976f31e8f5", "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_0000000a-baec-cb07-e3c7-593a0d00f825/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-bb3c-740a-113a0d00c65e/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "d1820184-45d6-44d8-83a5-0a2e1f2d6581", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:53 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "66ms", - "MS-CV" : "yGjSgLXjUUe7kxCsIIUNyA.0", - "X-Azure-Ref" : "0+YfLYAAAAACEwHEkr7N7S40XhMzJFvp8V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:52.9097906+00:00\"}", - "x-ms-client-request-id" : "c5dcd49b-8bf7-44ed-a13c-32daf19084ec", + "X-Processing-Time" : "158ms", + "MS-CV" : "A1mE2dP05Eq97SteREFDrA.0", + "X-Azure-Ref" : "0WNjLYAAAAAAwhePv598SSZJGUPOJZCp5V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:18:47.8288414+00:00\"}", + "x-ms-client-request-id" : "d1820184-45d6-44d8-83a5-0a2e1f2d6581", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9df890b4-d917-402d-81f0-684ade564a07", + "x-ms-client-request-id" : "7891a429-5a05-40a0-ac9f-0202bc4594bc", "Content-Type" : "application/json" }, "Response" : { @@ -133,14 +138,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:53 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:49 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "554ms", - "MS-CV" : "/sMv7fMiSUarnz9YWG+YQA.0", - "X-Azure-Ref" : "0+YfLYAAAAAA+b2p/nyXMRr7lK3xtvUWPV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:K3LW9B1Ku7K_t7fNvKet9_6UU-cRQTa4GUzU_2u-JUo1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:54Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cb07-e3c7-593a0d00f825\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cb07-e3c7-593a0d00f825\"}}}}", + "X-Processing-Time" : "889ms", + "MS-CV" : "tLtevNn5PkaWBcK5dck95g.0", + "X-Azure-Ref" : "0WNjLYAAAAAAYDfEHsJV7SIhYi0n37wQxV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:ssegik_IUUDDnty5B1hZ0iTT4eECQAEtmogIz73cvxk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:48Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-bb3c-740a-113a0d00c65e\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-bb3c-740a-113a0d00c65e\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AK3LW9B1Ku7K_t7fNvKet9_6UU-cRQTa4GUzU_2u-JUo1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Assegik_IUUDDnty5B1hZ0iTT4eECQAEtmogIz73cvxk1@thread.v2" }, "Exception" : null }, { @@ -148,6 +153,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "5bf9fb8d-2937-45ca-a5f1-292e6242195e", "Content-Type" : "application/json" }, "Response" : { @@ -156,23 +162,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:54 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:49 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "8ExMGG/ffk6zdCmrrh3hog.0", - "X-Azure-Ref" : "0+ofLYAAAAAAqUGwgmjJURIrZOj9o2IWPV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cec7-e3c7-593a0d00f828\"}}", - "x-ms-client-request-id" : "55e23415-b6bc-49ac-869d-cde44ae18d28", + "X-Processing-Time" : "92ms", + "MS-CV" : "hB4Jd1eypEyetR1qVSFUxQ.0", + "X-Azure-Ref" : "0WdjLYAAAAAA7ibZt/4JBTb7pNMP6U6Z6V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-c2f8-740a-113a0d00c660\"}}", + "x-ms-client-request-id" : "5bf9fb8d-2937-45ca-a5f1-292e6242195e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:K3LW9B1Ku7K_t7fNvKet9_6UU-cRQTa4GUzU_2u-JUo1@thread.v2/participants/:add?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:ssegik_IUUDDnty5B1hZ0iTT4eECQAEtmogIz73cvxk1@thread.v2/participants/:add?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4889c031-63bd-4981-90b8-02e85da9c3ff", + "x-ms-client-request-id" : "ab1d6b3f-210e-44c5-8e58-0dcd7d839da3", "Content-Type" : "application/json" }, "Response" : { @@ -180,35 +186,35 @@ "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", - "X-Processing-Time" : "254ms", - "MS-CV" : "pYxnucyDNkiuKJN+1T5XOA.0", + "X-Processing-Time" : "317ms", + "MS-CV" : "biPppWuJjkGTwDajKzllKw.0", "retry-after" : "0", - "X-Azure-Ref" : "0+ofLYAAAAADIN5lAbHUiTLuOMPa+ZfXHV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0WdjLYAAAAACP6lE8pZwlTrxDTK9k7tjJV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "201", "Body" : "{}", - "Date" : "Thu, 17 Jun 2021 17:35:54 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:49 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:K3LW9B1Ku7K_t7fNvKet9_6UU-cRQTa4GUzU_2u-JUo1@thread.v2/participants?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:ssegik_IUUDDnty5B1hZ0iTT4eECQAEtmogIz73cvxk1@thread.v2/participants?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "dd5c03c1-b3f5-4653-bcff-54087cc67346" + "x-ms-client-request-id" : "8975a221-0ef1-4355-9f11-2ce698a7ddc7" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "117ms", - "MS-CV" : "JP9oA2+ly06ZcVJ4ch4iaQ.0", + "X-Processing-Time" : "119ms", + "MS-CV" : "M6yVHJHL9keaAUEe3fjBAg.0", "retry-after" : "0", - "X-Azure-Ref" : "0+ofLYAAAAAAQKFLf5nsRSo66GCNF9Bf3V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0WtjLYAAAAAANGxm8ShfkQqRQ4QJpjkZvV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cb07-e3c7-593a0d00f825\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cb07-e3c7-593a0d00f825\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cb46-e3c7-593a0d00f826\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cb46-e3c7-593a0d00f826\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cec7-e3c7-593a0d00f828\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-cec7-e3c7-593a0d00f828\"}},\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", - "Date" : "Thu, 17 Jun 2021 17:35:54 GMT", + "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-bb3c-740a-113a0d00c65e\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-bb3c-740a-113a0d00c65e\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-bbe3-7f07-113a0d00173c\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-bbe3-7f07-113a0d00173c\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-c2f8-740a-113a0d00c660\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-c2f8-740a-113a0d00c660\"}},\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", + "Date" : "Thu, 17 Jun 2021 23:18:50 GMT", "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 1d6f84789877c..6ca0aa689c473 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "24250c35-415d-404a-93e1-d94d7d890385", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:54 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:50 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "33ms", - "MS-CV" : "8hRhfGPH/0ur+V73nXKkJA.0", - "X-Azure-Ref" : "0+4fLYAAAAABl0lXOEKz/QbryK0aCezAWV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d0cf-e3c7-593a0d00f829\"}}", - "x-ms-client-request-id" : "5a82d397-b0ac-42b9-b0f1-6309db2569b5", + "X-Processing-Time" : "94ms", + "MS-CV" : "F8j2VdjFK0Gh6/98tp1YWw.0", + "X-Azure-Ref" : "0WtjLYAAAAAAVjsS4h1VaT6MW8E3n0WTlV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-c5cf-7f07-113a0d00173f\"}}", + "x-ms-client-request-id" : "24250c35-415d-404a-93e1-d94d7d890385", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "76bc05d3-25f4-49e7-814b-40a29d57ca23", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:54 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:50 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "34ms", - "MS-CV" : "IUGF0BJfBUG4S1ZCta3gVQ.0", - "X-Azure-Ref" : "0+4fLYAAAAABqGg/rRnydSIcsNT1aDHz9V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d115-e3c7-593a0d00f82a\"}}", - "x-ms-client-request-id" : "57033c38-d7c9-450a-af2b-02fff1429c70", + "X-Processing-Time" : "143ms", + "MS-CV" : "jY2G4CE4h0KdBnVS2Mo3Xg.0", + "X-Azure-Ref" : "0WtjLYAAAAADBi9spKg2NTbqUZX8t7tp4V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-c6ae-740a-113a0d00c661\"}}", + "x-ms-client-request-id" : "76bc05d3-25f4-49e7-814b-40a29d57ca23", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "95a15036-7271-4f19-a69b-5a3b2a56aa3f", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:54 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:50 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "uRU9KPxsCEWjJKPu+HHH4A.0", - "X-Azure-Ref" : "0+4fLYAAAAAAqBEVI9ohLRKfgkcTRmWPjV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d15c-99c6-593a0d00cc57\"}}", - "x-ms-client-request-id" : "b5d21ee3-e00e-490b-bab9-1b3cf4d87222", + "X-Processing-Time" : "133ms", + "MS-CV" : "4i254Cd5wUG0wlu03zuHIg.0", + "X-Azure-Ref" : "0WtjLYAAAAACxiT/NkGAVSolTqEWljwClV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-c78e-51b9-a43a0d0036a5\"}}", + "x-ms-client-request-id" : "95a15036-7271-4f19-a69b-5a3b2a56aa3f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "b4f13e6e-0603-4bfd-bca0-c1cd6b957b6b", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:54 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "60ms", - "MS-CV" : "QvnnCtD05kaDsx8s4FwUNw.0", - "X-Azure-Ref" : "0+4fLYAAAAAAh/5e/BK42RYGWtZWpDwbMV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d1ba-e3c7-593a0d00f82b\"}}", - "x-ms-client-request-id" : "0bf4f328-9122-472b-899f-98441cf3b893", + "X-Processing-Time" : "111ms", + "MS-CV" : "Q6j/J+/yC0yWj6OWaD264A.0", + "X-Azure-Ref" : "0W9jLYAAAAADtiHSLcOb7T5glcvrcD3VcV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-c828-740a-113a0d00c662\"}}", + "x-ms-client-request-id" : "b4f13e6e-0603-4bfd-bca0-c1cd6b957b6b", "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_0000000a-baec-d0cf-e3c7-593a0d00f829/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-c5cf-7f07-113a0d00173f/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "709dd8d8-0baa-4df9-b192-ba761cb63844", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:54 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:50 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "79ms", - "MS-CV" : "oBdy/NO4U0ypzgIKD/xr3A.0", - "X-Azure-Ref" : "0+4fLYAAAAAC+f6p4FSudTp5DzVCGEvTAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:54.4401797+00:00\"}", - "x-ms-client-request-id" : "1c799d33-7f33-44fe-a997-2b634c628eb7", + "X-Processing-Time" : "188ms", + "MS-CV" : "16Y0tSnHGk6z4/7lP4bqZQ.0", + "X-Azure-Ref" : "0W9jLYAAAAADwNmgxs2JqQaf2HDSnQf00V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:18:50.5112468+00:00\"}", + "x-ms-client-request-id" : "709dd8d8-0baa-4df9-b192-ba761cb63844", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "5bde0f18-8123-427b-8c65-d209b4af5efd", + "x-ms-client-request-id" : "564f1d29-bbaf-4f23-9103-3ab8cedea5dc", "Content-Type" : "application/json" }, "Response" : { @@ -133,14 +138,14 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:55 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:52 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "442ms", - "MS-CV" : "0NXoFhSC0UGk3yAELOo48A.0", - "X-Azure-Ref" : "0+4fLYAAAAACdiGoVglDXSaVdxOe/vxBfV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:WEsxfYLLG-0W-sZW-tVPbAZlgfo83bc-xO251YDcXd01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:55Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d0cf-e3c7-593a0d00f829\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d0cf-e3c7-593a0d00f829\"}}}}", + "X-Processing-Time" : "901ms", + "MS-CV" : "ZYKHYpBlfkWOfZwZQWiQcA.0", + "X-Azure-Ref" : "0W9jLYAAAAADa7V5UZx44SKCcEUvtYU5oV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:Wv7yilGA4V8Ej7uvdZfpgxpQEEwF1pHzWoTmrss6T2Q1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:51Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-c5cf-7f07-113a0d00173f\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-c5cf-7f07-113a0d00173f\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AWEsxfYLLG-0W-sZW-tVPbAZlgfo83bc-xO251YDcXd01@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AWv7yilGA4V8Ej7uvdZfpgxpQEEwF1pHzWoTmrss6T2Q1@thread.v2" }, "Exception" : null }, { @@ -148,6 +153,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "2c8d1fa8-64fa-4b7d-a486-cff7d794bb5f", "Content-Type" : "application/json" }, "Response" : { @@ -156,23 +162,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:55 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:52 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "55ms", - "MS-CV" : "OYBmac+8IE2jRlP6Le1HjQ.0", - "X-Azure-Ref" : "0+4fLYAAAAAALl/z4PddkSLm3F6NuKNgTV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d45c-99c6-593a0d00cc59\"}}", - "x-ms-client-request-id" : "d726a96a-cd8c-4157-a038-2f95d55d11c5", + "X-Processing-Time" : "112ms", + "MS-CV" : "UEAungx2eUuwG8XHJFd38g.0", + "X-Azure-Ref" : "0XNjLYAAAAACFJlAOCS8QQ7twKEL9OaxLV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-cdaf-51b9-a43a0d0036a7\"}}", + "x-ms-client-request-id" : "2c8d1fa8-64fa-4b7d-a486-cff7d794bb5f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:WEsxfYLLG-0W-sZW-tVPbAZlgfo83bc-xO251YDcXd01@thread.v2/participants/:add?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Wv7yilGA4V8Ej7uvdZfpgxpQEEwF1pHzWoTmrss6T2Q1@thread.v2/participants/:add?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4cce44df-4ae5-4d41-8690-a1b406237e76", + "x-ms-client-request-id" : "7cdeba9d-211a-4ad1-82cf-8be10c38264c", "Content-Type" : "application/json" }, "Response" : { @@ -180,35 +186,35 @@ "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", - "X-Processing-Time" : "326ms", - "MS-CV" : "3B6Cum7cL0WDa2udo0KAdg.0", + "X-Processing-Time" : "276ms", + "MS-CV" : "3BWO8/sKYEy/lmV2qPSiUg.0", "retry-after" : "0", - "X-Azure-Ref" : "0/IfLYAAAAAAuqk/fUCnsT6l8it0ejvT7V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0XNjLYAAAAAADbcNg405TSJ+rRu/nrpwdV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "201", "Body" : "{}", - "Date" : "Thu, 17 Jun 2021 17:35:55 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:52 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:WEsxfYLLG-0W-sZW-tVPbAZlgfo83bc-xO251YDcXd01@thread.v2/participants?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Wv7yilGA4V8Ej7uvdZfpgxpQEEwF1pHzWoTmrss6T2Q1@thread.v2/participants?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "274b355c-aed7-44b6-8544-490270f595fb" + "x-ms-client-request-id" : "93cd6e6e-4a77-4324-8588-2b5022162d2e" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "226ms", - "MS-CV" : "27pdB2txAkSOnGRazt9VKw.0", + "X-Processing-Time" : "98ms", + "MS-CV" : "LsTVi0zDtkORawNjN0tv0Q.0", "retry-after" : "0", - "X-Azure-Ref" : "0/IfLYAAAAADAPmHNdul0TJ7cOxBGQvE4V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0XNjLYAAAAADvQBe2VJVKTL/R0+ZpI6a3V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d0cf-e3c7-593a0d00f829\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d0cf-e3c7-593a0d00f829\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d115-e3c7-593a0d00f82a\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d115-e3c7-593a0d00f82a\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d45c-99c6-593a0d00cc59\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d45c-99c6-593a0d00cc59\"}},\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", - "Date" : "Thu, 17 Jun 2021 17:35:55 GMT", + "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-c5cf-7f07-113a0d00173f\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-c5cf-7f07-113a0d00173f\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-c6ae-740a-113a0d00c661\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-c6ae-740a-113a0d00c661\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-cdaf-51b9-a43a0d0036a7\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-cdaf-51b9-a43a0d0036a7\"}},\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", + "Date" : "Thu, 17 Jun 2021 23:18:52 GMT", "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 1972680edd84f..5ca8737870b2b 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "c50fb22f-f575-4888-8447-e474da81204f", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:33 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:18 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "57ms", - "MS-CV" : "KH1/nAQEq02cZkOdS1eUIA.0", - "X-Azure-Ref" : "05YfLYAAAAAAzpypZiWm0RJfbGTvfEV66V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7e9c-e3c7-593a0d00f7fd\"}}", - "x-ms-client-request-id" : "6b5816e9-c4d8-4c14-a175-66180560d18d", + "X-Processing-Time" : "95ms", + "MS-CV" : "HBjuJyjAxUS1DRQ/dDFfCw.0", + "X-Azure-Ref" : "0OdjLYAAAAACVgm1FUbxZTKP9eUsPf72RV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-467b-740a-113a0d00c643\"}}", + "x-ms-client-request-id" : "c50fb22f-f575-4888-8447-e474da81204f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "7a45fcfc-f5e4-4c4c-bbaa-39b57e223c1d", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:33 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:17 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "63ms", - "MS-CV" : "DzjqurbgP0my9LSxw9oVKA.0", - "X-Azure-Ref" : "05ofLYAAAAAARvisQUWiESJbxXG3AhK/tV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7f0a-99c6-593a0d00cc41\"}}", - "x-ms-client-request-id" : "561113cb-888d-4c41-b2e1-30e9ed2e0179", + "X-Processing-Time" : "97ms", + "MS-CV" : "hkRsC5hGwkKGUkMM63cnIg.0", + "X-Azure-Ref" : "0OtjLYAAAAAD/EAQqB+beT6FRzbxiDnO1V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-473f-51b9-a43a0d00368c\"}}", + "x-ms-client-request-id" : "7a45fcfc-f5e4-4c4c-bbaa-39b57e223c1d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "ce1a765a-9787-4464-9e07-59b57e302509", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:33 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:18 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "41ms", - "MS-CV" : "0eIHRpoM+EOtUUqs2VFbgQ.0", - "X-Azure-Ref" : "05ofLYAAAAAB87dPRQ96oTqH4kha3a5mmV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7f54-e3c7-593a0d00f7fe\"}}", - "x-ms-client-request-id" : "6ac370d8-3246-49b1-95b3-3992e850e9f8", + "X-Processing-Time" : "98ms", + "MS-CV" : "XgoQBnMAlEOjOSY1hF52cw.0", + "X-Azure-Ref" : "0OtjLYAAAAACAHG9ZXwDiSq1qVw2FXiQ9V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-47cb-740a-113a0d00c644\"}}", + "x-ms-client-request-id" : "ce1a765a-9787-4464-9e07-59b57e302509", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "6aee49b8-51f2-4ee6-bfee-bdb2168a8e0e", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:33 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:18 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "58ms", - "MS-CV" : "gtM5pigZ2EGRAejkGGHxBQ.0", - "X-Azure-Ref" : "05ofLYAAAAADepOJKNTlLQYN3L6shW0m9V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7fae-e3c7-593a0d00f7ff\"}}", - "x-ms-client-request-id" : "9d44e564-875c-4cc6-8ed2-d1d39a091dd4", + "X-Processing-Time" : "96ms", + "MS-CV" : "LX2zdB8fEECFjzJXNnXo3w.0", + "X-Azure-Ref" : "0OtjLYAAAAABQa3XsnNs6T4TveoI3MeZDV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-487d-7f07-113a0d00171c\"}}", + "x-ms-client-request-id" : "6aee49b8-51f2-4ee6-bfee-bdb2168a8e0e", "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_0000000a-baec-7e9c-e3c7-593a0d00f7fd/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-467b-740a-113a0d00c643/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "bb89c7cf-a8e8-45a9-815d-5681a09b7a0c", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:34 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:18 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "65ms", - "MS-CV" : "0QcmOXo9JUKBMiISrXCqgQ.0", - "X-Azure-Ref" : "05ofLYAAAAABcEUJpFUwvS6zsdh5AoRVqV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:33.4269606+00:00\"}", - "x-ms-client-request-id" : "361b78dd-3f38-49b1-b3cb-ea14420a7327", + "X-Processing-Time" : "197ms", + "MS-CV" : "wqkpdH708kuV5nGZaysqxQ.0", + "X-Azure-Ref" : "0OtjLYAAAAAB/J1W+/xOnQbQo4ev+O6SsV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:18:17.841034+00:00\"}", + "x-ms-client-request-id" : "bb89c7cf-a8e8-45a9-815d-5681a09b7a0c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "942c0b68-1e4d-4bcf-be29-9d657ee0a03c", + "x-ms-client-request-id" : "8b2ba51f-c54a-4882-84a3-63267b6cca8b", "Content-Type" : "application/json" }, "Response" : { @@ -133,22 +138,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:34 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:19 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "411ms", - "MS-CV" : "D5ygYCOqckybY4VDVFvhqw.0", - "X-Azure-Ref" : "05ofLYAAAAADxlYK/mlgWRoV3BHh82dfOV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:riFJUb8t5zivyjAqr6EUIo5uGnzN_RhfRSMwtFB3h8c1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:34Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7e9c-e3c7-593a0d00f7fd\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7e9c-e3c7-593a0d00f7fd\"}}}}", + "X-Processing-Time" : "859ms", + "MS-CV" : "C+oRvKJ2L0yuN2wSUjOwLg.0", + "X-Azure-Ref" : "0OtjLYAAAAAAxWu5wCMacQphKxP0MYSEFV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:qQ1rnfpikp6o0Zzg_FuOJv1QlfzTkKUW6zOl4zKnxcM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:19Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-467b-740a-113a0d00c643\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-467b-740a-113a0d00c643\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AriFJUb8t5zivyjAqr6EUIo5uGnzN_RhfRSMwtFB3h8c1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AqQ1rnfpikp6o0Zzg_FuOJv1QlfzTkKUW6zOl4zKnxcM1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:riFJUb8t5zivyjAqr6EUIo5uGnzN_RhfRSMwtFB3h8c1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:qQ1rnfpikp6o0Zzg_FuOJv1QlfzTkKUW6zOl4zKnxcM1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c424cc57-6b42-434e-9974-4ca166dc1f0c", + "x-ms-client-request-id" : "cbf929cd-3eeb-4d22-aaee-36fcccaa85d2", "Content-Type" : "application/json" }, "Response" : { @@ -157,33 +162,33 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:34 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:20 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "283ms", - "MS-CV" : "ujqGqgyvZ0W3LUnR3Hqjfw.0", - "X-Azure-Ref" : "05ofLYAAAAACh6lzSZd+NQKaGwWJq7OJoV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1623951335047\"}", + "X-Processing-Time" : "246ms", + "MS-CV" : "6NF10/AUiUq7ZbPs9F4aCA.0", + "X-Azure-Ref" : "0O9jLYAAAAAB1Bp6WW65XRb9QNkhw2yONV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623971899961\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AriFJUb8t5zivyjAqr6EUIo5uGnzN_RhfRSMwtFB3h8c1@thread.v2/messages/1623951335047" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AqQ1rnfpikp6o0Zzg_FuOJv1QlfzTkKUW6zOl4zKnxcM1@thread.v2/messages/1623971899961" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:riFJUb8t5zivyjAqr6EUIo5uGnzN_RhfRSMwtFB3h8c1@thread.v2/messages/1623951335047?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:qQ1rnfpikp6o0Zzg_FuOJv1QlfzTkKUW6zOl4zKnxcM1@thread.v2/messages/1623971899961?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "bdafa6de-211a-4891-9a72-0a5976a2a544" + "x-ms-client-request-id" : "96caa8a8-d1f8-496f-83af-1eb6fe260f87" }, "Response" : { "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", - "X-Processing-Time" : "169ms", - "MS-CV" : "+1A83YdsoE+AwgmaJ+aL7Q.0", + "X-Processing-Time" : "214ms", + "MS-CV" : "L8KsrCsHsEynf+6ziktUiQ.0", "retry-after" : "0", - "X-Azure-Ref" : "054fLYAAAAACJFkQcUpqJT7J7QMJcGN0ZV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0PNjLYAAAAADWqF/dRYAxSqvnwjzO4M6MV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:35:34 GMT" + "Date" : "Thu, 17 Jun 2021 23:18:19 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 5f0ed5898cc80..312cc823e813c 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "a92ced86-39df-4774-a893-861e23246d2e", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:45 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:35 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "38ms", - "MS-CV" : "jnfzk1k8REyuM/aydCygrg.0", - "X-Azure-Ref" : "08ofLYAAAAACB/VFebmJoQbfZwerA0sX0V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-addf-e3c7-593a0d00f815\"}}", - "x-ms-client-request-id" : "8cf7c09d-c662-47de-b706-2b653416d491", + "X-Processing-Time" : "95ms", + "MS-CV" : "NSVnabFyiE60OCnEEStAAQ.0", + "X-Azure-Ref" : "0S9jLYAAAAABuLKmS1vflSrDXI7XFf8KuV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-8cc2-740a-113a0d00c654\"}}", + "x-ms-client-request-id" : "a92ced86-39df-4774-a893-861e23246d2e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "fa3f82a1-a480-4f8c-a5d5-f7b3aaf8090b", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:45 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:35 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "36ms", - "MS-CV" : "4WOmVTETO02Yfk+Ohs0xPg.0", - "X-Azure-Ref" : "08ofLYAAAAAC5vArEIjGrTbt8SRJznkOIV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-ae1d-e3c7-593a0d00f816\"}}", - "x-ms-client-request-id" : "0335ff8f-b0b7-4794-b305-65cef312452d", + "X-Processing-Time" : "91ms", + "MS-CV" : "2dBpueSau0SeoVLs3kBDuA.0", + "X-Azure-Ref" : "0TNjLYAAAAABtFFmpMAgoTr2ZktYTzlXfV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-8d70-7f07-113a0d00172e\"}}", + "x-ms-client-request-id" : "fa3f82a1-a480-4f8c-a5d5-f7b3aaf8090b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "eaaac0a6-f7a0-4a00-a01a-9c843e9ab6bd", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:45 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:36 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "57ms", - "MS-CV" : "Hs+YtewTUECvSx+PrvPgnQ.0", - "X-Azure-Ref" : "08ofLYAAAAADoJq3EsZpWSIHBAmKFcL6/V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-ae78-e3c7-593a0d00f817\"}}", - "x-ms-client-request-id" : "5a7e6db6-a060-48c4-8456-80b5757d8ceb", + "X-Processing-Time" : "116ms", + "MS-CV" : "P/OI+6d0XEORZYGIK7Cp4Q.0", + "X-Azure-Ref" : "0TNjLYAAAAAC7ejGzWbMLTIEiMOPA8HihV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-8e33-740a-113a0d00c655\"}}", + "x-ms-client-request-id" : "eaaac0a6-f7a0-4a00-a01a-9c843e9ab6bd", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "259ab6d5-58af-468e-be8e-0ed53e9ad058", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:45 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:36 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "34ms", - "MS-CV" : "DT1+k4OCsUW+7wqUQXj4HQ.0", - "X-Azure-Ref" : "08ofLYAAAAAA7k9Ym1Ec9QZTugAE0PyiQV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-aed2-99c6-593a0d00cc4d\"}}", - "x-ms-client-request-id" : "3f6f0225-9b73-4fe3-a50f-69c5d91e4c82", + "X-Processing-Time" : "73ms", + "MS-CV" : "PbgcNGLjpUCf+U8rWyPr5g.0", + "X-Azure-Ref" : "0TNjLYAAAAABx79b31bu5RooxppUEfhVZV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-8ee5-51b9-a43a0d003699\"}}", + "x-ms-client-request-id" : "259ab6d5-58af-468e-be8e-0ed53e9ad058", "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_0000000a-baec-addf-e3c7-593a0d00f815/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-8cc2-740a-113a0d00c654/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "1b31179e-2c69-4c01-a807-b91ee47f1485", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:46 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:36 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "65ms", - "MS-CV" : "jc0II6fI+0a+mgZRW8OQtg.0", - "X-Azure-Ref" : "08ofLYAAAAACQ5UBYY2lqSon4l3r2XIj2V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:45.492615+00:00\"}", - "x-ms-client-request-id" : "9c6509a9-ba48-4feb-b3c1-514753dbc1d2", + "X-Processing-Time" : "191ms", + "MS-CV" : "5F23eR0IvkCxNorEOWSUEw.0", + "X-Azure-Ref" : "0TNjLYAAAAACI4SsYjFq2TKUIdp405MT8V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:18:35.8215138+00:00\"}", + "x-ms-client-request-id" : "1b31179e-2c69-4c01-a807-b91ee47f1485", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4c2f29ab-743a-4352-84d8-8b345ad2eeeb", + "x-ms-client-request-id" : "f2b75140-846b-44c6-8ab4-fbfa9ecb04de", "Content-Type" : "application/json" }, "Response" : { @@ -133,22 +138,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:46 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:38 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "545ms", - "MS-CV" : "5M5+dO7lokS4gkn2FpwMDQ.0", - "X-Azure-Ref" : "08ofLYAAAAACrhVEfEOQLQ7hVQtSWrhi/V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:bw7HGTUfX7TfDTckNDPifTK233aMSrwx1XqpeYwevyE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:46Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-addf-e3c7-593a0d00f815\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-addf-e3c7-593a0d00f815\"}}}}", + "X-Processing-Time" : "2148ms", + "MS-CV" : "PSIznzcMLU23FZVKGS+QFw.0", + "X-Azure-Ref" : "0TNjLYAAAAACLm6d1La2JTZLBAdfykdhnV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:1W4sVa4uYQjABj6I_E9nFgIRMqL4g_hQgZVRiRMvVT41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:36Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-8cc2-740a-113a0d00c654\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-8cc2-740a-113a0d00c654\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Abw7HGTUfX7TfDTckNDPifTK233aMSrwx1XqpeYwevyE1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A1W4sVa4uYQjABj6I_E9nFgIRMqL4g_hQgZVRiRMvVT41@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:bw7HGTUfX7TfDTckNDPifTK233aMSrwx1XqpeYwevyE1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:1W4sVa4uYQjABj6I_E9nFgIRMqL4g_hQgZVRiRMvVT41@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e4674c57-f9a1-4f88-8981-fcaecc098714", + "x-ms-client-request-id" : "6108176d-695b-4010-b34d-47811a09f954", "Content-Type" : "application/json" }, "Response" : { @@ -157,33 +162,33 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:46 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:39 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "175ms", - "MS-CV" : "1F8VfPxKAka58fymrkWnWQ.0", - "X-Azure-Ref" : "084fLYAAAAACuXI+zFmrETq1UftRwfT+ZV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1623951347174\"}", + "X-Processing-Time" : "254ms", + "MS-CV" : "3haNP2GVSEWrTiIfhGVaEw.0", + "X-Azure-Ref" : "0T9jLYAAAAABrp2NMwwSQRYU3TZNU+zfFV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623971919148\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Abw7HGTUfX7TfDTckNDPifTK233aMSrwx1XqpeYwevyE1@thread.v2/messages/1623951347174" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A1W4sVa4uYQjABj6I_E9nFgIRMqL4g_hQgZVRiRMvVT41@thread.v2/messages/1623971919148" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:bw7HGTUfX7TfDTckNDPifTK233aMSrwx1XqpeYwevyE1@thread.v2/messages/1623951347174?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:1W4sVa4uYQjABj6I_E9nFgIRMqL4g_hQgZVRiRMvVT41@thread.v2/messages/1623971919148?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9f5862a7-d31f-458f-b6e0-5f9603a60ed4" + "x-ms-client-request-id" : "0b121ad1-f796-4d4b-9c9a-77f34553a54d" }, "Response" : { "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", - "X-Processing-Time" : "212ms", - "MS-CV" : "GezWjZDnhEmAsbJGV3wj7Q.0", + "X-Processing-Time" : "250ms", + "MS-CV" : "y/NZgwRE70OzP8OKzHX1oA.0", "retry-after" : "0", - "X-Azure-Ref" : "084fLYAAAAAArs/1DfgREQauabNc1nkozV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0T9jLYAAAAABMWLrJgnuJRY8qLwXORgObV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:35:46 GMT" + "Date" : "Thu, 17 Jun 2021 23:18:39 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 11196784fec31..f6070c5f190a9 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "cd4f1f4c-855e-4296-93f7-3e3038f8d339", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:41 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:28 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "27ms", - "MS-CV" : "jH9IWfPA20ygxr/r73Xx4g.0", - "X-Azure-Ref" : "07YfLYAAAAACQHHAVZtsoTb+ZrYhjI70vV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-9d25-e3c7-593a0d00f80c\"}}", - "x-ms-client-request-id" : "7f91ac4e-0cf9-457f-9874-3841b5f3034a", + "X-Processing-Time" : "120ms", + "MS-CV" : "j8ZBwmrq6E+TvXG+HrhzYQ.0", + "X-Azure-Ref" : "0RNjLYAAAAAD3v05gJqdLTq8s49stkm6GV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-704f-740a-113a0d00c64e\"}}", + "x-ms-client-request-id" : "cd4f1f4c-855e-4296-93f7-3e3038f8d339", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "ea659206-8af4-41ea-9f2b-f5f05aae0cbd", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:41 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:28 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "2nMQog26F0iH5aS0SUjiOQ.0", - "X-Azure-Ref" : "07YfLYAAAAADeNK7HkhkETrib1bDBPLkwV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-9d83-99c6-593a0d00cc48\"}}", - "x-ms-client-request-id" : "d6692ed5-bdaf-42dd-954c-fab6c7f809e1", + "X-Processing-Time" : "97ms", + "MS-CV" : "STOi2rCABEOjhBLPgGypvQ.0", + "X-Azure-Ref" : "0RNjLYAAAAAB3l5YUbqkxSLmqK8K5UHkpV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-7105-7f07-113a0d001728\"}}", + "x-ms-client-request-id" : "ea659206-8af4-41ea-9f2b-f5f05aae0cbd", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "9c39a67d-7a86-468e-ad95-45ed103db0bb", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:41 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:29 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "uYrznWoQpkqlMTtvk/Xzag.0", - "X-Azure-Ref" : "07YfLYAAAAADyuoVPSxGETaun83VRWMguV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-9dc4-e3c7-593a0d00f80d\"}}", - "x-ms-client-request-id" : "4dde0445-9d45-451b-9a0c-a65248546b10", + "X-Processing-Time" : "127ms", + "MS-CV" : "4WJLMSIRJkCdYmF5291fWA.0", + "X-Azure-Ref" : "0RNjLYAAAAACROcosA8zpSaX5G88h1nUlV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-71d4-740a-113a0d00c64f\"}}", + "x-ms-client-request-id" : "9c39a67d-7a86-468e-ad95-45ed103db0bb", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "1c01f788-4bbd-4c4a-b193-7bbd4c74c746", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:41 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:28 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "56ms", - "MS-CV" : "48jhjSToN0KRsPc+wfV8Iw.0", - "X-Azure-Ref" : "07ofLYAAAAABGww9k3ofmS4azM6XI66zYV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-9e1a-e3c7-593a0d00f80e\"}}", - "x-ms-client-request-id" : "8ccfd5f0-af57-4de7-8304-b59cb8128dd1", + "X-Processing-Time" : "99ms", + "MS-CV" : "hlz9rcAtmUuXhOdy6eE3bQ.0", + "X-Azure-Ref" : "0RdjLYAAAAABlXl5QkRKIQ7Mn8iFXwd/uV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-729c-51b9-a43a0d003695\"}}", + "x-ms-client-request-id" : "1c01f788-4bbd-4c4a-b193-7bbd4c74c746", "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_0000000a-baec-9d25-e3c7-593a0d00f80c/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-704f-740a-113a0d00c64e/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "a32012bf-57f0-46bf-8484-d20d9ad70fc3", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:41 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:29 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "37ms", - "MS-CV" : "QalMSvlDtUyIKLBCJQ4wpw.0", - "X-Azure-Ref" : "07ofLYAAAAAAGwOTJNCoHQbCYASDaU58eV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:41.1831256+00:00\"}", - "x-ms-client-request-id" : "5419c578-4624-4af9-91a8-0320f3d1066a", + "X-Processing-Time" : "166ms", + "MS-CV" : "1zSKjGxU5kKFtxhKnQG09g.0", + "X-Azure-Ref" : "0RdjLYAAAAACamWmJ3R63RanC5Wzj0RlJV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:18:28.5754551+00:00\"}", + "x-ms-client-request-id" : "a32012bf-57f0-46bf-8484-d20d9ad70fc3", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "a3f56a83-8555-4ab4-a870-92e0c19f2952", + "x-ms-client-request-id" : "30ba25f8-5596-4461-a47b-41ede34b8545", "Content-Type" : "application/json" }, "Response" : { @@ -133,35 +138,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:42 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:30 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "536ms", - "MS-CV" : "ZIDysfguKUCKGV4lh1A49A.0", - "X-Azure-Ref" : "07ofLYAAAAABwHHJ/lZnNQocI7GPchwORV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:195aVQ_wGOGoq3EOJSkO49h0j6BUUfNq8-GgeBCX8vM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:42Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-9d25-e3c7-593a0d00f80c\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-9d25-e3c7-593a0d00f80c\"}}}}", + "X-Processing-Time" : "971ms", + "MS-CV" : "SBqpLm97f029KQhpluB5uw.0", + "X-Azure-Ref" : "0RdjLYAAAAADl6ecWqAxxQImCAC/0ZK7BV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:faVZuwg0fKq1cAXzcp--yqBgz_ksX5qoSlOpafHc8VA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:29Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-704f-740a-113a0d00c64e\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-704f-740a-113a0d00c64e\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A195aVQ_wGOGoq3EOJSkO49h0j6BUUfNq8-GgeBCX8vM1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AfaVZuwg0fKq1cAXzcp--yqBgz_ksX5qoSlOpafHc8VA1@thread.v2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:195aVQ_wGOGoq3EOJSkO49h0j6BUUfNq8-GgeBCX8vM1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:faVZuwg0fKq1cAXzcp--yqBgz_ksX5qoSlOpafHc8VA1@thread.v2?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "465f0762-3fbf-4e87-8ded-015afc580a1e" + "x-ms-client-request-id" : "724faa52-7939-496c-87ea-def1ed52b051" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "100ms", - "MS-CV" : "qkvxV60/BkmTWeoa67yOxg.0", + "X-Processing-Time" : "146ms", + "MS-CV" : "6XU+T+FIRUmEZCdJSjfyFg.0", "retry-after" : "0", - "X-Azure-Ref" : "07ofLYAAAAABODA4Rzkj9T6tpx0XSSkmMV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0RtjLYAAAAAAkZs0FCS00Q6/jrqvEZDxOV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"19:195aVQ_wGOGoq3EOJSkO49h0j6BUUfNq8-GgeBCX8vM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:42Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-9d25-e3c7-593a0d00f80c\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-9d25-e3c7-593a0d00f80c\"}}}", - "Date" : "Thu, 17 Jun 2021 17:35:42 GMT", + "Body" : "{\"id\":\"19:faVZuwg0fKq1cAXzcp--yqBgz_ksX5qoSlOpafHc8VA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:29Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-704f-740a-113a0d00c64e\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-704f-740a-113a0d00c64e\"}}}", + "Date" : "Thu, 17 Jun 2021 23:18:30 GMT", "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 1a4eaf79263f8..cb77e10fc8b65 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "69cb2f37-efcd-4716-8713-2f2375554943", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:47 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:39 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "UgteDt5SdE+8vqXmX3hU5w.0", - "X-Azure-Ref" : "084fLYAAAAAABJ3KJ0TtsT7koHjBkOfmCV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b3bb-e3c7-593a0d00f818\"}}", - "x-ms-client-request-id" : "1fa0eb72-ca12-4290-ae2c-aad3cec2cc50", + "X-Processing-Time" : "105ms", + "MS-CV" : "EAIrBe/3rUCReku6t7HyWw.0", + "X-Azure-Ref" : "0T9jLYAAAAAD1UwOW4h9mQ5n8yo25D7upV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-9b4a-740a-113a0d00c656\"}}", + "x-ms-client-request-id" : "69cb2f37-efcd-4716-8713-2f2375554943", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "29664675-f236-4a57-9b02-22b340c30713", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:47 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:39 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "33ms", - "MS-CV" : "ocUgIovvuUWiYZI8nf1eRA.0", - "X-Azure-Ref" : "084fLYAAAAAAkHwuU8pnGQ4Mltb4vkwalV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b400-e3c7-593a0d00f819\"}}", - "x-ms-client-request-id" : "bacef1d5-ed15-4625-b790-4db9419ef941", + "X-Processing-Time" : "97ms", + "MS-CV" : "uUB2/OUoUUWpG4mRcybs0w.0", + "X-Azure-Ref" : "0T9jLYAAAAABb/2A7RfohQIjVIqMVvi3dV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-9bf7-7f07-113a0d001732\"}}", + "x-ms-client-request-id" : "29664675-f236-4a57-9b02-22b340c30713", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "d6a34b43-e5db-4094-9763-5e33c238b5d1", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:47 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:40 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "o8bQO8Z5PUS+b0mp3WIrgw.0", - "X-Azure-Ref" : "084fLYAAAAAAu+/xJb2RDRZeBUczU0K+CV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b46d-e3c7-593a0d00f81a\"}}", - "x-ms-client-request-id" : "3f5211bc-7cc3-4146-a5e3-2f496c3ea0a2", + "X-Processing-Time" : "98ms", + "MS-CV" : "0+GXJt33hEy9hDbItRdSuw.0", + "X-Azure-Ref" : "0T9jLYAAAAAAJUGkllqQbR7HyMTh5QdoNV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-9ca7-740a-113a0d00c657\"}}", + "x-ms-client-request-id" : "d6a34b43-e5db-4094-9763-5e33c238b5d1", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "85d0ba22-9d8b-4c5e-bab1-6b020826e675", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:47 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:39 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "33ms", - "MS-CV" : "Bw5V3aKGWkmfmdFUkrwg/A.0", - "X-Azure-Ref" : "084fLYAAAAADct8z0XykeTrqLb4Rm8Du8V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b4af-99c6-593a0d00cc50\"}}", - "x-ms-client-request-id" : "eb9510bf-9239-4b4f-ad27-de0cad46ab30", + "X-Processing-Time" : "74ms", + "MS-CV" : "LCALML2670qYDDfGMS/qqg.0", + "X-Azure-Ref" : "0UNjLYAAAAABQjMZyVMCsSazHDsrzaVBpV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-9d6e-51b9-a43a0d00369a\"}}", + "x-ms-client-request-id" : "85d0ba22-9d8b-4c5e-bab1-6b020826e675", "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_0000000a-baec-b3bb-e3c7-593a0d00f818/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-9b4a-740a-113a0d00c656/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "c67f3691-5fa5-4975-9a05-3cca39c79e9a", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:47 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:40 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "39ms", - "MS-CV" : "wloRyGirCUCa0uOoOmP72w.0", - "X-Azure-Ref" : "084fLYAAAAACByR6J6MoES757TQ8xObEZV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:46.967446+00:00\"}", - "x-ms-client-request-id" : "2ab91844-5398-44db-a8b5-60c9e6771fe2", + "X-Processing-Time" : "190ms", + "MS-CV" : "ZseMmtgDSE6GjykhD83XoQ.0", + "X-Azure-Ref" : "0UNjLYAAAAABgExRN5tIOSbn4QffIVRXuV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:18:39.5536174+00:00\"}", + "x-ms-client-request-id" : "c67f3691-5fa5-4975-9a05-3cca39c79e9a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "2e5335df-7793-4f66-9ded-89311334c9b1", + "x-ms-client-request-id" : "3d7f5c05-1f50-4173-8ca2-444a9e942813", "Content-Type" : "application/json" }, "Response" : { @@ -133,35 +138,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:47 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:40 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "485ms", - "MS-CV" : "v7BboSVr70i0tP7hHLEW5w.0", - "X-Azure-Ref" : "084fLYAAAAABwCz7irEigSbYlA2kVQWb1V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:H4eqK51AiWMScTMWBYkynN17PmO1LTo4A1g2gdjx5Tw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:48Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b3bb-e3c7-593a0d00f818\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b3bb-e3c7-593a0d00f818\"}}}}", + "X-Processing-Time" : "718ms", + "MS-CV" : "6ntEPytIU0akAsyxeJwDDg.0", + "X-Azure-Ref" : "0UNjLYAAAAAD2EKejpXLMTp3JGur3g24vV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:tyESEB8c7B0rXJbGw4EgjPv9ySRvcWjdgqj_8ttECJU1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:40Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-9b4a-740a-113a0d00c656\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-9b4a-740a-113a0d00c656\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AH4eqK51AiWMScTMWBYkynN17PmO1LTo4A1g2gdjx5Tw1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AtyESEB8c7B0rXJbGw4EgjPv9ySRvcWjdgqj_8ttECJU1@thread.v2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:H4eqK51AiWMScTMWBYkynN17PmO1LTo4A1g2gdjx5Tw1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:tyESEB8c7B0rXJbGw4EgjPv9ySRvcWjdgqj_8ttECJU1@thread.v2?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "49e76d43-70b3-4dbc-acf0-638529a36065" + "x-ms-client-request-id" : "b7b8014f-6e33-40b6-a522-bd1481f55d72" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "121ms", - "MS-CV" : "S5qOiDqgwkSF79IjZyLwwg.0", + "X-Processing-Time" : "136ms", + "MS-CV" : "fpWaxAHDXEqH47DpO+TA5Q.0", "retry-after" : "0", - "X-Azure-Ref" : "09IfLYAAAAAC90uJYZzf1Q6DfMPg69FsJV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0UdjLYAAAAACBx70gjItURb7o95MAlLX7V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"19:H4eqK51AiWMScTMWBYkynN17PmO1LTo4A1g2gdjx5Tw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:48Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b3bb-e3c7-593a0d00f818\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b3bb-e3c7-593a0d00f818\"}}}", - "Date" : "Thu, 17 Jun 2021 17:35:48 GMT", + "Body" : "{\"id\":\"19:tyESEB8c7B0rXJbGw4EgjPv9ySRvcWjdgqj_8ttECJU1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:40Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-9b4a-740a-113a0d00c656\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-9b4a-740a-113a0d00c656\"}}}", + "Date" : "Thu, 17 Jun 2021 23:18:41 GMT", "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 77941271b4695..695a3d6847ab5 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "d511c9b9-2a19-4972-98b4-94f9119cd850", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:31 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "KaDcxE2vTUWtmANKc7QZ8A.0", - "X-Azure-Ref" : "044fLYAAAAABdsKLtcQCyTIXAHdBiiyxxV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\"}}", - "x-ms-client-request-id" : "239552b9-95d4-4717-87bd-aa92d0e575c4", + "X-Processing-Time" : "95ms", + "MS-CV" : "K3vK/aG+eU+u8nvJM1D0xA.0", + "X-Azure-Ref" : "0N9jLYAAAAABTRz0Ahp+CTrMEsbys/mE3V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3c75-7f07-113a0d00171b\"}}", + "x-ms-client-request-id" : "d511c9b9-2a19-4972-98b4-94f9119cd850", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "c8221455-625e-4067-bd56-5d3484ceee60", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:31 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "njcJQvW9VEOWrV78CAU2ng.0", - "X-Azure-Ref" : "05IfLYAAAAAC43vWXSPFwT6z/QDgsqcT4V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-76d2-e3c7-593a0d00f7fb\"}}", - "x-ms-client-request-id" : "b343b598-05ea-4922-86a7-e86c62bf6df2", + "X-Processing-Time" : "96ms", + "MS-CV" : "NTYVPGWbWkGg1MydfqOKgA.0", + "X-Azure-Ref" : "0N9jLYAAAAACFiz3TH/z+SLArUNs4gLY7V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3d1b-740a-113a0d00c641\"}}", + "x-ms-client-request-id" : "c8221455-625e-4067-bd56-5d3484ceee60", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "37c96040-d482-4daf-9fb7-72a56fb16b6c", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:31 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "DJ8MvIQR/0SUxWcqmvQdvQ.0", - "X-Azure-Ref" : "05IfLYAAAAAAY6yYMNgQPTowoTWLLIDI7V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-775e-99c6-593a0d00cc40\"}}", - "x-ms-client-request-id" : "0dd9fabf-1cbd-4f77-aa3b-48b8f534b122", + "X-Processing-Time" : "72ms", + "MS-CV" : "OM9fl47J+0uQa8TQzYz9ZA.0", + "X-Azure-Ref" : "0N9jLYAAAAADj/PYcoT20SbFr6uruxWFqV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3dc3-51b9-a43a0d00368b\"}}", + "x-ms-client-request-id" : "37c96040-d482-4daf-9fb7-72a56fb16b6c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "3cc8d3e4-30cf-43b7-81d1-0fce39589d17", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:31 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "6jGgNQeXK0yJbUjsDKIJHg.0", - "X-Azure-Ref" : "05IfLYAAAAACe2DTcqPbWQ6yalzfkP8C8V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-77a4-e3c7-593a0d00f7fc\"}}", - "x-ms-client-request-id" : "a51f7d76-ddcd-4223-b10d-0b54b340e186", + "X-Processing-Time" : "124ms", + "MS-CV" : "O0R9v4mB4Eut6tjvxo7Wow.0", + "X-Azure-Ref" : "0N9jLYAAAAABqaf/yp3sAQKVi9JUFh9u5V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3e66-740a-113a0d00c642\"}}", + "x-ms-client-request-id" : "3cc8d3e4-30cf-43b7-81d1-0fce39589d17", "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_0000000a-baec-768a-e3c7-593a0d00f7fa/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3c75-7f07-113a0d00171b/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "5babd2a3-cb60-4b1a-a79f-66dbe2af6915", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:31 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "37ms", - "MS-CV" : "+KPW/NwrGE6S1rjwbQy45A.0", - "X-Azure-Ref" : "05IfLYAAAAADRRVSy1A8aTKn2qCzRXHgyV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:31.3379288+00:00\"}", - "x-ms-client-request-id" : "da6f5643-ff4a-42d6-bd03-15142a90056b", + "X-Processing-Time" : "171ms", + "MS-CV" : "3Wy9Fh5EBUiXgBbi4DgdAw.0", + "X-Azure-Ref" : "0ONjLYAAAAABNdJSQZKSmRYph8lxtkAzWV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:18:15.2279272+00:00\"}", + "x-ms-client-request-id" : "5babd2a3-cb60-4b1a-a79f-66dbe2af6915", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "cba10040-c4a4-4096-9ca8-b240a645675b", + "x-ms-client-request-id" : "e37d8a79-9d89-4d69-8a34-0fb7eba79031", "Content-Type" : "application/json" }, "Response" : { @@ -133,22 +138,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:32 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:17 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "539ms", - "MS-CV" : "W+bQnIoPOkaXxhU1wjC1nA.0", - "X-Azure-Ref" : "05IfLYAAAAADGA0a95d8gQax3il8lOBsUV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:vAvpzBE8n2ch3KcsMHoFVmR65z-bpEDvhxlpCrup2Qw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:32Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\"}}}}", + "X-Processing-Time" : "956ms", + "MS-CV" : "3eavsZRCb0m9/ccf1onaHQ.0", + "X-Azure-Ref" : "0ONjLYAAAAACfG1eTLDUiTK4tGHuFrm4+V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:S_yhNp9mEuMO4WVuf0OVPN03UvLgqCVhv9h43LxuBIY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:16Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3c75-7f07-113a0d00171b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3c75-7f07-113a0d00171b\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AvAvpzBE8n2ch3KcsMHoFVmR65z-bpEDvhxlpCrup2Qw1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AS_yhNp9mEuMO4WVuf0OVPN03UvLgqCVhv9h43LxuBIY1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:vAvpzBE8n2ch3KcsMHoFVmR65z-bpEDvhxlpCrup2Qw1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:S_yhNp9mEuMO4WVuf0OVPN03UvLgqCVhv9h43LxuBIY1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8ac01b63-86a6-41ec-9701-d86a93592969", + "x-ms-client-request-id" : "60257a49-64ad-4564-86c0-1eded9e5867b", "Content-Type" : "application/json" }, "Response" : { @@ -157,22 +162,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:32 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:16 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "255ms", - "MS-CV" : "yprgTSwz/0av0wSE0EBq3g.0", - "X-Azure-Ref" : "05YfLYAAAAAD9a0j3LCvGT6C78C9Q6vqyV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1623951333393\"}", + "X-Processing-Time" : "192ms", + "MS-CV" : "DshavTIIvkuplChSVXvsXA.0", + "X-Azure-Ref" : "0OdjLYAAAAAALQRu29nhZSJMd/B9r4b71V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623971897349\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AvAvpzBE8n2ch3KcsMHoFVmR65z-bpEDvhxlpCrup2Qw1@thread.v2/messages/1623951333393" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AS_yhNp9mEuMO4WVuf0OVPN03UvLgqCVhv9h43LxuBIY1@thread.v2/messages/1623971897349" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:vAvpzBE8n2ch3KcsMHoFVmR65z-bpEDvhxlpCrup2Qw1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:S_yhNp9mEuMO4WVuf0OVPN03UvLgqCVhv9h43LxuBIY1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b45a6bb0-5fb7-4ebe-a38a-527338a3d742", + "x-ms-client-request-id" : "65be9ed2-5302-443d-ad0a-8caa70fac73b", "Content-Type" : "application/json" }, "Response" : { @@ -181,35 +186,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:33 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:17 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "176ms", - "MS-CV" : "pSh0bxl9+E69NQbJyNtBow.0", - "X-Azure-Ref" : "05YfLYAAAAACunJIwSHYGRas5fjPGbijvV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1623951333675\"}", + "X-Processing-Time" : "200ms", + "MS-CV" : "eGOzqjpW2kORa91Z+Bx8NQ.0", + "X-Azure-Ref" : "0OdjLYAAAAADLwz0cCkmeQ6PzcqjfZxKBV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623971897560\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AvAvpzBE8n2ch3KcsMHoFVmR65z-bpEDvhxlpCrup2Qw1@thread.v2/messages/1623951333675" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AS_yhNp9mEuMO4WVuf0OVPN03UvLgqCVhv9h43LxuBIY1@thread.v2/messages/1623971897560" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:vAvpzBE8n2ch3KcsMHoFVmR65z-bpEDvhxlpCrup2Qw1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:S_yhNp9mEuMO4WVuf0OVPN03UvLgqCVhv9h43LxuBIY1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8b549b53-77b1-4371-8b2a-21ef528abde6" + "x-ms-client-request-id" : "7c348765-ff1d-4580-82a0-6e530413a09e" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "135ms", - "MS-CV" : "lZr4EO8RjkiEe/i5he8O4Q.0", + "X-Processing-Time" : "173ms", + "MS-CV" : "NLREDnmtb067NumlRct+gw.0", "retry-after" : "0", - "X-Azure-Ref" : "05YfLYAAAAABf4cpd5pkFS4JOvBq/xexAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0OdjLYAAAAADWu138MdYBRr1kTEERJaGzV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"id\":\"1623951333675\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1623951333675\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T17:35:33Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}},{\"id\":\"1623951333393\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1623951333393\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T17:35:33Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}},{\"id\":\"1623951332681\",\"type\":\"topicUpdated\",\"sequenceId\":\"2\",\"version\":\"1623951332681\",\"content\":{\"topic\":\"Test\",\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\"}}},\"createdOn\":\"2021-06-17T17:35:32Z\"},{\"id\":\"1623951332616\",\"type\":\"participantAdded\",\"sequenceId\":\"1\",\"version\":\"1623951332616\",\"content\":{\"participants\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-76d2-e3c7-593a0d00f7fb\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-76d2-e3c7-593a0d00f7fb\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}],\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-768a-e3c7-593a0d00f7fa\"}}},\"createdOn\":\"2021-06-17T17:35:32Z\"}]}", - "Date" : "Thu, 17 Jun 2021 17:35:33 GMT", + "Body" : "{\"value\":[{\"id\":\"1623971897560\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1623971897560\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T23:18:17Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3c75-7f07-113a0d00171b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3c75-7f07-113a0d00171b\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}},{\"id\":\"1623971897349\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1623971897349\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T23:18:17Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3c75-7f07-113a0d00171b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3c75-7f07-113a0d00171b\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}},{\"id\":\"1623971896792\",\"type\":\"topicUpdated\",\"sequenceId\":\"2\",\"version\":\"1623971896792\",\"content\":{\"topic\":\"Test\",\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3c75-7f07-113a0d00171b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3c75-7f07-113a0d00171b\"}}},\"createdOn\":\"2021-06-17T23:18:16Z\"},{\"id\":\"1623971896712\",\"type\":\"participantAdded\",\"sequenceId\":\"1\",\"version\":\"1623971896712\",\"content\":{\"participants\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3c75-7f07-113a0d00171b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3c75-7f07-113a0d00171b\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3d1b-740a-113a0d00c641\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3d1b-740a-113a0d00c641\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}],\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3c75-7f07-113a0d00171b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3c75-7f07-113a0d00171b\"}}},\"createdOn\":\"2021-06-17T23:18:16Z\"}]}", + "Date" : "Thu, 17 Jun 2021 23:18:17 GMT", "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 03ac29527df6d..7541c57a55d89 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "024c262b-3dff-4dd5-ac90-b85ecb47744c", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:28 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:11 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "55ms", - "MS-CV" : "W1iCVMM3YkC4/3B5RAjlWw.0", - "X-Azure-Ref" : "04IfLYAAAAADsMgt8gCShTpCnoQ4jEnFmV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\"}}", - "x-ms-client-request-id" : "57c90ae5-4b66-4cef-97c1-a8581b8598ac", + "X-Processing-Time" : "103ms", + "MS-CV" : "OvadeohczUSj6DQlK++wpA.0", + "X-Azure-Ref" : "0M9jLYAAAAACoBj4/qPJ4SZbzws5/j7IPV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-2dd3-740a-113a0d00c63d\"}}", + "x-ms-client-request-id" : "024c262b-3dff-4dd5-ac90-b85ecb47744c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "6ba6c02b-72e8-4adf-aef9-8e4d4110cca0", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:27 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:11 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "07lmKx0P90OfjFxxf7G5fg.0", - "X-Azure-Ref" : "04IfLYAAAAAAoXVtOfRf3QIBfpTiktvgMV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-68ad-e3c7-593a0d00f7f5\"}}", - "x-ms-client-request-id" : "979e8413-85d1-4e3b-a7df-f60bf0dc9f3a", + "X-Processing-Time" : "96ms", + "MS-CV" : "kaL2XjGJyEyap+aRSgNCnw.0", + "X-Azure-Ref" : "0M9jLYAAAAABapgBGdjCsTZCMq2gXTpJkV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-2e89-51b9-a43a0d003689\"}}", + "x-ms-client-request-id" : "6ba6c02b-72e8-4adf-aef9-8e4d4110cca0", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "3881cf61-697e-4098-a3fe-ee0158b74abf", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:28 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:12 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "58ms", - "MS-CV" : "AXJQwECsYUCmJHiN0p4M6g.0", - "X-Azure-Ref" : "04IfLYAAAAABzj5a2cSCZS5KPcGSYwILkV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6905-e3c7-593a0d00f7f6\"}}", - "x-ms-client-request-id" : "a5c1b338-960d-4cde-b274-866ef57bc764", + "X-Processing-Time" : "120ms", + "MS-CV" : "9gzXnKEdfk2a3ZhxJdcXDA.0", + "X-Azure-Ref" : "0M9jLYAAAAADAIXptISnqQp654/Ona+X6V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-2f29-740a-113a0d00c63e\"}}", + "x-ms-client-request-id" : "3881cf61-697e-4098-a3fe-ee0158b74abf", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "088cc045-996e-4c94-84e7-0ea8856d7f6c", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:28 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:11 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "86ms", - "MS-CV" : "Tt9XWMTt/UuhObOdu6psUQ.0", - "X-Azure-Ref" : "04IfLYAAAAABiPHargh/2RqzDaxC9T6lAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6995-99c6-593a0d00cc3d\"}}", - "x-ms-client-request-id" : "b872aeb9-8c36-472c-9fa1-0a017b74c0af", + "X-Processing-Time" : "91ms", + "MS-CV" : "vE/21PPBE0mTrcHm5txfrQ.0", + "X-Azure-Ref" : "0NNjLYAAAAAAdnaorN7kBR47Mu35gVlnnV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-2fd1-7f07-113a0d001718\"}}", + "x-ms-client-request-id" : "088cc045-996e-4c94-84e7-0ea8856d7f6c", "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_0000000a-baec-6865-e3c7-593a0d00f7f4/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-2dd3-740a-113a0d00c63d/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "97337ac1-0b2a-4533-b92c-3243c0c93ebf", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:28 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:12 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "79ms", - "MS-CV" : "C++8bR+xeEOsFTTkYHjabQ.0", - "X-Azure-Ref" : "04IfLYAAAAAA3EGBeM9lpTLFNGQfyQNEoV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:27.8050927+00:00\"}", - "x-ms-client-request-id" : "21d7a2ee-de57-4495-b59d-d703f1bbfd56", + "X-Processing-Time" : "164ms", + "MS-CV" : "MkPsgh7JvU6pjnMVwptkNw.0", + "X-Azure-Ref" : "0NNjLYAAAAAAaJB0K5RDzQamg+zT4t927V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:18:11.4841528+00:00\"}", + "x-ms-client-request-id" : "97337ac1-0b2a-4533-b92c-3243c0c93ebf", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "bf47604b-4f34-40d9-8f0d-13ad61a489d6", + "x-ms-client-request-id" : "4ed0d3b9-cac9-4758-bd61-5c26cfb7abbd", "Content-Type" : "application/json" }, "Response" : { @@ -133,22 +138,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:28 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:12 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "630ms", - "MS-CV" : "cczhPY2DEUy9I9Hd3h9k6A.0", - "X-Azure-Ref" : "04IfLYAAAAAB95k48+XYlTonRTzeVXHxdV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:YCyqfEUPhEtKTdf2FytNnlDEkMNq9OzLwZ39sY0rvRs1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:28Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\"}}}}", + "X-Processing-Time" : "352ms", + "MS-CV" : "FXetChbwZESt2pB2aBmt1A.0", + "X-Azure-Ref" : "0NNjLYAAAAAAyt9L7j/GPTJs+axYxEkRyV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:0y8Lb0uaEwDBGtPA2h7WUemC2Fr0-XOoeHX_7qG-TRQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:12Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-2dd3-740a-113a0d00c63d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-2dd3-740a-113a0d00c63d\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AYCyqfEUPhEtKTdf2FytNnlDEkMNq9OzLwZ39sY0rvRs1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0y8Lb0uaEwDBGtPA2h7WUemC2Fr0-XOoeHX_7qG-TRQ1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:YCyqfEUPhEtKTdf2FytNnlDEkMNq9OzLwZ39sY0rvRs1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:0y8Lb0uaEwDBGtPA2h7WUemC2Fr0-XOoeHX_7qG-TRQ1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4b3edbde-d82a-4997-89aa-6eae93e63dcb", + "x-ms-client-request-id" : "58037ca4-41bd-457a-b604-ffb0194d6b2e", "Content-Type" : "application/json" }, "Response" : { @@ -157,22 +162,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:29 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:13 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "284ms", - "MS-CV" : "K+w6q0Rq5UyHyTxZ6ClBfg.0", - "X-Azure-Ref" : "04YfLYAAAAAA24wYt7zrpTav4x3NoF2kXV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1623951330047\"}", + "X-Processing-Time" : "218ms", + "MS-CV" : "+h+kAQrdBkKTCSLj6kI45Q.0", + "X-Azure-Ref" : "0NNjLYAAAAACDu5lv6KLUTa1cHzCWj0FWV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623971893037\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AYCyqfEUPhEtKTdf2FytNnlDEkMNq9OzLwZ39sY0rvRs1@thread.v2/messages/1623951330047" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0y8Lb0uaEwDBGtPA2h7WUemC2Fr0-XOoeHX_7qG-TRQ1@thread.v2/messages/1623971893037" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:YCyqfEUPhEtKTdf2FytNnlDEkMNq9OzLwZ39sY0rvRs1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:0y8Lb0uaEwDBGtPA2h7WUemC2Fr0-XOoeHX_7qG-TRQ1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "a3a71281-2292-4744-8a0f-a2b01f48b06f", + "x-ms-client-request-id" : "fd1aed3c-c276-4e02-80ac-9ac35cd64189", "Content-Type" : "application/json" }, "Response" : { @@ -181,35 +186,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:29 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:12 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "153ms", - "MS-CV" : "9dhojvHyYES6PLFjBihMoA.0", - "X-Azure-Ref" : "04ofLYAAAAACdoYtnnN8oSp3dcYSdZ+kDV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1623951330284\"}", + "X-Processing-Time" : "122ms", + "MS-CV" : "6Ji57QhBlE2IIYWXsxyqGw.0", + "X-Azure-Ref" : "0NdjLYAAAAAB3vjr4u/aoS56Wp2sba3z4V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623971893230\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AYCyqfEUPhEtKTdf2FytNnlDEkMNq9OzLwZ39sY0rvRs1@thread.v2/messages/1623951330284" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0y8Lb0uaEwDBGtPA2h7WUemC2Fr0-XOoeHX_7qG-TRQ1@thread.v2/messages/1623971893230" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:YCyqfEUPhEtKTdf2FytNnlDEkMNq9OzLwZ39sY0rvRs1@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:0y8Lb0uaEwDBGtPA2h7WUemC2Fr0-XOoeHX_7qG-TRQ1@thread.v2/messages?maxPageSize=10&startTime=2020-09-08T01%3A02%3A14.387Z&api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "ed6710da-76cf-4fff-b53e-faa864c622b3" + "x-ms-client-request-id" : "f980b17e-afee-4d39-a670-8933ee33c2c2" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "105ms", - "MS-CV" : "QU4/cKJHdUW+RjjYDhQjgw.0", + "X-Processing-Time" : "112ms", + "MS-CV" : "MM5gAuB9U0WQakoYUp/wCQ.0", "retry-after" : "0", - "X-Azure-Ref" : "04ofLYAAAAABsRWsQ2fXbRoZDMzaD4040V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0NdjLYAAAAADqbqYWLVxBSZhdYBf/ANZnV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"id\":\"1623951330284\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1623951330284\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T17:35:30Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}},{\"id\":\"1623951330047\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1623951330047\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T17:35:30Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}},{\"id\":\"1623951329188\",\"type\":\"topicUpdated\",\"sequenceId\":\"2\",\"version\":\"1623951329188\",\"content\":{\"topic\":\"Test\",\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\"}}},\"createdOn\":\"2021-06-17T17:35:29Z\"},{\"id\":\"1623951329138\",\"type\":\"participantAdded\",\"sequenceId\":\"1\",\"version\":\"1623951329138\",\"content\":{\"participants\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-68ad-e3c7-593a0d00f7f5\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-68ad-e3c7-593a0d00f7f5\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}],\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6865-e3c7-593a0d00f7f4\"}}},\"createdOn\":\"2021-06-17T17:35:29Z\"}]}", - "Date" : "Thu, 17 Jun 2021 17:35:30 GMT", + "Body" : "{\"value\":[{\"id\":\"1623971893230\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1623971893230\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T23:18:13Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-2dd3-740a-113a0d00c63d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-2dd3-740a-113a0d00c63d\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}},{\"id\":\"1623971893037\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1623971893037\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T23:18:13Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-2dd3-740a-113a0d00c63d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-2dd3-740a-113a0d00c63d\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}},{\"id\":\"1623971892745\",\"type\":\"topicUpdated\",\"sequenceId\":\"2\",\"version\":\"1623971892745\",\"content\":{\"topic\":\"Test\",\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-2dd3-740a-113a0d00c63d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-2dd3-740a-113a0d00c63d\"}}},\"createdOn\":\"2021-06-17T23:18:12Z\"},{\"id\":\"1623971892710\",\"type\":\"participantAdded\",\"sequenceId\":\"1\",\"version\":\"1623971892710\",\"content\":{\"participants\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-2dd3-740a-113a0d00c63d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-2dd3-740a-113a0d00c63d\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-2e89-51b9-a43a0d003689\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-2e89-51b9-a43a0d003689\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}],\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-2dd3-740a-113a0d00c63d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-2dd3-740a-113a0d00c63d\"}}},\"createdOn\":\"2021-06-17T23:18:12Z\"}]}", + "Date" : "Thu, 17 Jun 2021 23:18:13 GMT", "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 3bce6762101c2..a1fbda4bec111 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 @@ -4,7 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "3ead657f-2d2c-425a-9f58-36a31d6d4909" + "x-ms-client-request-id" : "d214cd8a-e88b-46ba-a915-5d118cab0bee" }, "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 cb5a3608c298d..8d4735c7fe5ec 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 @@ -4,7 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c4eb45ff-1fdb-46de-922c-f8f01e5c5a0a" + "x-ms-client-request-id" : "56d051d3-1a4c-4327-af8c-e32a89f0aff7" }, "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 c2b51ca5f7970..9fa87f6915d19 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "5a006086-ba41-4907-ab41-83bc2b3a06a2", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:36:04 GMT", + "Date" : "Thu, 17 Jun 2021 23:19:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "56ms", - "MS-CV" : "HaQKbz3EuEKcaRiPiQHF7A.0", - "X-Azure-Ref" : "0BYjLYAAAAAALb4tc5tKrS5ccebUhvzaNV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-f8d0-e3c7-593a0d00f842\"}}", - "x-ms-client-request-id" : "d56dfbb8-d84a-4d81-a72a-fc37916a6b54", + "X-Processing-Time" : "96ms", + "MS-CV" : "YMRNKYUeZUGdDNQv5iKQgA.0", + "X-Azure-Ref" : "0aNjLYAAAAAD49OtTR2ouTpgrqoDguQnwV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-fdec-740a-113a0d00c673\"}}", + "x-ms-client-request-id" : "5a006086-ba41-4907-ab41-83bc2b3a06a2", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "4ab15175-7028-4d0e-a0ef-685c1474ae0a", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:36:04 GMT", + "Date" : "Thu, 17 Jun 2021 23:19:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "58ms", - "MS-CV" : "iUTCB/kmvkqZNtjC0wHRyQ.0", - "X-Azure-Ref" : "0BYjLYAAAAACkzeHMBJafR7di18uUf9U1V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-f925-e3c7-593a0d00f843\"}}", - "x-ms-client-request-id" : "ebb3cd92-2f41-4f4f-b29c-09125e64597a", + "X-Processing-Time" : "108ms", + "MS-CV" : "SkCg0H+MGEizz+auNyfqjw.0", + "X-Azure-Ref" : "0adjLYAAAAAAZbj9E2JO5QpBPzjewLujCV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-fea6-7f07-113a0d001751\"}}", + "x-ms-client-request-id" : "4ab15175-7028-4d0e-a0ef-685c1474ae0a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "5e1b6b5e-2e54-4e87-b859-423157f9732b", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:36:05 GMT", + "Date" : "Thu, 17 Jun 2021 23:19:05 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "0KqR+c2250GmFmT7TwKnFQ.0", - "X-Azure-Ref" : "0BYjLYAAAAAAW0MsOq36PTJGVg9JSbamyV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-f966-e3c7-593a0d00f844\"}}", - "x-ms-client-request-id" : "8c951591-9692-4208-9af6-b2280c624a8a", + "X-Processing-Time" : "96ms", + "MS-CV" : "O9YzmwzeeEqCImcEcMPjhw.0", + "X-Azure-Ref" : "0adjLYAAAAABEsHb2WDlSSpMWpg6dBGILV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-ff54-740a-113a0d00c674\"}}", + "x-ms-client-request-id" : "5e1b6b5e-2e54-4e87-b859-423157f9732b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "0523d6d3-a2db-4cb3-b270-1b2d804d0f77", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:36:04 GMT", + "Date" : "Thu, 17 Jun 2021 23:19:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "60ms", - "MS-CV" : "5AQrfr03mUuPsborxsHkaQ.0", - "X-Azure-Ref" : "0BYjLYAAAAADXVjwqdnlVTKISJZbiA2kqV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-f9be-99c6-593a0d00cc63\"}}", - "x-ms-client-request-id" : "dfacf594-becb-42da-9f03-d2fe735b1dc1", + "X-Processing-Time" : "104ms", + "MS-CV" : "0Vwg6vUTZ0q/RZ0sVSHI1w.0", + "X-Azure-Ref" : "0adjLYAAAAACccVgNG0PqQ6/63bU7FlGDV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc27-0014-51b9-a43a0d0036b1\"}}", + "x-ms-client-request-id" : "0523d6d3-a2db-4cb3-b270-1b2d804d0f77", "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_0000000a-baec-f8d0-e3c7-593a0d00f842/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-fdec-740a-113a0d00c673/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "ae5701d3-969d-4339-986c-9ff993c856a1", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:36:05 GMT", + "Date" : "Thu, 17 Jun 2021 23:19:05 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "2G//pXHA3kCCo6z6c+3YUQ.0", - "X-Azure-Ref" : "0BYjLYAAAAAAsEeQECtRIQpw9bhjkxcwkV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:36:04.6700018+00:00\"}", - "x-ms-client-request-id" : "d1b9e310-0514-472d-9349-5b44a829670e", + "X-Processing-Time" : "431ms", + "MS-CV" : "11pp40BEIUyRrbHA0ARh5Q.0", + "X-Azure-Ref" : "0adjLYAAAAAAYosKiMGClSLxiQZEkfbDnV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:19:05.0331029+00:00\"}", + "x-ms-client-request-id" : "ae5701d3-969d-4339-986c-9ff993c856a1", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4d2b3fbe-9bc8-40bf-9782-e809ef1efa97", + "x-ms-client-request-id" : "68294610-5288-4a9b-a995-b7910cc3ed26", "Content-Type" : "application/json" }, "Response" : { @@ -133,22 +138,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:36:05 GMT", + "Date" : "Thu, 17 Jun 2021 23:19:06 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "513ms", - "MS-CV" : "doWj8zeYyEW5UBkiA9ccpg.0", - "X-Azure-Ref" : "0BYjLYAAAAABvloyqVDPBSI2mNxRgC3cxV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:uiCnnBVRswCa1A0aJzeeodVVGn7RudQs9MFhsz0YJck1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:36:05Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-f8d0-e3c7-593a0d00f842\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-f8d0-e3c7-593a0d00f842\"}}}}", + "X-Processing-Time" : "821ms", + "MS-CV" : "Szl+xhxw80q7ucYBbLJLdA.0", + "X-Azure-Ref" : "0atjLYAAAAABjzEP0y1GVRKxlx/CZahhxV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:BTNDJsnhkCf36KDxYg6IiNjT0DgBbEt5NCWIL4XPaPk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:19:06Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-fdec-740a-113a0d00c673\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-fdec-740a-113a0d00c673\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AuiCnnBVRswCa1A0aJzeeodVVGn7RudQs9MFhsz0YJck1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ABTNDJsnhkCf36KDxYg6IiNjT0DgBbEt5NCWIL4XPaPk1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:uiCnnBVRswCa1A0aJzeeodVVGn7RudQs9MFhsz0YJck1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:BTNDJsnhkCf36KDxYg6IiNjT0DgBbEt5NCWIL4XPaPk1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9ec16325-2f38-4b4a-91aa-c6951cc157ff", + "x-ms-client-request-id" : "5b56707c-512b-4211-b759-88504aa79ac7", "Content-Type" : "application/json" }, "Response" : { @@ -157,22 +162,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:36:05 GMT", + "Date" : "Thu, 17 Jun 2021 23:19:06 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "167ms", - "MS-CV" : "Z5jckXqdh0qy2ulIO/FQqQ.0", - "X-Azure-Ref" : "0BojLYAAAAADTJrb7XH4nQIxSg97nsKnMV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1623951366304\"}", + "X-Processing-Time" : "149ms", + "MS-CV" : "MlUDDmW0jUCaK4BPijfSpQ.0", + "X-Azure-Ref" : "0atjLYAAAAAAldJhviVu3QKNxRcXfuwhaV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623971946993\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AuiCnnBVRswCa1A0aJzeeodVVGn7RudQs9MFhsz0YJck1@thread.v2/messages/1623951366304" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ABTNDJsnhkCf36KDxYg6IiNjT0DgBbEt5NCWIL4XPaPk1@thread.v2/messages/1623971946993" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:uiCnnBVRswCa1A0aJzeeodVVGn7RudQs9MFhsz0YJck1@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:BTNDJsnhkCf36KDxYg6IiNjT0DgBbEt5NCWIL4XPaPk1@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "db42b537-5640-43f7-b013-f24d53272eee", + "x-ms-client-request-id" : "1302ea98-6b1f-4766-b311-59e630ebfb2a", "Content-Type" : "application/json" }, "Response" : { @@ -180,12 +185,12 @@ "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", - "X-Processing-Time" : "118ms", - "MS-CV" : "9aDTfmg+I0+KvBq769WSIw.0", + "X-Processing-Time" : "194ms", + "MS-CV" : "7Q8/KNTLbU+1w3wmXZ/QLw.0", "retry-after" : "0", - "X-Azure-Ref" : "0BojLYAAAAABoV2HEIlavQ5S9JxCZq9qqV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0a9jLYAAAAAAX7z0dYkfMR7HDjLnxyOOqV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:36:05 GMT" + "Date" : "Thu, 17 Jun 2021 23:19:06 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 3c92a22ce71ce..a744aef9bb036 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "30e49458-cabb-4d0a-b0a4-8710319d3a4c", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:36:02 GMT", + "Date" : "Thu, 17 Jun 2021 23:19:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "58ms", - "MS-CV" : "tNw4BdvjtkCYN7BqcTwJOA.0", - "X-Azure-Ref" : "0AojLYAAAAADiasIrCwqhTqbFir6JtMKnV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-efd1-e3c7-593a0d00f83e\"}}", - "x-ms-client-request-id" : "ad970cc1-efaa-45e6-8335-f19874cc69ad", + "X-Processing-Time" : "97ms", + "MS-CV" : "SQ5jvt5420O0NjDAZxx45w.0", + "X-Azure-Ref" : "0ZtjLYAAAAACspcwjDIr5Qbz9cgE7si1BV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-f474-740a-113a0d00c66d\"}}", + "x-ms-client-request-id" : "30e49458-cabb-4d0a-b0a4-8710319d3a4c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "4ef858cc-d23a-4450-b690-ef213c0554aa", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:36:02 GMT", + "Date" : "Thu, 17 Jun 2021 23:19:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "59ms", - "MS-CV" : "FaAKvYXaTU2Pd6VLxD/4zQ.0", - "X-Azure-Ref" : "0A4jLYAAAAABtREFYXPpBRbUc+UvP3dK2V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-f049-e3c7-593a0d00f83f\"}}", - "x-ms-client-request-id" : "751fbd48-0b74-4f98-b70c-54f1689b36b3", + "X-Processing-Time" : "93ms", + "MS-CV" : "IUD7BAGrrkiuVi/G/+ByIw.0", + "X-Azure-Ref" : "0ZtjLYAAAAAAzS4Z3ykAGQ4drx0oHci4OV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-f51e-7f07-113a0d00174d\"}}", + "x-ms-client-request-id" : "4ef858cc-d23a-4450-b690-ef213c0554aa", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "ed129d60-7bef-4922-abf2-15ce90789f7f", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:36:02 GMT", + "Date" : "Thu, 17 Jun 2021 23:19:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "EBTRkGFk40e0gG1BXRCmsQ.0", - "X-Azure-Ref" : "0A4jLYAAAAADUCpwIHn2DS7jS/20ipxiZV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-f086-e3c7-593a0d00f840\"}}", - "x-ms-client-request-id" : "640f26d1-5501-4ffc-a38c-50c07ca9f7eb", + "X-Processing-Time" : "95ms", + "MS-CV" : "xuT8hQqRkkC8fCuVq99VEA.0", + "X-Azure-Ref" : "0ZtjLYAAAAAC64xaoa7ZURJPRlnIQIbQqV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-f5c9-740a-113a0d00c66e\"}}", + "x-ms-client-request-id" : "ed129d60-7bef-4922-abf2-15ce90789f7f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "251ac48b-ff1b-4561-9845-61712ccd7811", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:36:03 GMT", + "Date" : "Thu, 17 Jun 2021 23:19:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "59ms", - "MS-CV" : "A5+t6r+fZkCaBHSmKDbeEg.0", - "X-Azure-Ref" : "0BIjLYAAAAADhP0FwWK9KRbTcPxTyH4yoV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-f463-99c6-593a0d00cc62\"}}", - "x-ms-client-request-id" : "f8286a47-28db-435a-b5b2-45fb26b5b7eb", + "X-Processing-Time" : "100ms", + "MS-CV" : "bKtHqig3f0OpEMC36rBe7w.0", + "X-Azure-Ref" : "0ZtjLYAAAAAA2DAUwVRwEQLdA4pjB3qKOV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-f685-51b9-a43a0d0036ae\"}}", + "x-ms-client-request-id" : "251ac48b-ff1b-4561-9845-61712ccd7811", "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_0000000a-baec-efd1-e3c7-593a0d00f83e/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-f474-740a-113a0d00c66d/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "17755411-3224-43f3-8630-4c26eb5442b4", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:36:03 GMT", + "Date" : "Thu, 17 Jun 2021 23:19:03 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "38ms", - "MS-CV" : "VqmZfgfkm02P/avQXh0S4Q.0", - "X-Azure-Ref" : "0BIjLYAAAAAD+iFppS9eRR4DDQKr3+BSoV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:36:03.2728245+00:00\"}", - "x-ms-client-request-id" : "4a13b35b-d790-44e1-b417-ec3d0610d4b9", + "X-Processing-Time" : "163ms", + "MS-CV" : "hE87f5tV70WM8G8LPWGqjA.0", + "X-Azure-Ref" : "0Z9jLYAAAAAAVGk9k5SfVSqioGVRBeqi0V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:19:02.3192642+00:00\"}", + "x-ms-client-request-id" : "17755411-3224-43f3-8630-4c26eb5442b4", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "393e61f2-3bf8-4c70-aa4f-674282d2ec87", + "x-ms-client-request-id" : "1a0eb5b4-78a3-4778-b8d7-3194ed256895", "Content-Type" : "application/json" }, "Response" : { @@ -133,22 +138,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:36:04 GMT", + "Date" : "Thu, 17 Jun 2021 23:19:03 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "517ms", - "MS-CV" : "mgZWaeL8Eki7pQ0JVDRqZg.0", - "X-Azure-Ref" : "0BIjLYAAAAAC3DgQ+FKZhRb4sPq3lqwCsV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:gnxZJMqJo8pj5jRa9bA-OsoWNoDRAoR5jR0r4ogg-C41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:36:04Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-efd1-e3c7-593a0d00f83e\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-efd1-e3c7-593a0d00f83e\"}}}}", + "X-Processing-Time" : "769ms", + "MS-CV" : "F4AGhlq+CEaUpfDjba0Lsw.0", + "X-Azure-Ref" : "0Z9jLYAAAAACkzXGKk3+aRZ+k1ePlLTgeV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:JGAnJ79oP3F2FFBA0t0dSq2Os7IQ1515RZTbIezJjtA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:19:03Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-f474-740a-113a0d00c66d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-f474-740a-113a0d00c66d\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AgnxZJMqJo8pj5jRa9bA-OsoWNoDRAoR5jR0r4ogg-C41@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AJGAnJ79oP3F2FFBA0t0dSq2Os7IQ1515RZTbIezJjtA1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:gnxZJMqJo8pj5jRa9bA-OsoWNoDRAoR5jR0r4ogg-C41@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:JGAnJ79oP3F2FFBA0t0dSq2Os7IQ1515RZTbIezJjtA1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c3f91024-df72-49cd-a69c-f9a70d1c04f0", + "x-ms-client-request-id" : "15a6f163-93bd-4844-929f-63e994b7d3bc", "Content-Type" : "application/json" }, "Response" : { @@ -157,22 +162,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:36:04 GMT", + "Date" : "Thu, 17 Jun 2021 23:19:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "170ms", - "MS-CV" : "3WjuZKSCcE69V2k5WBvdgw.0", - "X-Azure-Ref" : "0BIjLYAAAAAAIfbyfP+cMRYG+mG3QUoyhV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1623951364927\"}", + "X-Processing-Time" : "413ms", + "MS-CV" : "UkvXOnl0RU2wAexGWXeidQ.0", + "X-Azure-Ref" : "0aNjLYAAAAADvzVH1CnH+RqYcLTkec2cxV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623971944441\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AgnxZJMqJo8pj5jRa9bA-OsoWNoDRAoR5jR0r4ogg-C41@thread.v2/messages/1623951364927" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AJGAnJ79oP3F2FFBA0t0dSq2Os7IQ1515RZTbIezJjtA1@thread.v2/messages/1623971944441" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:gnxZJMqJo8pj5jRa9bA-OsoWNoDRAoR5jR0r4ogg-C41@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:JGAnJ79oP3F2FFBA0t0dSq2Os7IQ1515RZTbIezJjtA1@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "88bccd09-4b88-412e-886c-2299dc73824e", + "x-ms-client-request-id" : "f6a227fd-0d4f-4e27-952e-1e16d9327176", "Content-Type" : "application/json" }, "Response" : { @@ -180,12 +185,12 @@ "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", - "X-Processing-Time" : "181ms", - "MS-CV" : "il4ohUENUEKTlRYAKk3SQQ.0", + "X-Processing-Time" : "220ms", + "MS-CV" : "8rNGJAuWWkm+1RJVqLUzNw.0", "retry-after" : "0", - "X-Azure-Ref" : "0BYjLYAAAAAD3xFUU0yTYT4rW88/jzX85V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0aNjLYAAAAAAQmOh1PGFzSaOKc6bVGsrPV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:36:04 GMT" + "Date" : "Thu, 17 Jun 2021 23:19:04 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 ad00ce126d4c5..0fd880d2f4e7d 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "006120d9-a39e-4038-a7db-32e8a3b66503", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:44 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "QMZOYdp3ikqmDcTTLcBAbA.0", - "X-Azure-Ref" : "08IfLYAAAAACAFxYfnXCzSr+v/KMUFqDOV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a796-e3c7-593a0d00f812\"}}", - "x-ms-client-request-id" : "3095882a-dabe-4327-bf97-26dd12ccac8f", + "X-Processing-Time" : "96ms", + "MS-CV" : "S7tmUKrL30WsPw7RO/f9Ew.0", + "X-Azure-Ref" : "0SdjLYAAAAAAmZlv8bV0ERZdMwwaNSPrMV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-834d-740a-113a0d00c652\"}}", + "x-ms-client-request-id" : "006120d9-a39e-4038-a7db-32e8a3b66503", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "ea1dd294-ca6d-4167-a3cd-0cb298b35674", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:43 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "34ms", - "MS-CV" : "R2jvCqXbDESa8NHF8kqoVw.0", - "X-Azure-Ref" : "08IfLYAAAAABkH076M2NQQqFFIBJt/aeCV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a7f6-e3c7-593a0d00f813\"}}", - "x-ms-client-request-id" : "51322509-aad3-4ead-be89-fc83cbd402c1", + "X-Processing-Time" : "95ms", + "MS-CV" : "ieK8y2nR7U+/u4yAtYAfoQ.0", + "X-Azure-Ref" : "0SdjLYAAAAAAH4ah8bkiYRpSC9Od9JZH3V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-842c-7f07-113a0d00172c\"}}", + "x-ms-client-request-id" : "ea1dd294-ca6d-4167-a3cd-0cb298b35674", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "aad1dbde-bfb8-4793-aa89-5b4ce4600ae2", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:44 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "56ms", - "MS-CV" : "ZXAe/gjSpEevkvDQnHysFg.0", - "X-Azure-Ref" : "08IfLYAAAAABjlQ4s8ZtoTbmSbQU9Tl/UV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a84b-e3c7-593a0d00f814\"}}", - "x-ms-client-request-id" : "50de5d99-e529-4b59-af1f-3494b6d6d0ac", + "X-Processing-Time" : "96ms", + "MS-CV" : "Wo4Nrr5YLk25RDQrWYZW2A.0", + "X-Azure-Ref" : "0SdjLYAAAAADuoY5E1w7LR4pGg/pO95FOV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-84dd-740a-113a0d00c653\"}}", + "x-ms-client-request-id" : "aad1dbde-bfb8-4793-aa89-5b4ce4600ae2", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "1e8828ab-7213-4960-a403-3a7b6f156258", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:44 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "34ms", - "MS-CV" : "EfE/LVIJv02PjyVJtVzKiw.0", - "X-Azure-Ref" : "08IfLYAAAAAAkcjybDbRDQp5EIoYmE0M4V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a896-99c6-593a0d00cc4b\"}}", - "x-ms-client-request-id" : "0e56706e-9d66-4a3d-80d7-b5a810db8a16", + "X-Processing-Time" : "103ms", + "MS-CV" : "XM7kBLbcnUy/AXRxXoEu5Q.0", + "X-Azure-Ref" : "0StjLYAAAAAAGDzugh5d2Q5pYJDCkRqGGV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-8598-51b9-a43a0d003698\"}}", + "x-ms-client-request-id" : "1e8828ab-7213-4960-a403-3a7b6f156258", "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_0000000a-baec-a796-e3c7-593a0d00f812/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-834d-740a-113a0d00c652/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "f512eefe-2d71-417f-97c4-45ac645283e6", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:44 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:34 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "37ms", - "MS-CV" : "oJ9v1e+PI0S+dwEtWYPP4w.0", - "X-Azure-Ref" : "08IfLYAAAAAAGbJ4YUGblRZXgN9sUcB8IV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:43.8713114+00:00\"}", - "x-ms-client-request-id" : "a8f2f272-37d6-4673-8ff1-5349786aeec9", + "X-Processing-Time" : "160ms", + "MS-CV" : "vssH4Gr0fkq6AHJ/hxu9SQ.0", + "X-Azure-Ref" : "0StjLYAAAAACUqzT+v+qcRY9k1YqG7aHAV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:18:33.4075264+00:00\"}", + "x-ms-client-request-id" : "f512eefe-2d71-417f-97c4-45ac645283e6", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "0e19c0bf-353b-4c16-acc5-37666defae11", + "x-ms-client-request-id" : "5357cd6d-4eb8-46af-aad6-715fd02366b8", "Content-Type" : "application/json" }, "Response" : { @@ -133,22 +138,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:45 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:34 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "781ms", - "MS-CV" : "Djee2MV2u0e3zaLSrgw4cg.0", - "X-Azure-Ref" : "08IfLYAAAAABpru/7JtxUTqnFdO/K1vewV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:JMWrkSBL0NDnygLKTQ-llZ2H_UPsRyxcAQy5xmmVfY01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:44Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a796-e3c7-593a0d00f812\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a796-e3c7-593a0d00f812\"}}}}", + "X-Processing-Time" : "910ms", + "MS-CV" : "aDUVQ7GPVkquaEboILq+1w.0", + "X-Azure-Ref" : "0StjLYAAAAAAZ6rVC37pQTYws5zx/bZnmV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:gVGC2lz2KAN9xyCEW3dsRBxx_A2WpOUEyo7Xt3kkhVE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:34Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-834d-740a-113a0d00c652\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-834d-740a-113a0d00c652\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AJMWrkSBL0NDnygLKTQ-llZ2H_UPsRyxcAQy5xmmVfY01@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AgVGC2lz2KAN9xyCEW3dsRBxx_A2WpOUEyo7Xt3kkhVE1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:JMWrkSBL0NDnygLKTQ-llZ2H_UPsRyxcAQy5xmmVfY01@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:gVGC2lz2KAN9xyCEW3dsRBxx_A2WpOUEyo7Xt3kkhVE1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "392cde45-3ecc-4e4c-922c-27a5b6d6dd1c", + "x-ms-client-request-id" : "b364bb8e-b29b-4249-9569-d3955d188a95", "Content-Type" : "application/json" }, "Response" : { @@ -157,35 +162,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:45 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:35 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "170ms", - "MS-CV" : "28FIYemdpUqdFqbb6J981A.0", - "X-Azure-Ref" : "08YfLYAAAAADkwF4nJN8pTbDBfiUbn6oFV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1623951345784\"}", + "X-Processing-Time" : "249ms", + "MS-CV" : "veah4CSihUOMguW4wwVrUA.0", + "X-Azure-Ref" : "0S9jLYAAAAABkSt4w0mqnSKFh5m1csyDGV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623971915538\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AJMWrkSBL0NDnygLKTQ-llZ2H_UPsRyxcAQy5xmmVfY01@thread.v2/messages/1623951345784" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AgVGC2lz2KAN9xyCEW3dsRBxx_A2WpOUEyo7Xt3kkhVE1@thread.v2/messages/1623971915538" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:JMWrkSBL0NDnygLKTQ-llZ2H_UPsRyxcAQy5xmmVfY01@thread.v2/messages/1623951345784?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:gVGC2lz2KAN9xyCEW3dsRBxx_A2WpOUEyo7Xt3kkhVE1@thread.v2/messages/1623971915538?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "0d12d0f9-9069-4f48-a96e-4157cca45b78" + "x-ms-client-request-id" : "18a2cc61-8307-4b18-bb99-37702101980b" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "126ms", - "MS-CV" : "sBuPdtbClEuxB4jN2GkqbQ.0", + "X-Processing-Time" : "166ms", + "MS-CV" : "n4PLs7gPTEGlrEfA6GC6Ww.0", "retry-after" : "0", - "X-Azure-Ref" : "08YfLYAAAAADO4OuKUpO4RoIjaZF5MmhxV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0S9jLYAAAAACY0kw3ug93QaACOoeGUh+UV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"1623951345784\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1623951345784\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T17:35:45Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a796-e3c7-593a0d00f812\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a796-e3c7-593a0d00f812\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", - "Date" : "Thu, 17 Jun 2021 17:35:45 GMT", + "Body" : "{\"id\":\"1623971915538\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1623971915538\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T23:18:35Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-834d-740a-113a0d00c652\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-834d-740a-113a0d00c652\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", + "Date" : "Thu, 17 Jun 2021 23:18:35 GMT", "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 e4068f3819708..f7e55c862bf5a 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "2072b7aa-f17e-43be-99d5-f8ace34f92d8", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:19 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:01 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "33ms", - "MS-CV" : "CjjlLG6jrUypcxl9NbiTYQ.0", - "X-Azure-Ref" : "02IfLYAAAAAAJyNcU1IH7TKHirHDjo4e8V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-49f0-e3c7-593a0d00f7e1\"}}", - "x-ms-client-request-id" : "e0d5cfc4-5617-470e-9200-29057657d2bd", + "X-Processing-Time" : "97ms", + "MS-CV" : "7887iZDWL0i90qH5NVFdNA.0", + "X-Azure-Ref" : "0KtjLYAAAAAB9XLTQTJOKQLjvZlgJ6R63V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-0962-51b9-a43a0d003681\"}}", + "x-ms-client-request-id" : "2072b7aa-f17e-43be-99d5-f8ace34f92d8", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "08752059-8098-4cdd-8161-2793d5c8bfec", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:20 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "56ms", - "MS-CV" : "8bapUo9SyE6mPKNe9WHZbw.0", - "X-Azure-Ref" : "02IfLYAAAAADzcstbkjExToAlZpuAxNmEV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-4a56-e3c7-593a0d00f7e2\"}}", - "x-ms-client-request-id" : "eb34ae3b-1c3e-4b00-a7ec-b40dd9a25f39", + "X-Processing-Time" : "121ms", + "MS-CV" : "QPI0yy05J0KwEjj+OrJKiw.0", + "X-Azure-Ref" : "0KtjLYAAAAACDsGNG0otnTIsCkZ35fuqmV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-0a02-740a-113a0d00c62f\"}}", + "x-ms-client-request-id" : "08752059-8098-4cdd-8161-2793d5c8bfec", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "9fa02678-7995-45f0-ac7c-a191fb48396f", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:20 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "54ms", - "MS-CV" : "7xJYPdRDoEubQJ0VBBxwzw.0", - "X-Azure-Ref" : "02IfLYAAAAACphlssfzyJTLrYR0W0vKtcV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-4aae-e3c7-593a0d00f7e3\"}}", - "x-ms-client-request-id" : "964ec049-9f11-41bf-9081-9404ff879d91", + "X-Processing-Time" : "93ms", + "MS-CV" : "QB9p4mAlqUaWJavuA6K/tw.0", + "X-Azure-Ref" : "0KtjLYAAAAAAwYLqv+afcRrC3lI1h8qzLV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-0aab-7f07-113a0d00170a\"}}", + "x-ms-client-request-id" : "9fa02678-7995-45f0-ac7c-a191fb48396f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "3f822efd-c5f4-4c6b-a26f-aaf3a7f6ae4c", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:20 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "38ms", - "MS-CV" : "JIjuBAt/HU+2gNOwgPKnnw.0", - "X-Azure-Ref" : "02IfLYAAAAAAxxY6UG0Q0R4R8Yr72SRGOV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-4b10-e3c7-593a0d00f7e4\"}}", - "x-ms-client-request-id" : "30e6bafd-a192-4405-826e-369a1c5ed4b5", + "X-Processing-Time" : "99ms", + "MS-CV" : "lDkDPbemS0OYzGkCBTzWKw.0", + "X-Azure-Ref" : "0KtjLYAAAAAA1X9rCsExySrNByPAL1EHLV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-0b58-740a-113a0d00c630\"}}", + "x-ms-client-request-id" : "3f822efd-c5f4-4c6b-a26f-aaf3a7f6ae4c", "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_0000000a-baec-49f0-e3c7-593a0d00f7e1/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-0962-51b9-a43a0d003681/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "9867b74e-22f7-4ed9-8d98-1197957bf79b", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:20 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "42ms", - "MS-CV" : "yfD0osmxjUqWqFA8/93Aqg.0", - "X-Azure-Ref" : "02IfLYAAAAAB3ONMkFiHvSpdoyFT3t3ipV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:19.9319185+00:00\"}", - "x-ms-client-request-id" : "949d81b2-844a-46f8-a0e6-e1c26afc1ac0", + "X-Processing-Time" : "148ms", + "MS-CV" : "FYjmAf/OQkalmDPaqX1gkw.0", + "X-Azure-Ref" : "0KtjLYAAAAABX/2jTSrQmTaI+VjCaUHk9V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:18:02.1231921+00:00\"}", + "x-ms-client-request-id" : "9867b74e-22f7-4ed9-8d98-1197957bf79b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "02fac4e8-9250-4ed3-8348-2802187bf156", + "x-ms-client-request-id" : "4910e73c-7316-4ee3-b462-d811e016d48e", "Content-Type" : "application/json" }, "Response" : { @@ -133,22 +138,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:21 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:03 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "676ms", - "MS-CV" : "ElXXk9cz50KuoSe7dMs2cA.0", - "X-Azure-Ref" : "02IfLYAAAAADek6wf6h13TqgHbEGzDiPyV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:3czMWxHEFEMpHsCdpl_LzshRDt0iJHwye1AD7on_MVM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:21Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-49f0-e3c7-593a0d00f7e1\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-49f0-e3c7-593a0d00f7e1\"}}}}", + "X-Processing-Time" : "570ms", + "MS-CV" : "DILoXp0V7ke+7wUOD9T41Q.0", + "X-Azure-Ref" : "0K9jLYAAAAAC2vNj5lTItQYweVSsafkSgV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:Jse6wtGZyCMDvluFXUyxUojksPsn4TKtpOFRs9vnDaQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:03Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-0962-51b9-a43a0d003681\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-0962-51b9-a43a0d003681\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A3czMWxHEFEMpHsCdpl_LzshRDt0iJHwye1AD7on_MVM1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AJse6wtGZyCMDvluFXUyxUojksPsn4TKtpOFRs9vnDaQ1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:3czMWxHEFEMpHsCdpl_LzshRDt0iJHwye1AD7on_MVM1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Jse6wtGZyCMDvluFXUyxUojksPsn4TKtpOFRs9vnDaQ1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "798295fe-7e0a-44f1-9f2e-27855bd77dd4", + "x-ms-client-request-id" : "8ef42c0c-99f1-41bb-bb59-269468104452", "Content-Type" : "application/json" }, "Response" : { @@ -157,35 +162,35 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:21 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:03 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "334ms", - "MS-CV" : "L5RuTysnG0ybaiA/dFISAg.0", - "X-Azure-Ref" : "02YfLYAAAAAC2RjgX00NgTKQ7DGnaSKSTV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1623951321934\"}", + "X-Processing-Time" : "352ms", + "MS-CV" : "KY5dGKvPPEuCJHUiqt2VTA.0", + "X-Azure-Ref" : "0K9jLYAAAAAAHGDI0xxjHQYdbFA3nfvuGV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623971883928\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A3czMWxHEFEMpHsCdpl_LzshRDt0iJHwye1AD7on_MVM1@thread.v2/messages/1623951321934" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AJse6wtGZyCMDvluFXUyxUojksPsn4TKtpOFRs9vnDaQ1@thread.v2/messages/1623971883928" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:3czMWxHEFEMpHsCdpl_LzshRDt0iJHwye1AD7on_MVM1@thread.v2/messages/1623951321934?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Jse6wtGZyCMDvluFXUyxUojksPsn4TKtpOFRs9vnDaQ1@thread.v2/messages/1623971883928?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "5ad6b744-9fab-4b45-a7dd-0d4c60718f76" + "x-ms-client-request-id" : "5beedb22-7ad1-4c7a-a8e1-18c3a12dc9a5" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "183ms", - "MS-CV" : "yOnmkMRQqEqs5z1JNqSZ2w.0", + "X-Processing-Time" : "101ms", + "MS-CV" : "zWHVl4yZR0OZm7+yPMppHg.0", "retry-after" : "0", - "X-Azure-Ref" : "02ofLYAAAAAAMz4Z1o3C/TKp6STfFTwOLV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0LNjLYAAAAADlmlmNOcP5SZ3reRo91j34V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"1623951321934\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1623951321934\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T17:35:21Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-49f0-e3c7-593a0d00f7e1\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-49f0-e3c7-593a0d00f7e1\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", - "Date" : "Thu, 17 Jun 2021 17:35:21 GMT", + "Body" : "{\"id\":\"1623971883928\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1623971883928\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T23:18:03Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-0962-51b9-a43a0d003681\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-0962-51b9-a43a0d003681\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", + "Date" : "Thu, 17 Jun 2021 23:18:04 GMT", "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 d1b7285d1b8a6..5a42e7e0a8523 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "8a9f1ba0-16b3-4770-886d-d64240b1b00f", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:48 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:41 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "35ms", - "MS-CV" : "fqgfMNJmEUCWCR9xq9iP0g.0", - "X-Azure-Ref" : "09IfLYAAAAAAp7KP7pvhcRpEEpRP600GgV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b7eb-e3c7-593a0d00f81b\"}}", - "x-ms-client-request-id" : "a9b1cabe-a7c8-4519-b07e-62ba551f17e4", + "X-Processing-Time" : "97ms", + "MS-CV" : "0oz0KSLxWE2guomuwzx3OA.0", + "X-Azure-Ref" : "0UdjLYAAAAACAgf02eW1fQKRyBc+h2fqwV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-a2b4-7f07-113a0d001734\"}}", + "x-ms-client-request-id" : "8a9f1ba0-16b3-4770-886d-d64240b1b00f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "29301277-18d2-425b-82d5-195847bb528a", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:48 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:41 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "55ms", - "MS-CV" : "up+qdaOGBUWv+Tvp/wPYVg.0", - "X-Azure-Ref" : "09IfLYAAAAACja2ExMb+BSJrUd7z7XccIV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b845-e3c7-593a0d00f81c\"}}", - "x-ms-client-request-id" : "6755e498-5d7a-4906-90e7-864737aac645", + "X-Processing-Time" : "95ms", + "MS-CV" : "VnA2tJ1JsUmtkXI8OvlJWg.0", + "X-Azure-Ref" : "0UdjLYAAAAAA8nRKy6sifRq/HPl6OCz6kV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-a35e-740a-113a0d00c658\"}}", + "x-ms-client-request-id" : "29301277-18d2-425b-82d5-195847bb528a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "6909179f-f386-42dc-a4b2-d48222b3abf8", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:48 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:41 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "39ms", - "MS-CV" : "PCEC/cLcMUG8ZtyEE0c87w.0", - "X-Azure-Ref" : "09IfLYAAAAACaqM5wP/NjSKbqGa0Fx4qIV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b88a-99c6-593a0d00cc52\"}}", - "x-ms-client-request-id" : "7ee45a9f-5d4a-4be1-8827-391ee5145f7b", + "X-Processing-Time" : "94ms", + "MS-CV" : "a5jLOtz4gE60z3ofUO3k7g.0", + "X-Azure-Ref" : "0UdjLYAAAAADpAXqT5S7vS4Ggwh24+e9BV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-a41c-51b9-a43a0d00369d\"}}", + "x-ms-client-request-id" : "6909179f-f386-42dc-a4b2-d48222b3abf8", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "f0c3b150-6cfd-4836-92ba-1dfafd027fa4", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:48 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "sqXU2beC/kKBkC/MuqNOzQ.0", - "X-Azure-Ref" : "09IfLYAAAAAChp9KNQ8eCR7q2hNtTOse/V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b8cc-e3c7-593a0d00f81d\"}}", - "x-ms-client-request-id" : "e030004c-50b3-4446-a1fd-558be0898565", + "X-Processing-Time" : "145ms", + "MS-CV" : "IaF6kMqTwUSNodoeEB4JsQ.0", + "X-Azure-Ref" : "0UtjLYAAAAAAGnEdeq+0qTLezkR9xvIdsV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-a4ef-740a-113a0d00c659\"}}", + "x-ms-client-request-id" : "f0c3b150-6cfd-4836-92ba-1dfafd027fa4", "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_0000000a-baec-b7eb-e3c7-593a0d00f81b/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-a2b4-7f07-113a0d001734/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "43a59727-23e0-41ac-9c7f-0f9442922cea", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:48 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:41 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "65ms", - "MS-CV" : "mPs1vjU6UEGTVl9AfqTnuw.0", - "X-Azure-Ref" : "09IfLYAAAAACRQLXLfvLBSIvVuEPbONhoV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:48.0468092+00:00\"}", - "x-ms-client-request-id" : "07e1f901-8b5b-472f-acf5-1880c0da9f5b", + "X-Processing-Time" : "165ms", + "MS-CV" : "4CHa/xzK00GUVQExFLhglQ.0", + "X-Azure-Ref" : "0UtjLYAAAAABw3TMssNcaRbl0qGSRpVGdV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:18:41.4731303+00:00\"}", + "x-ms-client-request-id" : "43a59727-23e0-41ac-9c7f-0f9442922cea", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "fa844cff-e324-48f0-81cb-552383d9cd3b", + "x-ms-client-request-id" : "195a2fa8-e1c6-4289-9735-1b9e38063782", "Content-Type" : "application/json" }, "Response" : { @@ -133,22 +138,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:49 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "606ms", - "MS-CV" : "7ynk1CdORE2/SgoiG+7E8w.0", - "X-Azure-Ref" : "09YfLYAAAAACPZ6JeEqQ7Sp5wilBU5zGOV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:rnn2NCeC5XqkKqnW39Um0g0d0TtCvK-0642QWQp9tyA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:49Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b7eb-e3c7-593a0d00f81b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b7eb-e3c7-593a0d00f81b\"}}}}", + "X-Processing-Time" : "375ms", + "MS-CV" : "TiU9h2ulJUOuZ2Y9B08Lsw.0", + "X-Azure-Ref" : "0UtjLYAAAAABFBzXy4viLQ4RdMpUCPfyUV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:Pju6mqtFQiqaATn0MwYnOGpQrMhsxp30C9q9M2MmTxc1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:42Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-a2b4-7f07-113a0d001734\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-a2b4-7f07-113a0d001734\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Arnn2NCeC5XqkKqnW39Um0g0d0TtCvK-0642QWQp9tyA1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3APju6mqtFQiqaATn0MwYnOGpQrMhsxp30C9q9M2MmTxc1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:rnn2NCeC5XqkKqnW39Um0g0d0TtCvK-0642QWQp9tyA1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Pju6mqtFQiqaATn0MwYnOGpQrMhsxp30C9q9M2MmTxc1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "ea8fa846-bda6-471e-ac54-6a81f0938bfd", + "x-ms-client-request-id" : "ba9e5b17-99da-4c7f-827b-c4dece660037", "Content-Type" : "application/json" }, "Response" : { @@ -157,22 +162,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:49 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "203ms", - "MS-CV" : "ztaCKIgZa0WgZ75gEXd1jQ.0", - "X-Azure-Ref" : "09YfLYAAAAAB8babaZNGUSbk+S8WuhDkjV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1623951349778\"}", + "X-Processing-Time" : "205ms", + "MS-CV" : "D1ftCImbvE2KVidvQS0jsw.0", + "X-Azure-Ref" : "0UtjLYAAAAABvqWgmPUDJQLNoiPf+Z3Z7V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623971923124\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Arnn2NCeC5XqkKqnW39Um0g0d0TtCvK-0642QWQp9tyA1@thread.v2/messages/1623951349778" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3APju6mqtFQiqaATn0MwYnOGpQrMhsxp30C9q9M2MmTxc1@thread.v2/messages/1623971923124" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:rnn2NCeC5XqkKqnW39Um0g0d0TtCvK-0642QWQp9tyA1@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Pju6mqtFQiqaATn0MwYnOGpQrMhsxp30C9q9M2MmTxc1@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4bcc5611-bdd0-4d08-9b92-e19dfca7f05d", + "x-ms-client-request-id" : "9d2988e6-1d98-4036-806d-0a10554a2338", "Content-Type" : "application/json" }, "Response" : { @@ -180,33 +185,33 @@ "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", - "X-Processing-Time" : "205ms", - "MS-CV" : "7dO7SMZ+50e3WLwnzexqSw.0", + "X-Processing-Time" : "161ms", + "MS-CV" : "e6UBT6KfGkieJRTgV30LxA.0", "retry-after" : "0", - "X-Azure-Ref" : "09YfLYAAAAAD+et3NBUH7T6pLRzhbWpeSV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0U9jLYAAAAACDBuqxokoESp3+RKD+xUVXV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:49 GMT" + "Date" : "Thu, 17 Jun 2021 23:18:43 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:rnn2NCeC5XqkKqnW39Um0g0d0TtCvK-0642QWQp9tyA1@thread.v2/readReceipts?maxPageSize=1&api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Pju6mqtFQiqaATn0MwYnOGpQrMhsxp30C9q9M2MmTxc1@thread.v2/readReceipts?maxPageSize=1&api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "0987df8d-b55e-4895-96fd-03b88119ee47" + "x-ms-client-request-id" : "028675c2-68ba-4ea2-a93f-7554b9c4a244" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "176ms", - "MS-CV" : "yI+QZ0EbWUmXTbf7tEUCFg.0", + "X-Processing-Time" : "139ms", + "MS-CV" : "gVPf4RKsJ0ykKVjLPrbjjw.0", "retry-after" : "0", - "X-Azure-Ref" : "09ofLYAAAAABM4QNN1/vrQpX5AbdT3dIEV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0U9jLYAAAAABLWupeIU+DTq+TUgoYEKOlV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b7eb-e3c7-593a0d00f81b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-b7eb-e3c7-593a0d00f81b\"}},\"chatMessageId\":\"1623951349778\",\"readOn\":\"2021-06-17T17:35:49Z\"}]}", - "Date" : "Thu, 17 Jun 2021 17:35:49 GMT", + "Body" : "{\"value\":[{\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-a2b4-7f07-113a0d001734\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-a2b4-7f07-113a0d001734\"}},\"chatMessageId\":\"1623971923124\",\"readOn\":\"2021-06-17T23:18:43Z\"}]}", + "Date" : "Thu, 17 Jun 2021 23:18:43 GMT", "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 5077e25bdb36e..f3f44fab09139 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "86d569c6-24f2-487e-af9b-fee2a5b09586", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:23 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:05 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "33ms", - "MS-CV" : "+o0qKulnG0+v2AVrO/wBUw.0", - "X-Azure-Ref" : "024fLYAAAAABRSCkJ/q0iQJalTBMXnnOrV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-554c-e3c7-593a0d00f7e9\"}}", - "x-ms-client-request-id" : "7a700203-d388-4585-b627-e410095e2058", + "X-Processing-Time" : "96ms", + "MS-CV" : "gE+NrD7CQU2qBnZBI++TmA.0", + "X-Azure-Ref" : "0LdjLYAAAAADe23z6mVzhTrP9VxyiLRKMV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-16ec-740a-113a0d00c634\"}}", + "x-ms-client-request-id" : "86d569c6-24f2-487e-af9b-fee2a5b09586", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "ad7ebca1-2706-45c1-9967-5aaa110f5113", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:22 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:05 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "XfgzhSiv70+6QD+6zyatww.0", - "X-Azure-Ref" : "024fLYAAAAACTupPeVeHFRIFXzqQizO+gV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-558c-e3c7-593a0d00f7ea\"}}", - "x-ms-client-request-id" : "b0b3fe74-8991-474e-860e-92feb904fcf2", + "X-Processing-Time" : "95ms", + "MS-CV" : "MaM0t5CeCEaQisEMRrYT9w.0", + "X-Azure-Ref" : "0LdjLYAAAAAB+V8bki5jgRLcCDfm4vZ/gV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-17a2-51b9-a43a0d003686\"}}", + "x-ms-client-request-id" : "ad7ebca1-2706-45c1-9967-5aaa110f5113", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "97cafe71-f1bd-4c22-91f7-36ad3b6ca4ff", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:23 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:06 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "56ms", - "MS-CV" : "r8xgs9ZPyEm9tbqBsr3lLg.0", - "X-Azure-Ref" : "024fLYAAAAAD2DifgwFstQ58udGdddRCIV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-55e7-e3c7-593a0d00f7eb\"}}", - "x-ms-client-request-id" : "03ebad0c-4a1a-439f-9790-83ff3d43e9e5", + "X-Processing-Time" : "96ms", + "MS-CV" : "nPdlcgKxeE6cCbazT6lhbQ.0", + "X-Azure-Ref" : "0LtjLYAAAAABjJBx9XoYyRYYMNK6GB5E0V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-1828-740a-113a0d00c635\"}}", + "x-ms-client-request-id" : "97cafe71-f1bd-4c22-91f7-36ad3b6ca4ff", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "71bcf507-8fa8-44d9-a6e7-c201c2b4ec69", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:23 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:05 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "CWyUFvRqC0m8a4+ZZocF+g.0", - "X-Azure-Ref" : "024fLYAAAAAC0wseJr7gNRLLmWoz4+k8tV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-5627-e3c7-593a0d00f7ec\"}}", - "x-ms-client-request-id" : "2dd781a1-8db6-4b08-88d3-690260807c09", + "X-Processing-Time" : "116ms", + "MS-CV" : "SAVV3cVfvk6dARTw/JRqFg.0", + "X-Azure-Ref" : "0LtjLYAAAAAB+8ewMMQoORrrxKVe8S39tV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-18ea-7f07-113a0d001713\"}}", + "x-ms-client-request-id" : "71bcf507-8fa8-44d9-a6e7-c201c2b4ec69", "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_0000000a-baec-554c-e3c7-593a0d00f7e9/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-16ec-740a-113a0d00c634/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "92944540-7936-456d-a6de-1ea1d03e2b97", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:23 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:06 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "37ms", - "MS-CV" : "nMt1UH4zZk2SwzjEZtChRg.0", - "X-Azure-Ref" : "024fLYAAAAADn4sfrFQjFQo24ohRJGaLPV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:22.7670298+00:00\"}", - "x-ms-client-request-id" : "ce4ccdc3-b717-4980-b6dc-b40df8cd5a4c", + "X-Processing-Time" : "165ms", + "MS-CV" : "Kr1JMMyKj0apm4FlTXQr+Q.0", + "X-Azure-Ref" : "0LtjLYAAAAAC/g+VehdvbQ46K0mL2VidWV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:18:05.6240682+00:00\"}", + "x-ms-client-request-id" : "92944540-7936-456d-a6de-1ea1d03e2b97", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "059ffee3-2082-4338-b998-0f12af776a2b", + "x-ms-client-request-id" : "26468ae4-7f3c-4e47-895f-8a901f73ebef", "Content-Type" : "application/json" }, "Response" : { @@ -133,22 +138,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:23 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:06 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "450ms", - "MS-CV" : "neUVygRj70uBB2vCmNbJGg.0", - "X-Azure-Ref" : "03IfLYAAAAAD31nkj6yGeT7NLQxdZXMYVV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:FNQhjWkdKBXTJvU1ij6m6_NCY4DG-34SUTy1AEfI3Ho1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:24Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-554c-e3c7-593a0d00f7e9\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-554c-e3c7-593a0d00f7e9\"}}}}", + "X-Processing-Time" : "654ms", + "MS-CV" : "BV0S/9lv90uDsVVZKpA/bw.0", + "X-Azure-Ref" : "0LtjLYAAAAAASY/cv5cb7Q72wi0bQkgk/V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:tcLB3ETErozGtw74-uciMeKFtgUZUSiVoxbZz9u5NDU1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:06Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-16ec-740a-113a0d00c634\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-16ec-740a-113a0d00c634\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AFNQhjWkdKBXTJvU1ij6m6_NCY4DG-34SUTy1AEfI3Ho1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AtcLB3ETErozGtw74-uciMeKFtgUZUSiVoxbZz9u5NDU1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:FNQhjWkdKBXTJvU1ij6m6_NCY4DG-34SUTy1AEfI3Ho1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:tcLB3ETErozGtw74-uciMeKFtgUZUSiVoxbZz9u5NDU1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "864bf9d7-4311-4cc6-8667-204440c55e42", + "x-ms-client-request-id" : "6ab04005-9e46-442d-9b07-76c333f63356", "Content-Type" : "application/json" }, "Response" : { @@ -157,22 +162,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:24 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:07 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "214ms", - "MS-CV" : "ih/ItGgsU0StjHKgtoTBHQ.0", - "X-Azure-Ref" : "03IfLYAAAAAArS+9uku5DQarqYbcTkHVpV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1623951324706\"}", + "X-Processing-Time" : "210ms", + "MS-CV" : "MHQMkpqv0kase3amaYeWXA.0", + "X-Azure-Ref" : "0L9jLYAAAAAAOVHVQMZuKTqxHVecSpwGsV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623971887473\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AFNQhjWkdKBXTJvU1ij6m6_NCY4DG-34SUTy1AEfI3Ho1@thread.v2/messages/1623951324706" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AtcLB3ETErozGtw74-uciMeKFtgUZUSiVoxbZz9u5NDU1@thread.v2/messages/1623971887473" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:FNQhjWkdKBXTJvU1ij6m6_NCY4DG-34SUTy1AEfI3Ho1@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:tcLB3ETErozGtw74-uciMeKFtgUZUSiVoxbZz9u5NDU1@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8c472ffc-e04e-456f-9cf2-c5048c57457a", + "x-ms-client-request-id" : "7ca99a76-10d2-461a-a69f-3d44201e19ea", "Content-Type" : "application/json" }, "Response" : { @@ -180,33 +185,33 @@ "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", - "X-Processing-Time" : "240ms", - "MS-CV" : "yaWsYvTy8EyTkyE/rAei1A.0", + "X-Processing-Time" : "187ms", + "MS-CV" : "ND0cqWC4Yk2h0rCmdiMSwQ.0", "retry-after" : "0", - "X-Azure-Ref" : "03IfLYAAAAABhSGnqeA1YSI2vqDiRVRr6V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0L9jLYAAAAABhsnep1zR6QaVy2HlervUUV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:24 GMT" + "Date" : "Thu, 17 Jun 2021 23:18:07 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:FNQhjWkdKBXTJvU1ij6m6_NCY4DG-34SUTy1AEfI3Ho1@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:tcLB3ETErozGtw74-uciMeKFtgUZUSiVoxbZz9u5NDU1@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9db4e087-6e37-4c52-83f6-4ab137892c63" + "x-ms-client-request-id" : "f7728172-0c0f-4ac3-a515-00e54377324d" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "244ms", - "MS-CV" : "rd6N+FvaL02GHr+9y2SdMA.0", + "X-Processing-Time" : "246ms", + "MS-CV" : "mmJKYMbTLk2oJdjDAmsqkA.0", "retry-after" : "0", - "X-Azure-Ref" : "03YfLYAAAAADSJGHrcKSGQqcSeIxxK9HGV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0L9jLYAAAAAAc/HtTAE5aQ4TyWPJ/kKj7V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-554c-e3c7-593a0d00f7e9\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-554c-e3c7-593a0d00f7e9\"}},\"chatMessageId\":\"1623951324706\",\"readOn\":\"2021-06-17T17:35:24Z\"}]}", - "Date" : "Thu, 17 Jun 2021 17:35:25 GMT", + "Body" : "{\"value\":[{\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-16ec-740a-113a0d00c634\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-16ec-740a-113a0d00c634\"}},\"chatMessageId\":\"1623971887473\",\"readOn\":\"2021-06-17T23:18:07Z\"}]}", + "Date" : "Thu, 17 Jun 2021 23:18:08 GMT", "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 c41132e1c6cb8..ea8bb2c969fff 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "f0a06d6a-b51f-40aa-bb34-165e3332312a", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:42 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:30 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "tdfNtGB1M0eQNAhJbCxF9g.0", - "X-Azure-Ref" : "07ofLYAAAAAC1sy8MYdGzQoYlaS/u6xqxV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a16a-99c6-593a0d00cc4a\"}}", - "x-ms-client-request-id" : "e8a61535-6532-4e28-a867-5c171185bb4f", + "X-Processing-Time" : "97ms", + "MS-CV" : "548552O1HUyuzCXRx0RlmA.0", + "X-Azure-Ref" : "0RtjLYAAAAABAJpNjvcqgTZ7WjisBV4ShV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-7933-51b9-a43a0d003696\"}}", + "x-ms-client-request-id" : "f0a06d6a-b51f-40aa-bb34-165e3332312a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "6c7848c9-9f4d-452e-b14c-7796b8b19824", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:42 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:31 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "113ms", - "MS-CV" : "OWgl0w1r6UuR07PNPcjspg.0", - "X-Azure-Ref" : "07ofLYAAAAABmIoG7UoeSTI7mWpjILBKaV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a1f9-e3c7-593a0d00f80f\"}}", - "x-ms-client-request-id" : "22918c91-12a7-48b7-9f1e-bfa95b1ae4e3", + "X-Processing-Time" : "86ms", + "MS-CV" : "TS6aKG0Ujki5yrOkGsL9og.0", + "X-Azure-Ref" : "0R9jLYAAAAAAIOEc9KrcvQ5Lpbrn50dRUV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-79b2-740a-113a0d00c650\"}}", + "x-ms-client-request-id" : "6c7848c9-9f4d-452e-b14c-7796b8b19824", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "c13b608a-5a84-4476-8575-f99797e77143", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:42 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:30 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "hcfg+w6K7U6gBQ8HUViY8A.0", - "X-Azure-Ref" : "074fLYAAAAACcCujnXb2yRKCuZI0SnfrAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a23b-e3c7-593a0d00f810\"}}", - "x-ms-client-request-id" : "d01cd473-9507-4b82-8fb9-98e94863f09d", + "X-Processing-Time" : "95ms", + "MS-CV" : "7sSsRb4wnkagaP/VALi59w.0", + "X-Azure-Ref" : "0R9jLYAAAAABz9AsG+/obSqEGjNwrSvyqV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-7a5d-7f07-113a0d00172b\"}}", + "x-ms-client-request-id" : "c13b608a-5a84-4476-8575-f99797e77143", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "0b284dd0-adda-4442-b61f-639de2611395", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:42 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:31 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "g0ccnuE3hU6xa49UvDxjIw.0", - "X-Azure-Ref" : "074fLYAAAAAAAaG3wnHOpTKtAEIsAkzbhV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a277-e3c7-593a0d00f811\"}}", - "x-ms-client-request-id" : "fd240a57-bcec-4972-b8bb-759d3131291c", + "X-Processing-Time" : "124ms", + "MS-CV" : "YaJU6TfocUSqITa7+/c9Ag.0", + "X-Azure-Ref" : "0R9jLYAAAAAAUbgpLNb3PSrL3FaVtfqTbV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-7b2c-740a-113a0d00c651\"}}", + "x-ms-client-request-id" : "0b284dd0-adda-4442-b61f-639de2611395", "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_0000000a-baec-a16a-99c6-593a0d00cc4a/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-7933-51b9-a43a0d003696/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "3eae6482-9916-4ab4-a84c-32104c7fc3dd", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:42 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:31 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "39ms", - "MS-CV" : "T4xVgXnc90Ch8zm98zdo3w.0", - "X-Azure-Ref" : "074fLYAAAAAAVk6f18etnQLYPsJdGnoGkV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:42.3015947+00:00\"}", - "x-ms-client-request-id" : "126ec3b1-b93f-4971-aff7-20b84c9bf709", + "X-Processing-Time" : "188ms", + "MS-CV" : "eulnWczSsUG3K+doqDqEiQ.0", + "X-Azure-Ref" : "0R9jLYAAAAAAfOHD4xP2oRZjZSgvPhTy0V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:18:30.7969823+00:00\"}", + "x-ms-client-request-id" : "3eae6482-9916-4ab4-a84c-32104c7fc3dd", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c4ca6538-b0d4-4163-8c35-7818cad68e57", + "x-ms-client-request-id" : "15f8cec9-fc66-4918-b03f-6cccc1468314", "Content-Type" : "application/json" }, "Response" : { @@ -133,22 +138,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:43 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:32 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "474ms", - "MS-CV" : "QnNVwtTtSkWWixr4CzbP8A.0", - "X-Azure-Ref" : "074fLYAAAAABCIAcvAj9QT6rKM0ntbUdHV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:i4g-gdzJlh6vtvTeH6ipLBWLv_x-A6vHRf6dG_H8fLw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:43Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a16a-99c6-593a0d00cc4a\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a16a-99c6-593a0d00cc4a\"}}}}", + "X-Processing-Time" : "639ms", + "MS-CV" : "U6R0QI9E6Eelhzd86wfgiA.0", + "X-Azure-Ref" : "0R9jLYAAAAABXniuqpMgySpFlPktr1JNCV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:61SOjW-0UT7csJjgkpsorug_jBi15Z55TzP6vHJA9FQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:31Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-7933-51b9-a43a0d003696\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-7933-51b9-a43a0d003696\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ai4g-gdzJlh6vtvTeH6ipLBWLv_x-A6vHRf6dG_H8fLw1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A61SOjW-0UT7csJjgkpsorug_jBi15Z55TzP6vHJA9FQ1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:i4g-gdzJlh6vtvTeH6ipLBWLv_x-A6vHRf6dG_H8fLw1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:61SOjW-0UT7csJjgkpsorug_jBi15Z55TzP6vHJA9FQ1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d9e30aeb-84c8-4461-a94f-2efc5a006683", + "x-ms-client-request-id" : "537d2014-e29e-4ab2-bcbf-1ed7bc2b6c36", "Content-Type" : "application/json" }, "Response" : { @@ -157,22 +162,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:43 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:32 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "195ms", - "MS-CV" : "EbJAgnPSU0ug1f4xQvSxBw.0", - "X-Azure-Ref" : "074fLYAAAAACRJ86eQRHiTp4XKWyu1UamV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1623951343916\"}", + "X-Processing-Time" : "221ms", + "MS-CV" : "rS1qccY4Qkaj1bjVZcYh3g.0", + "X-Azure-Ref" : "0SNjLYAAAAAAeLfR6Ie/PTIUBYcY3u0GCV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623971912663\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ai4g-gdzJlh6vtvTeH6ipLBWLv_x-A6vHRf6dG_H8fLw1@thread.v2/messages/1623951343916" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A61SOjW-0UT7csJjgkpsorug_jBi15Z55TzP6vHJA9FQ1@thread.v2/messages/1623971912663" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:i4g-gdzJlh6vtvTeH6ipLBWLv_x-A6vHRf6dG_H8fLw1@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:61SOjW-0UT7csJjgkpsorug_jBi15Z55TzP6vHJA9FQ1@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9eac03e2-06c4-4c77-8056-4fac2610847b", + "x-ms-client-request-id" : "973e7b60-9012-4447-a196-5ec823208dd5", "Content-Type" : "application/json" }, "Response" : { @@ -180,33 +185,33 @@ "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", - "X-Processing-Time" : "135ms", - "MS-CV" : "tvd7YaXvbUOX2D7P4EbQ2A.0", + "X-Processing-Time" : "478ms", + "MS-CV" : "owz13ZUACki0sMMNmPHZAw.0", "retry-after" : "0", - "X-Azure-Ref" : "08IfLYAAAAADcxrglhYlTTYj2OJBYC2cdV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0SNjLYAAAAAAGC/1abwzXRqXGqlWH4zV0V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:43 GMT" + "Date" : "Thu, 17 Jun 2021 23:18:33 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:i4g-gdzJlh6vtvTeH6ipLBWLv_x-A6vHRf6dG_H8fLw1@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:61SOjW-0UT7csJjgkpsorug_jBi15Z55TzP6vHJA9FQ1@thread.v2/readReceipts?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "1c6b589f-757c-4eff-8331-c4a1e0980929" + "x-ms-client-request-id" : "bfff98a3-e23a-45e9-b906-8b642b7c385c" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "207ms", - "MS-CV" : "8N1ea1pLW0CqoYWr5hYzFQ.0", + "X-Processing-Time" : "128ms", + "MS-CV" : "7vVQKRh1z0qyctyPZ6F2LA.0", "retry-after" : "0", - "X-Azure-Ref" : "08IfLYAAAAAD0geYJLmW9RoZIxGky4nDWV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0SdjLYAAAAACXHleSiwkPQ6qkNGxJGF3JV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a16a-99c6-593a0d00cc4a\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-a16a-99c6-593a0d00cc4a\"}},\"chatMessageId\":\"1623951343916\",\"readOn\":\"2021-06-17T17:35:44Z\"}]}", - "Date" : "Thu, 17 Jun 2021 17:35:43 GMT", + "Body" : "{\"value\":[{\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-7933-51b9-a43a0d003696\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-7933-51b9-a43a0d003696\"}},\"chatMessageId\":\"1623971912663\",\"readOn\":\"2021-06-17T23:18:32Z\"}]}", + "Date" : "Thu, 17 Jun 2021 23:18:32 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendTypingNotificationWithOptions[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendTypingNotificationWithOptions[1].json index 25362cfdc1691..85e0c550c07ee 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendTypingNotificationWithOptions[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendTypingNotificationWithOptions[1].json @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "de976deb-e129-4c01-8d36-d8c72e22614e", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:24 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:07 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "58ms", - "MS-CV" : "sprMCkUfMku0b5jgHxINfA.0", - "X-Azure-Ref" : "03YfLYAAAAAAnPhu+RiW3T5towf/Sa5FqV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-5d18-e3c7-593a0d00f7ed\"}}", - "x-ms-client-request-id" : "bd9baec3-fb06-4dd7-90c6-ed5c648857bb", + "X-Processing-Time" : "75ms", + "MS-CV" : "tLGCHTnwzE+iOwXGJDUrJQ.0", + "X-Azure-Ref" : "0MNjLYAAAAACb89153IpTS6iuEckllEecV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-201e-51b9-a43a0d003687\"}}", + "x-ms-client-request-id" : "de976deb-e129-4c01-8d36-d8c72e22614e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "40ba6280-d147-4e11-874c-817669327508", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:25 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:08 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "34ms", - "MS-CV" : "0F2OnOsM40a4nC+3xDqRzg.0", - "X-Azure-Ref" : "03YfLYAAAAADMrOhhAWbcTo6bW/M2453RV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-5d57-e3c7-593a0d00f7ee\"}}", - "x-ms-client-request-id" : "942f1a25-a9b7-48e3-a6b7-f491198ec9c1", + "X-Processing-Time" : "94ms", + "MS-CV" : "hbdJRB+7OkGnbFapN8zaBw.0", + "X-Azure-Ref" : "0MNjLYAAAAACxymXSQd/rQrIGw07czlCIV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-20a5-740a-113a0d00c638\"}}", + "x-ms-client-request-id" : "40ba6280-d147-4e11-874c-817669327508", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "b1c476bb-f040-4a26-8820-50fcab0e6d6c", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:25 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:08 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "33ms", - "MS-CV" : "pIgymruwyk+kTqVfxZ0khQ.0", - "X-Azure-Ref" : "03YfLYAAAAACMYV61n2LCQbZpcVj/DvktV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-5de9-99c6-593a0d00cc3a\"}}", - "x-ms-client-request-id" : "620be955-5957-4719-ae14-bbcf9c709957", + "X-Processing-Time" : "94ms", + "MS-CV" : "SZvJrA/wcESwkOF7JAGydw.0", + "X-Azure-Ref" : "0MNjLYAAAAAC4HnMBhgvNTIdQxVWYEoOdV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-214e-7f07-113a0d001716\"}}", + "x-ms-client-request-id" : "b1c476bb-f040-4a26-8820-50fcab0e6d6c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "166b3dfe-bba1-4bee-b099-637c12d2b80f", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:25 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:08 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "60ms", - "MS-CV" : "OzHPVOpYNEuLn6MQtycDUw.0", - "X-Azure-Ref" : "03YfLYAAAAABDB6TeHiuRTYE//ionb8AKV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-5e49-e3c7-593a0d00f7ef\"}}", - "x-ms-client-request-id" : "7a9c9323-10e6-4ab7-8e73-c61268f24090", + "X-Processing-Time" : "98ms", + "MS-CV" : "QuRypreaG0y+RleH04MTyw.0", + "X-Azure-Ref" : "0MNjLYAAAAADllvOa72MvSpOiAAzkNKFLV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-21f5-740a-113a0d00c639\"}}", + "x-ms-client-request-id" : "166b3dfe-bba1-4bee-b099-637c12d2b80f", "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_0000000a-baec-5d18-e3c7-593a0d00f7ed/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-201e-51b9-a43a0d003687/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "bc3e8636-10b1-4ab6-83cc-8a15b0e6f02b", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:25 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:08 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "39ms", - "MS-CV" : "L2A1390WgUuvQX9kII7tfw.0", - "X-Azure-Ref" : "03YfLYAAAAADyj9CoznGlQ51VuOod0GhEV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:24.8872064+00:00\"}", - "x-ms-client-request-id" : "8a9ef987-76a8-46d0-b2d5-8aebd8ad818f", + "X-Processing-Time" : "144ms", + "MS-CV" : "rW114K1u7ECg9bxeXlsYrg.0", + "X-Azure-Ref" : "0MNjLYAAAAAAKnZ0nOLWKS4bmiXqtF9QXV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:18:07.9066873+00:00\"}", + "x-ms-client-request-id" : "bc3e8636-10b1-4ab6-83cc-8a15b0e6f02b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "0f5f1fc8-3f0f-475c-9739-8778f0a8d8ec", + "x-ms-client-request-id" : "1a15ce57-3211-4aff-b46b-43e85638eb55", "Content-Type" : "application/json" }, "Response" : { @@ -133,22 +138,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:26 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:09 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "573ms", - "MS-CV" : "p9KIU+eZpE657VvEnQAwwg.0", - "X-Azure-Ref" : "03YfLYAAAAACSSOcz+ELITKY2u9JOLh1cV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:uAX_5BvuzOfmA9577zJQ_JjR8WOXhS-8P_ZIpfWI7mU1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:26Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-5d18-e3c7-593a0d00f7ed\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-5d18-e3c7-593a0d00f7ed\"}}}}", + "X-Processing-Time" : "510ms", + "MS-CV" : "SmBju8DXcUGR6nNqEM61TQ.0", + "X-Azure-Ref" : "0MNjLYAAAAAAW3b+/5Fw9TLbQxtTfv/KDV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:e2AzrdhtghSjHusk-B8tQIw6l0DhTqThv2XYeBlF-wY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:09Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-201e-51b9-a43a0d003687\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-201e-51b9-a43a0d003687\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AuAX_5BvuzOfmA9577zJQ_JjR8WOXhS-8P_ZIpfWI7mU1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ae2AzrdhtghSjHusk-B8tQIw6l0DhTqThv2XYeBlF-wY1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:uAX_5BvuzOfmA9577zJQ_JjR8WOXhS-8P_ZIpfWI7mU1@thread.v2/typing?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:e2AzrdhtghSjHusk-B8tQIw6l0DhTqThv2XYeBlF-wY1@thread.v2/typing?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "16ab8696-aa04-4cbe-9059-794d82c4a43d", + "x-ms-client-request-id" : "f0d03a8d-e17a-45eb-8348-27157911cef9", "Content-Type" : "application/json" }, "Response" : { @@ -156,12 +161,12 @@ "content-length" : "0", "Strict-Transport-Security" : "max-age=2592000", "api-supported-versions" : "2021-04-05-preview6", - "X-Processing-Time" : "184ms", - "MS-CV" : "PkaC/sYehUC8rPrKheh/2w.0", + "X-Processing-Time" : "252ms", + "MS-CV" : "f+GiG2S4zkCiVG/6yv8YWw.0", "retry-after" : "0", - "X-Azure-Ref" : "03ofLYAAAAACnJhtw13mOSovi/yqPDU04V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0MdjLYAAAAACxTzSlGQlKQJrTBrpWU0QRV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:26 GMT" + "Date" : "Thu, 17 Jun 2021 23:18:09 GMT" }, "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 05083445c44f9..f3261d1c54472 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "7fc98535-2d96-49f4-946b-fb9fa93d304a", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:50 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:43 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "22ms", - "MS-CV" : "j1S5fHYZ2kSkR5UN9lqBZw.0", - "X-Azure-Ref" : "09ofLYAAAAAConuJzVpRHQazodFFIQx12V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-be94-e3c7-593a0d00f81e\"}}", - "x-ms-client-request-id" : "6aa2f5af-eda3-469a-83ad-2510ff4f9a92", + "X-Processing-Time" : "100ms", + "MS-CV" : "zS3a8kBTN06nlSABjWvM8A.0", + "X-Azure-Ref" : "0U9jLYAAAAADRDBtdTuvNSazGPsXTW+n4V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-ab70-740a-113a0d00c65a\"}}", + "x-ms-client-request-id" : "7fc98535-2d96-49f4-946b-fb9fa93d304a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "bc55fe79-e953-4d94-a938-8e10a0d97ca0", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:49 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:43 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "psCOQwPfVkWue9Is6rwXgw.0", - "X-Azure-Ref" : "09ofLYAAAAACSh/CRMSlJQZSAiSy5wi5GV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-bef9-99c6-593a0d00cc53\"}}", - "x-ms-client-request-id" : "f1ab83c8-9396-439f-9847-da0a45c86eea", + "X-Processing-Time" : "74ms", + "MS-CV" : "urPODloQjUyk5YPASmvcMw.0", + "X-Azure-Ref" : "0U9jLYAAAAADdSlSyQhVbQ7U6jo5lgrTFV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-ac0d-51b9-a43a0d00369e\"}}", + "x-ms-client-request-id" : "bc55fe79-e953-4d94-a938-8e10a0d97ca0", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "d1bce4f3-e248-43f3-886e-8f52ebb0178d", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:50 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:44 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "59ms", - "MS-CV" : "cEw0dtkFnkG6hA8ypovXNg.0", - "X-Azure-Ref" : "09ofLYAAAAAD+ApL1yeMiS50p+zb1yAAEV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-bf7e-e3c7-593a0d00f81f\"}}", - "x-ms-client-request-id" : "93a0ba18-4679-4d74-9312-3418a462abf1", + "X-Processing-Time" : "97ms", + "MS-CV" : "DCHVYPqCA0yO5Z0G07s5yg.0", + "X-Azure-Ref" : "0VNjLYAAAAABgN0DooBzxR4cfYf0R+m8ZV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-acac-740a-113a0d00c65b\"}}", + "x-ms-client-request-id" : "d1bce4f3-e248-43f3-886e-8f52ebb0178d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "05d76bbc-74f6-4943-a242-11bcce6d0b57", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:50 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:43 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "35ms", - "MS-CV" : "xrj9TJxCiE6HumXdaL50vg.0", - "X-Azure-Ref" : "09ofLYAAAAAC4gd/vAFlyTaWklFKwV4OOV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-bfd9-e3c7-593a0d00f820\"}}", - "x-ms-client-request-id" : "112b0daa-1a44-4425-b42d-0780944119e4", + "X-Processing-Time" : "94ms", + "MS-CV" : "uEOuK0bKMkSPYL67rRr7dA.0", + "X-Azure-Ref" : "0VNjLYAAAAACpNbCNMjWZQIGz0VTuFMK5V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-ad56-7f07-113a0d001735\"}}", + "x-ms-client-request-id" : "05d76bbc-74f6-4943-a242-11bcce6d0b57", "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_0000000a-baec-be94-e3c7-593a0d00f81e/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-ab70-740a-113a0d00c65a/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "fcf41562-7d34-4e2e-8aeb-6b00c375f870", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:50 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:44 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "40ms", - "MS-CV" : "JPxephvpO0qAJTeYb5q+5g.0", - "X-Azure-Ref" : "09ofLYAAAAADRppE9RESlQKrKmIc19GHYV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:49.85414+00:00\"}", - "x-ms-client-request-id" : "100a7846-92f9-425e-ba77-771f51699f41", + "X-Processing-Time" : "176ms", + "MS-CV" : "7d/+J6i/f0u1SP6z4q/9mw.0", + "X-Azure-Ref" : "0VNjLYAAAAAClE/PC5DokQbO4tJZ4G1BNV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:18:43.660779+00:00\"}", + "x-ms-client-request-id" : "fcf41562-7d34-4e2e-8aeb-6b00c375f870", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b9a9b2d4-2df3-4983-9621-914cf0e509d2", + "x-ms-client-request-id" : "0aa8ecdf-4bdc-4f19-b73f-f53fc7095dd4", "Content-Type" : "application/json" }, "Response" : { @@ -133,22 +138,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:50 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:44 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "776ms", - "MS-CV" : "079JUUmuwE284nceOC7UhQ.0", - "X-Azure-Ref" : "09ofLYAAAAAAnEfJGgeslTIBTcU9kHEk1V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:k1pLjiNy61eDai6_Ph7xrrUoXCwEOqzqrexkhM0KK1c1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:50Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-be94-e3c7-593a0d00f81e\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-be94-e3c7-593a0d00f81e\"}}}}", + "X-Processing-Time" : "792ms", + "MS-CV" : "76aw9n2irUKiUoCKuGaUrw.0", + "X-Azure-Ref" : "0VNjLYAAAAADoXW0xcJ55S4YFFPuVVIKiV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:ZPJGBp4-BnwAHcuDYe932LOUsqXIC52ctNZV7TeSFM01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:44Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-ab70-740a-113a0d00c65a\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-ab70-740a-113a0d00c65a\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ak1pLjiNy61eDai6_Ph7xrrUoXCwEOqzqrexkhM0KK1c1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AZPJGBp4-BnwAHcuDYe932LOUsqXIC52ctNZV7TeSFM01@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:k1pLjiNy61eDai6_Ph7xrrUoXCwEOqzqrexkhM0KK1c1@thread.v2/typing?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:ZPJGBp4-BnwAHcuDYe932LOUsqXIC52ctNZV7TeSFM01@thread.v2/typing?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "6fc754bd-b95e-4d5b-8e37-703e3cb637e1", + "x-ms-client-request-id" : "456d9246-b305-413e-81f3-09161d1c0060", "Content-Type" : "application/json" }, "Response" : { @@ -156,12 +161,12 @@ "content-length" : "0", "Strict-Transport-Security" : "max-age=2592000", "api-supported-versions" : "2021-04-05-preview6", - "X-Processing-Time" : "145ms", - "MS-CV" : "ZjrGIiGtDUmM6qpdLwmajQ.0", + "X-Processing-Time" : "266ms", + "MS-CV" : "WjprybdAj0KCeZ2SQpozXQ.0", "retry-after" : "0", - "X-Azure-Ref" : "094fLYAAAAADI4O5sy6njSYuFfBrhQ5gZV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0VdjLYAAAAAALtspux4dRQ6UPsJoO1GETV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:51 GMT" + "Date" : "Thu, 17 Jun 2021 23:18:45 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 6bd088d3922a4..787bf79be0aeb 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "6c9635dd-b868-4039-be32-87a51fc3b298", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:39 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:26 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "TyF5BbCE5kuIyntPY1N07w.0", - "X-Azure-Ref" : "07IfLYAAAAACidvv9AZflT4Fkf5ThjpNBV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-981d-e3c7-593a0d00f809\"}}", - "x-ms-client-request-id" : "88fb824d-e241-4a69-a46e-f5f70a60fc64", + "X-Processing-Time" : "97ms", + "MS-CV" : "nYkBh1A3BESrvaTJ5m2maQ.0", + "X-Azure-Ref" : "0QtjLYAAAAAAdIfi6jWUvS6Q3wH/SaNzgV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-6948-51b9-a43a0d003693\"}}", + "x-ms-client-request-id" : "6c9635dd-b868-4039-be32-87a51fc3b298", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "70eb4412-0b92-4933-8f1f-2f5d9232f4b8", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:40 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:27 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "rVf8vKaDdUO1HOaRvz/OsQ.0", - "X-Azure-Ref" : "07IfLYAAAAADppvPRNAp6Sop6p5hYEEdHV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-985c-e3c7-593a0d00f80a\"}}", - "x-ms-client-request-id" : "be2a15c8-4fb9-4c97-8dac-e3b3fac9a755", + "X-Processing-Time" : "105ms", + "MS-CV" : "CRrPAdiXO0iZ9oe6DsBE1A.0", + "X-Azure-Ref" : "0QtjLYAAAAADbPyajCOZnS4v55Fafb8EeV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-69d6-740a-113a0d00c64c\"}}", + "x-ms-client-request-id" : "70eb4412-0b92-4933-8f1f-2f5d9232f4b8", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "8ad5bcb4-c601-4811-ab7d-e271a5ab79cd", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:40 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:26 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "33ms", - "MS-CV" : "yYygxLgHEEeuFOuUe9wJxw.0", - "X-Azure-Ref" : "07IfLYAAAAAD/lcMEApM8RLIlSL2UK8C3V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-989b-99c6-593a0d00cc45\"}}", - "x-ms-client-request-id" : "c13225e5-cc50-4515-81d6-82dbb167d9b0", + "X-Processing-Time" : "148ms", + "MS-CV" : "vla3opWId0a5/3VNxFO/3g.0", + "X-Azure-Ref" : "0Q9jLYAAAAAA4yFq6/4HXQba64CxE6SGeV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-6abf-7f07-113a0d001726\"}}", + "x-ms-client-request-id" : "8ad5bcb4-c601-4811-ab7d-e271a5ab79cd", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "7a67b192-1b2a-4a02-80f8-3bd0d7e8a25a", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:40 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:27 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "58ms", - "MS-CV" : "SDoW9jVAIU2sWfHnDdlyEw.0", - "X-Azure-Ref" : "07IfLYAAAAABSzVQ4YB7WT5aowiUAbx/KV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-9900-e3c7-593a0d00f80b\"}}", - "x-ms-client-request-id" : "c0e8f9e8-45c8-4779-94a1-e87e8a6dfac9", + "X-Processing-Time" : "105ms", + "MS-CV" : "lSoV+oWcOk233cxA9pQ8bw.0", + "X-Azure-Ref" : "0Q9jLYAAAAAAQEiL1YgaLSbD7vYCD/rcfV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-6b75-740a-113a0d00c64d\"}}", + "x-ms-client-request-id" : "7a67b192-1b2a-4a02-80f8-3bd0d7e8a25a", "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_0000000a-baec-981d-e3c7-593a0d00f809/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-6948-51b9-a43a0d003693/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "51f03694-793d-4dca-8aaa-02ff3f565182", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:40 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:27 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "66ms", - "MS-CV" : "KtCDgBOXAEGpc5yFT8NSCw.0", - "X-Azure-Ref" : "07IfLYAAAAABL59WrW304TYn5ppOoWplhV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:39.9076916+00:00\"}", - "x-ms-client-request-id" : "e74bf1e2-36eb-4f4b-9d36-a9637e5f9e97", + "X-Processing-Time" : "168ms", + "MS-CV" : "GwqnsvVnYEawlLMcNKVUWw.0", + "X-Azure-Ref" : "0Q9jLYAAAAACzJUVpauwxQbgHBGZGJ84MV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:18:26.7494185+00:00\"}", + "x-ms-client-request-id" : "51f03694-793d-4dca-8aaa-02ff3f565182", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "90a3ac46-8db7-48d4-a59d-86df01033d12", + "x-ms-client-request-id" : "87da6d99-fdd6-42be-836a-a35d4ee5bb84", "Content-Type" : "application/json" }, "Response" : { @@ -133,22 +138,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:41 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:28 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "563ms", - "MS-CV" : "BdUU7Blh7kq3/zVPFvY3iA.0", - "X-Azure-Ref" : "07IfLYAAAAAByqSh7fCZbToVL0nq7iq+HV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:6unzUcPhqkoCKO0p5DU_LyvC_ylQE8nbV0ijbJOm71c1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:41Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-981d-e3c7-593a0d00f809\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-981d-e3c7-593a0d00f809\"}}}}", + "X-Processing-Time" : "576ms", + "MS-CV" : "uPjnoAlJJE6eiEbSbBTxjg.0", + "X-Azure-Ref" : "0Q9jLYAAAAABY/NBzb4BpRYMb8vqM4YIzV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:1MZSE79XiPFTEzFeZOqVn8_YZW5R98Lp9ya4I_IjnAE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:27Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-6948-51b9-a43a0d003693\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-6948-51b9-a43a0d003693\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A6unzUcPhqkoCKO0p5DU_LyvC_ylQE8nbV0ijbJOm71c1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A1MZSE79XiPFTEzFeZOqVn8_YZW5R98Lp9ya4I_IjnAE1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:6unzUcPhqkoCKO0p5DU_LyvC_ylQE8nbV0ijbJOm71c1@thread.v2/typing?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:1MZSE79XiPFTEzFeZOqVn8_YZW5R98Lp9ya4I_IjnAE1@thread.v2/typing?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7c50dde0-33c4-4aed-9daf-4297ec456401", + "x-ms-client-request-id" : "b667fc3b-98ca-474a-abfb-e42b3e24a64a", "Content-Type" : "application/json" }, "Response" : { @@ -156,12 +161,12 @@ "content-length" : "0", "Strict-Transport-Security" : "max-age=2592000", "api-supported-versions" : "2021-04-05-preview6", - "X-Processing-Time" : "155ms", - "MS-CV" : "Q9vZx+Nmo06aPeNUKxZw/g.0", + "X-Processing-Time" : "179ms", + "MS-CV" : "cUroQ/QVU0ud07jW3eSNMg.0", "retry-after" : "0", - "X-Azure-Ref" : "07YfLYAAAAADQoyWUMT3DRrXcGHTSp1yhV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0RNjLYAAAAABR2zocRdfUTLjnhQkqeRavV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:41 GMT" + "Date" : "Thu, 17 Jun 2021 23:18:28 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 209e10966ff3a..ba5348c35238f 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "d4250223-6d03-4535-8729-3e05412e1094", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:51 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "36ms", - "MS-CV" : "59+jOoTyW0qSN/xmKBVmFQ.0", - "X-Azure-Ref" : "094fLYAAAAADFf5KeQNAhSrqbpdde80IpV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-c46c-99c6-593a0d00cc54\"}}", - "x-ms-client-request-id" : "97d297ed-6fb6-481a-8b77-8d28b9b98d0d", + "X-Processing-Time" : "85ms", + "MS-CV" : "9BrVNeLuTkyGUZzUc/BRIQ.0", + "X-Azure-Ref" : "0VdjLYAAAAAB5HtI4+aZnSavyYFO/CjTPV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-b3b2-51b9-a43a0d00369f\"}}", + "x-ms-client-request-id" : "d4250223-6d03-4535-8729-3e05412e1094", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "274d9f80-cd2e-4ebd-bf55-b13f887c223a", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:51 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:46 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "29ms", - "MS-CV" : "ak2c8ZE8fUSUl1pB7GxsOA.0", - "X-Azure-Ref" : "094fLYAAAAADziRVUxsbjSJm/Sv19BSDYV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-c4a6-e3c7-593a0d00f821\"}}", - "x-ms-client-request-id" : "d72cb4ff-aeb6-4e8c-99c7-77ca4db9712c", + "X-Processing-Time" : "97ms", + "MS-CV" : "a4tVnidH1kq0/7X7NAnxyA.0", + "X-Azure-Ref" : "0VtjLYAAAAADoB2qgg8PiSJJtjwl6GOvvV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-b437-740a-113a0d00c65c\"}}", + "x-ms-client-request-id" : "274d9f80-cd2e-4ebd-bf55-b13f887c223a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "dd97d6a0-1035-425f-bd59-a5330104be60", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:51 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "33ms", - "MS-CV" : "Y2yimb6nxkOoSGTywPniNw.0", - "X-Azure-Ref" : "0+IfLYAAAAACCkBeUVWpiRa0UKXdz+BubV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-c4e8-e3c7-593a0d00f822\"}}", - "x-ms-client-request-id" : "6832f774-75ff-4c87-ac7c-2da238d5fb60", + "X-Processing-Time" : "94ms", + "MS-CV" : "ygAiG51JzUSfXMtZSY6j2g.0", + "X-Azure-Ref" : "0VtjLYAAAAAC4bOJBR8B6Qplhxz8J6egtV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-b4f0-7f07-113a0d001738\"}}", + "x-ms-client-request-id" : "dd97d6a0-1035-425f-bd59-a5330104be60", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "2edc5eed-5a7e-479f-90be-c37aef4f380c", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:51 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:46 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "40ms", - "MS-CV" : "LNhZ34tfhkmWUZqwVcMhNQ.0", - "X-Azure-Ref" : "0+IfLYAAAAACvIw1HsLAdQb8du9+yh6QYV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-c52f-e3c7-593a0d00f823\"}}", - "x-ms-client-request-id" : "9ea6d9c1-5eb0-4acb-ba6b-c9185e14ee09", + "X-Processing-Time" : "95ms", + "MS-CV" : "ufKG9O21tkWAQjbWesFsgA.0", + "X-Azure-Ref" : "0VtjLYAAAAAAsB5sqmrUQSpzXYIeSVooyV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-b599-740a-113a0d00c65d\"}}", + "x-ms-client-request-id" : "2edc5eed-5a7e-479f-90be-c37aef4f380c", "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_0000000a-baec-c46c-99c6-593a0d00cc54/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-b3b2-51b9-a43a0d00369f/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "2e136b69-9169-42b9-abc0-bf837e8b4cbd", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:51 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:46 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "41ms", - "MS-CV" : "gPm/TdMH3USN/qnuS/kMww.0", - "X-Azure-Ref" : "0+IfLYAAAAACr6YjDBRiNSrV5CmFQc/UuV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:51.192448+00:00\"}", - "x-ms-client-request-id" : "fc3488f1-62cb-448f-9166-7fa4651e4265", + "X-Processing-Time" : "168ms", + "MS-CV" : "lPBvoWDp/UuUB8pAaedHdw.0", + "X-Azure-Ref" : "0VtjLYAAAAAAwzr1/tX3vRbJCHmN9Ums0V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:18:45.7548421+00:00\"}", + "x-ms-client-request-id" : "2e136b69-9169-42b9-abc0-bf837e8b4cbd", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9610fa92-c063-4236-8b1e-049de7abdd2e", + "x-ms-client-request-id" : "c2475b50-ed26-496b-b691-5c8ff4532f15", "Content-Type" : "application/json" }, "Response" : { @@ -133,22 +138,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:52 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:47 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "958ms", - "MS-CV" : "sRDpmso/oEqUwjRiJ1qhdw.0", - "X-Azure-Ref" : "0+IfLYAAAAADJQOSAuoE1TKt8S/U62cJnV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:34uT-9HSHvbSUwXbSuhMkWiPx0yYr69Jp9pWSBucvk81@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:52Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-c46c-99c6-593a0d00cc54\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-c46c-99c6-593a0d00cc54\"}}}}", + "X-Processing-Time" : "748ms", + "MS-CV" : "1k6389R60kWSSPbxUX5DpQ.0", + "X-Azure-Ref" : "0VtjLYAAAAACkng3Q/7OASa9v2jjuiuiXV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:ihcRaunRM-ZGroML3Vz_i4e0j7eqyBvt1s1JtvcEox41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:46Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-b3b2-51b9-a43a0d00369f\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-b3b2-51b9-a43a0d00369f\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A34uT-9HSHvbSUwXbSuhMkWiPx0yYr69Jp9pWSBucvk81@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AihcRaunRM-ZGroML3Vz_i4e0j7eqyBvt1s1JtvcEox41@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:34uT-9HSHvbSUwXbSuhMkWiPx0yYr69Jp9pWSBucvk81@thread.v2/typing?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:ihcRaunRM-ZGroML3Vz_i4e0j7eqyBvt1s1JtvcEox41@thread.v2/typing?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "0a7b142e-d707-411e-82ff-a507811f9df0", + "x-ms-client-request-id" : "c03ef623-5d54-420c-9764-b58a01880763", "Content-Type" : "application/json" }, "Response" : { @@ -156,12 +161,12 @@ "content-length" : "0", "Strict-Transport-Security" : "max-age=2592000", "api-supported-versions" : "2021-04-05-preview6", - "X-Processing-Time" : "280ms", - "MS-CV" : "HQG/aRbJm0q5ZjPlRpPNEA.0", + "X-Processing-Time" : "169ms", + "MS-CV" : "6rqoXIv4MESbxPF+MR2OcA.0", "retry-after" : "0", - "X-Azure-Ref" : "0+YfLYAAAAAC7Sw6aOhbOSIHiqUsrHycaV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0V9jLYAAAAAArg4dko651To+Hd1M5sJoHV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:52 GMT" + "Date" : "Thu, 17 Jun 2021 23:18:47 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 d2a972a2af326..a6c9168373024 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "2d7e572d-6320-430f-a050-b3569efbdab3", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:56 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "21ms", - "MS-CV" : "W6GlVOIY1US1k8qdR6gXQQ.0", - "X-Azure-Ref" : "0/IfLYAAAAADA4MST0CVnSqXZo+EP8X8IV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d706-e3c7-593a0d00f82f\"}}", - "x-ms-client-request-id" : "8bfd29cc-2b9d-4ee2-b0c4-23e92def9af5", + "X-Processing-Time" : "446ms", + "MS-CV" : "dTq9c2XllUSKkXVyKPb03g.0", + "X-Azure-Ref" : "0XdjLYAAAAAD5taIhw1ZCTIlODmD4vn5YV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-d165-740a-113a0d00c663\"}}", + "x-ms-client-request-id" : "2d7e572d-6320-430f-a050-b3569efbdab3", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "45ef8e1d-efc9-4954-a396-803810475158", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:56 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "biXapCmdqkKk13qq+pKqWQ.0", - "X-Azure-Ref" : "0/IfLYAAAAAAfczUB/I7PQpqvPVFXSIdgV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d73f-e3c7-593a0d00f830\"}}", - "x-ms-client-request-id" : "07963a23-026d-4b3e-b2f1-1a992962e002", + "X-Processing-Time" : "96ms", + "MS-CV" : "7UZwcFNW3U+eNgP6bhICDw.0", + "X-Azure-Ref" : "0XdjLYAAAAAA7/2jl6fW5RLiRIuWOCfbjV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-d256-7f07-113a0d001742\"}}", + "x-ms-client-request-id" : "45ef8e1d-efc9-4954-a396-803810475158", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "33a9fc56-d6de-496d-b042-9c90ddaac432", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:56 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "QxnhEgWrWUq5GVlO1qTsfg.0", - "X-Azure-Ref" : "0/IfLYAAAAACxz099xN2pQb6MpxXFV5E4V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d78b-e3c7-593a0d00f831\"}}", - "x-ms-client-request-id" : "80281034-6a92-416d-b9a6-70371577dfe6", + "X-Processing-Time" : "124ms", + "MS-CV" : "Btm95xT0HkOS1bQtN8x2VQ.0", + "X-Azure-Ref" : "0XdjLYAAAAACn2FzMhUb+SK8hNcpQH53aV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-d324-740a-113a0d00c664\"}}", + "x-ms-client-request-id" : "33a9fc56-d6de-496d-b042-9c90ddaac432", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "fb77dbf3-805a-4413-948d-ae95d7fbb309", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:56 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "LP8kD5Jh0EO93y9nMNiYnA.0", - "X-Azure-Ref" : "0/IfLYAAAAACIiiwg01S5R73QannIWNmIV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d7cb-99c6-593a0d00cc5b\"}}", - "x-ms-client-request-id" : "a7095ef5-eb0c-4cea-bb4e-c158b62f3892", + "X-Processing-Time" : "108ms", + "MS-CV" : "y0Es/lHB8EOvMELJXGybzw.0", + "X-Azure-Ref" : "0XtjLYAAAAAAAqJyxRWmpTZuneunGpURyV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-d3f1-51b9-a43a0d0036a8\"}}", + "x-ms-client-request-id" : "fb77dbf3-805a-4413-948d-ae95d7fbb309", "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_0000000a-baec-d706-e3c7-593a0d00f82f/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-d165-740a-113a0d00c663/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "2798949d-74c6-4c8d-b1f0-fe49a6ea4dc8", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:56 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "28ms", - "MS-CV" : "tCl6d7QdukeqhRJAW4250g.0", - "X-Azure-Ref" : "0/IfLYAAAAAAPPQVS5PSsS7+JG9bh/432V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:55.9409305+00:00\"}", - "x-ms-client-request-id" : "566b9de7-849f-43fb-aaaa-eac9501d352a", + "X-Processing-Time" : "165ms", + "MS-CV" : "IzbmSHeUIU2xOIREkZp/og.0", + "X-Azure-Ref" : "0XtjLYAAAAADXUx/Nhy14RZ2LFu4vHXdVV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:18:53.4725072+00:00\"}", + "x-ms-client-request-id" : "2798949d-74c6-4c8d-b1f0-fe49a6ea4dc8", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e8abcd1a-fb0f-40c0-88be-0d67fe537bde", + "x-ms-client-request-id" : "a74a3d1a-cd17-47fe-b993-f19ca73fcba5", "Content-Type" : "application/json" }, "Response" : { @@ -133,22 +138,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:57 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "756ms", - "MS-CV" : "gPKLep+HoE+AoPLvj1Uf7A.0", - "X-Azure-Ref" : "0/IfLYAAAAADqSaGOjTyARK9ji/o+3WCxV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:qMLJfZ54pO7f58qJCt-QYXbEaH2H8ManAz-1WtMqA341@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:57Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d706-e3c7-593a0d00f82f\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d706-e3c7-593a0d00f82f\"}}}}", + "X-Processing-Time" : "814ms", + "MS-CV" : "RjVcB5g7akGiIqsRKwmhbg.0", + "X-Azure-Ref" : "0XtjLYAAAAACJ6yIXeMlqSooTuRpkKe5BV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:FXk9G4DF7CpviYkHIC-IIGjwSGltP5FN3aNJxte0D981@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:54Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-d165-740a-113a0d00c663\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-d165-740a-113a0d00c663\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AqMLJfZ54pO7f58qJCt-QYXbEaH2H8ManAz-1WtMqA341@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AFXk9G4DF7CpviYkHIC-IIGjwSGltP5FN3aNJxte0D981@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:qMLJfZ54pO7f58qJCt-QYXbEaH2H8ManAz-1WtMqA341@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:FXk9G4DF7CpviYkHIC-IIGjwSGltP5FN3aNJxte0D981@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "59b4847f-3943-41eb-9ffc-c6a8efac4715", + "x-ms-client-request-id" : "539087f4-6163-4fa5-91d7-efaaa6c4c64f", "Content-Type" : "application/json" }, "Response" : { @@ -157,55 +162,55 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:57 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:55 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "184ms", - "MS-CV" : "u6sFEv6NQU+rdISK0VCM1w.0", - "X-Azure-Ref" : "0/YfLYAAAAAC+kkWhVWzmRo0gkeP2MBNtV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1623951357830\"}", + "X-Processing-Time" : "298ms", + "MS-CV" : "iG12+EBpE0uGtC852yMKEA.0", + "X-Azure-Ref" : "0X9jLYAAAAACZW2MCtSI5SIY/sA7fGf++V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623971935550\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AqMLJfZ54pO7f58qJCt-QYXbEaH2H8ManAz-1WtMqA341@thread.v2/messages/1623951357830" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AFXk9G4DF7CpviYkHIC-IIGjwSGltP5FN3aNJxte0D981@thread.v2/messages/1623971935550" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:qMLJfZ54pO7f58qJCt-QYXbEaH2H8ManAz-1WtMqA341@thread.v2/messages/1623951357830?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:FXk9G4DF7CpviYkHIC-IIGjwSGltP5FN3aNJxte0D981@thread.v2/messages/1623971935550?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "26c4c7ee-7df3-4efd-b482-0527b9a48c34", + "x-ms-client-request-id" : "ca98e80f-f4b2-4c0c-a795-bc42dea50532", "Content-Type" : "application/merge-patch+json" }, "Response" : { "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", - "X-Processing-Time" : "332ms", - "MS-CV" : "rU0MiWXTyEqkwVxwxh4G8Q.0", + "X-Processing-Time" : "428ms", + "MS-CV" : "bknFlZWpRkK11TNX6ESF8w.0", "retry-after" : "0", - "X-Azure-Ref" : "0/YfLYAAAAAB3/CucU4P8S4fsFgpsVIe4V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0X9jLYAAAAAAecZI8aR4MSLB9Jd0MBcigV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:35:57 GMT" + "Date" : "Thu, 17 Jun 2021 23:18:55 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:qMLJfZ54pO7f58qJCt-QYXbEaH2H8ManAz-1WtMqA341@thread.v2/messages/1623951357830?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:FXk9G4DF7CpviYkHIC-IIGjwSGltP5FN3aNJxte0D981@thread.v2/messages/1623971935550?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "bb421534-c817-4795-8dde-70054139f61e" + "x-ms-client-request-id" : "ccfa96c7-935d-4333-be21-43835ba603d4" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "103ms", - "MS-CV" : "ysj6AZbOc0eMlRNdCLEkZg.0", + "X-Processing-Time" : "130ms", + "MS-CV" : "grrL3fBbZE+kgwzDqDeKXw.0", "retry-after" : "0", - "X-Azure-Ref" : "0/ofLYAAAAAAfwtMgsZWRR6UCxU4ggPs8V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0YNjLYAAAAACUNpQ7sSK9TJNzpT31gP6+V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"1623951357830\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1623951358160\",\"content\":{\"message\":\"Update Test\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T17:35:57Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d706-e3c7-593a0d00f82f\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-d706-e3c7-593a0d00f82f\"}},\"editedOn\":\"2021-06-17T17:35:58Z\",\"metadata\":{\"onedriveReferences\":\"onedriveReferences - updated\",\"deliveryMode\":\"deliveryMode value - updated\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\"}}", - "Date" : "Thu, 17 Jun 2021 17:35:58 GMT", + "Body" : "{\"id\":\"1623971935550\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1623971936076\",\"content\":{\"message\":\"Update Test\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T23:18:55Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-d165-740a-113a0d00c663\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-d165-740a-113a0d00c663\"}},\"editedOn\":\"2021-06-17T23:18:56Z\",\"metadata\":{\"onedriveReferences\":\"onedriveReferences - updated\",\"deliveryMode\":\"deliveryMode value - updated\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\"}}", + "Date" : "Thu, 17 Jun 2021 23:18:56 GMT", "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 3386acaaa3af0..31a722174a8d9 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "49c85472-2914-408b-813b-c6843050ac30", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:57 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:56 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "55ms", - "MS-CV" : "8+EXXgoABkiiD1TuF6xCQA.0", - "X-Azure-Ref" : "0/ofLYAAAAAAKWxgr6xQmTJ+a9xRULSWsV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-de4c-e3c7-593a0d00f836\"}}", - "x-ms-client-request-id" : "352e3e6c-29d7-4266-8301-e3a298f07833", + "X-Processing-Time" : "93ms", + "MS-CV" : "GGz4cIDewUST1Bsx8t3pyQ.0", + "X-Azure-Ref" : "0YNjLYAAAAABMZD4RxjQySYXbC3yKmYUqV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-dd12-7f07-113a0d001748\"}}", + "x-ms-client-request-id" : "49c85472-2914-408b-813b-c6843050ac30", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "05e9423c-9087-4bf6-ad2c-4e9199f9381e", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:58 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:56 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "QuVaOGVZEESvO0vyWrQe+A.0", - "X-Azure-Ref" : "0/ofLYAAAAABuOqUVzorRTaBJTQspyg/RV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-de90-e3c7-593a0d00f837\"}}", - "x-ms-client-request-id" : "ecff911c-33aa-4fd2-b819-271bef7017fa", + "X-Processing-Time" : "91ms", + "MS-CV" : "DAYj4rM9BU+Z0BR+xH9HMQ.0", + "X-Azure-Ref" : "0YNjLYAAAAAAYdoyWEP9tTbD2TrR8itDLV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-ddb9-740a-113a0d00c666\"}}", + "x-ms-client-request-id" : "05e9423c-9087-4bf6-ad2c-4e9199f9381e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "a0e25337-6000-4f98-9aa8-d180b1288e27", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:57 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:56 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "f69d4C6HREuKNpo6yP+Xjg.0", - "X-Azure-Ref" : "0/ofLYAAAAAA0p75oq7AsTaSkqEsNaOsQV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-decb-99c6-593a0d00cc5c\"}}", - "x-ms-client-request-id" : "7896fb96-1091-4c48-8237-e2d598961bcc", + "X-Processing-Time" : "106ms", + "MS-CV" : "RAD6TElI8Ui2QDLOXRAFAA.0", + "X-Azure-Ref" : "0YNjLYAAAAADMm21nzo5+TKf2Jh8SIbp2V1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-deb8-51b9-a43a0d0036a9\"}}", + "x-ms-client-request-id" : "a0e25337-6000-4f98-9aa8-d180b1288e27", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "e27cb1af-5165-40b1-b30a-54fe577611f2", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:58 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:57 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "55ms", - "MS-CV" : "fCo/Q62280qnnLQ09XCEiw.0", - "X-Azure-Ref" : "0/ofLYAAAAABCjp4CpcR6R7js3k2jOxEdV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-df21-e3c7-593a0d00f838\"}}", - "x-ms-client-request-id" : "8da0f143-1ab9-4da9-a902-126720039d77", + "X-Processing-Time" : "99ms", + "MS-CV" : "vJ+HTa4bX0KD1k23RmtpiQ.0", + "X-Azure-Ref" : "0YdjLYAAAAAAJFm5HZyTeSppuYN9QuDApV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-df52-740a-113a0d00c667\"}}", + "x-ms-client-request-id" : "e27cb1af-5165-40b1-b30a-54fe577611f2", "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_0000000a-baec-de4c-e3c7-593a0d00f836/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-dd12-7f07-113a0d001748/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "11cd2bcf-6fd3-49ff-9046-3304b12afcef", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:58 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:56 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "36ms", - "MS-CV" : "Ig7n8TmllkG4Y3wLWHlZQA.0", - "X-Azure-Ref" : "0/ofLYAAAAAB6ibYjIDm2S5UbGY+d3E8LV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:57.8328406+00:00\"}", - "x-ms-client-request-id" : "e1181e03-f0f2-4712-8592-3a1c190e55d1", + "X-Processing-Time" : "165ms", + "MS-CV" : "l3XxNmrAX02q5Cf2Wc8+8A.0", + "X-Azure-Ref" : "0YdjLYAAAAABOACBHxV8LRKzdO7yknUecV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:18:56.4210117+00:00\"}", + "x-ms-client-request-id" : "11cd2bcf-6fd3-49ff-9046-3304b12afcef", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4c4105eb-999e-4e5f-9311-f0261aab4490", + "x-ms-client-request-id" : "a5a670bd-2964-463d-955d-8cf29f36ad79", "Content-Type" : "application/json" }, "Response" : { @@ -133,22 +138,22 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:59 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:58 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "946ms", - "MS-CV" : "CUcTi0uUvk6e1thvWwKWCw.0", - "X-Azure-Ref" : "0/ofLYAAAAAC0NSMp8HgJQb0o7uYFXaoMV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:P7LlebEFk1Bm1olCzNC7Ux_6i3v6hsHnjfyWMu7-aAs1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:58Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-de4c-e3c7-593a0d00f836\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-de4c-e3c7-593a0d00f836\"}}}}", + "X-Processing-Time" : "862ms", + "MS-CV" : "VpG8qdeNDESFCWEefKHHDg.0", + "X-Azure-Ref" : "0YdjLYAAAAAA76LkJC3zLQb6DeX/oKV9qV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:S36ivJL1bBA1OLUe1tJrjTnUv7T1qpHzDY-pMi7aEEw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:57Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-dd12-7f07-113a0d001748\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-dd12-7f07-113a0d001748\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AP7LlebEFk1Bm1olCzNC7Ux_6i3v6hsHnjfyWMu7-aAs1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AS36ivJL1bBA1OLUe1tJrjTnUv7T1qpHzDY-pMi7aEEw1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:P7LlebEFk1Bm1olCzNC7Ux_6i3v6hsHnjfyWMu7-aAs1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:S36ivJL1bBA1OLUe1tJrjTnUv7T1qpHzDY-pMi7aEEw1@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "61e12801-abe3-4b7a-abe8-93cb7eeefc5b", + "x-ms-client-request-id" : "2df0c485-144f-40c6-870c-ad39326fa12c", "Content-Type" : "application/json" }, "Response" : { @@ -157,55 +162,55 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:59 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:58 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "269ms", - "MS-CV" : "+A48EPykqUGa+jsQNqHb0A.0", - "X-Azure-Ref" : "0/4fLYAAAAADLZZJF0/pRQbmmIljIwl+UV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1623951359957\"}", + "X-Processing-Time" : "222ms", + "MS-CV" : "sJqUoISJ3kSGTUA0HwPTdg.0", + "X-Azure-Ref" : "0YtjLYAAAAACA8Wia4HXqQJP4yJbfbenVV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"id\":\"1623971938631\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AP7LlebEFk1Bm1olCzNC7Ux_6i3v6hsHnjfyWMu7-aAs1@thread.v2/messages/1623951359957" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AS36ivJL1bBA1OLUe1tJrjTnUv7T1qpHzDY-pMi7aEEw1@thread.v2/messages/1623971938631" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:P7LlebEFk1Bm1olCzNC7Ux_6i3v6hsHnjfyWMu7-aAs1@thread.v2/messages/1623951359957?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:S36ivJL1bBA1OLUe1tJrjTnUv7T1qpHzDY-pMi7aEEw1@thread.v2/messages/1623971938631?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9039f5f4-1bf7-4436-9679-f84dbd183c54", + "x-ms-client-request-id" : "18536cc7-18eb-4aae-ab09-b29a7cc0714b", "Content-Type" : "application/merge-patch+json" }, "Response" : { "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", - "X-Processing-Time" : "443ms", - "MS-CV" : "KcqeoS9Ey0uFiZPbaZDR0g.0", + "X-Processing-Time" : "358ms", + "MS-CV" : "BHpBNW5TP0GqC3Lqu5M4RA.0", "retry-after" : "0", - "X-Azure-Ref" : "0AIjLYAAAAADqtzSxAKDaRIWX0YX0yEfoV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0YtjLYAAAAAAN/u570C9SRaHGLlCW3lA8V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:36:00 GMT" + "Date" : "Thu, 17 Jun 2021 23:18:58 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:P7LlebEFk1Bm1olCzNC7Ux_6i3v6hsHnjfyWMu7-aAs1@thread.v2/messages/1623951359957?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:S36ivJL1bBA1OLUe1tJrjTnUv7T1qpHzDY-pMi7aEEw1@thread.v2/messages/1623971938631?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "30b4755b-e42c-4e00-9fbe-19bc38b4e30d" + "x-ms-client-request-id" : "f3a00e83-a1f4-4057-af03-1756cae0844f" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "137ms", - "MS-CV" : "lGkkQBdXQUWyYLOjd3e8tg.0", + "X-Processing-Time" : "82ms", + "MS-CV" : "fGrVFSxXsESJIWDEcNBZNA.0", "retry-after" : "0", - "X-Azure-Ref" : "0AIjLYAAAAAB2UTcPyxUNQ5gzxyz6judiV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0Y9jLYAAAAACBHNsoC0nsRZSuAupZn7zqV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"1623951359957\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1623951360396\",\"content\":{\"message\":\"Update Test\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T17:35:59Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-de4c-e3c7-593a0d00f836\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-de4c-e3c7-593a0d00f836\"}},\"editedOn\":\"2021-06-17T17:36:00Z\",\"metadata\":{\"onedriveReferences\":\"onedriveReferences - updated\",\"deliveryMode\":\"deliveryMode value - updated\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\"}}", - "Date" : "Thu, 17 Jun 2021 17:36:00 GMT", + "Body" : "{\"id\":\"1623971938631\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1623971938920\",\"content\":{\"message\":\"Update Test\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-06-17T23:18:58Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-dd12-7f07-113a0d001748\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-dd12-7f07-113a0d001748\"}},\"editedOn\":\"2021-06-17T23:18:58Z\",\"metadata\":{\"onedriveReferences\":\"onedriveReferences - updated\",\"deliveryMode\":\"deliveryMode value - updated\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\"}}", + "Date" : "Thu, 17 Jun 2021 23:18:58 GMT", "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 f329a7ef80614..2de7ba953cd4c 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "7c76b02d-2aa8-457e-9900-a3bc605c1510", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:29 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:13 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "30ms", - "MS-CV" : "oYPSH1Cl1EONrlXqTkoprg.0", - "X-Azure-Ref" : "04ofLYAAAAAB7m/UjqLjaQKi3Sg0xJDOuV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7137-99c6-593a0d00cc3f\"}}", - "x-ms-client-request-id" : "2b43439f-f1bb-454a-a5cc-e53f3789aa30", + "X-Processing-Time" : "65ms", + "MS-CV" : "wVZkZbEBtU2YYrgSkeLbNg.0", + "X-Azure-Ref" : "0NdjLYAAAAAB2ViwzjGuYTL4DlI2F88NGV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3515-51b9-a43a0d00368a\"}}", + "x-ms-client-request-id" : "7c76b02d-2aa8-457e-9900-a3bc605c1510", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "8a1e3b33-d1dd-49d4-a011-da2510bea4f1", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:30 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:13 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "32ms", - "MS-CV" : "aFfg8ZIdSU+qHjRH760uWA.0", - "X-Azure-Ref" : "04ofLYAAAAACEfzadQ18xTKTHtBril8CjV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7177-e3c7-593a0d00f7f7\"}}", - "x-ms-client-request-id" : "533c61ce-8ffb-4e21-ac93-b1c017aba94d", + "X-Processing-Time" : "96ms", + "MS-CV" : "8/agSEF4v0Sm/RPbFQ8RUA.0", + "X-Azure-Ref" : "0NdjLYAAAAAC4fiRDOL/7RbWfnifntyAmV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3598-740a-113a0d00c63f\"}}", + "x-ms-client-request-id" : "8a1e3b33-d1dd-49d4-a011-da2510bea4f1", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "9df69204-2388-4f81-b59d-eaeab349aad1", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:30 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:13 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "BB7GErHE8kO9pnpr6+eKsA.0", - "X-Azure-Ref" : "04ofLYAAAAADxu/2+PnreTpdC3iB2xsSNV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-71ba-e3c7-593a0d00f7f8\"}}", - "x-ms-client-request-id" : "631a5fab-cebd-4b49-89f5-66e0dd71ccf8", + "X-Processing-Time" : "96ms", + "MS-CV" : "UnwSnrPmLEWBjMEdaJXIQQ.0", + "X-Azure-Ref" : "0NdjLYAAAAAB/MAmdXRTmSbOTrIyhywysV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3645-7f07-113a0d001719\"}}", + "x-ms-client-request-id" : "9df69204-2388-4f81-b59d-eaeab349aad1", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "c7393e91-5b5e-4231-9317-e8a1ce3f37b6", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:30 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:14 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "KMIUYwNMc0isCmqVU2f58Q.0", - "X-Azure-Ref" : "04ofLYAAAAABs4xjOQKlPTJn0USZtx4p0V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7204-e3c7-593a0d00f7f9\"}}", - "x-ms-client-request-id" : "4e4d42f3-c0d1-4719-8f1b-0b32d67a82f8", + "X-Processing-Time" : "96ms", + "MS-CV" : "zu0bqk0GY0edaefvLU6T/A.0", + "X-Azure-Ref" : "0NdjLYAAAAADrdlC6BesOT7ER8ULovYurV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-36ed-740a-113a0d00c640\"}}", + "x-ms-client-request-id" : "c7393e91-5b5e-4231-9317-e8a1ce3f37b6", "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_0000000a-baec-7137-99c6-593a0d00cc3f/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3515-51b9-a43a0d00368a/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "1a749e59-3a6f-49db-b50b-10040cd7acaa", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:30 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:13 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "39ms", - "MS-CV" : "CkSod1qN606m3cW8she99A.0", - "X-Azure-Ref" : "04ofLYAAAAAAOA5/CmkzRTIcE+NFExdpAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:29.9022077+00:00\"}", - "x-ms-client-request-id" : "6cf2b4b3-a45c-404b-bbc5-c7616e90744e", + "X-Processing-Time" : "143ms", + "MS-CV" : "cDkgImz58Eyr5MEZy1KhjA.0", + "X-Azure-Ref" : "0NtjLYAAAAAAOGpC6IvL9QK2uEoBLt1/MV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:18:13.2737237+00:00\"}", + "x-ms-client-request-id" : "1a749e59-3a6f-49db-b50b-10040cd7acaa", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7d6a9fc5-0851-4ad2-9da2-ed727aa1eb48", + "x-ms-client-request-id" : "f9b812be-3b0f-4c14-82e7-d3c64fe2b6c5", "Content-Type" : "application/json" }, "Response" : { @@ -133,55 +138,55 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:31 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:14 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "497ms", - "MS-CV" : "z+9wg55FUkyADzIiyf89lg.0", - "X-Azure-Ref" : "04ofLYAAAAACOjJOfHgrASLwo+UVPA7cqV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:xcgK2vSexHZSxDHmEDJH5-i_8oH7vvPdnSF1gynBk6Y1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:31Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7137-99c6-593a0d00cc3f\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7137-99c6-593a0d00cc3f\"}}}}", + "X-Processing-Time" : "495ms", + "MS-CV" : "l4ltHu8cOUW4n+73m0llIw.0", + "X-Azure-Ref" : "0NtjLYAAAAACrks1RdZdhTYh/bc9e6SZKV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:8wjKs0eqMzTffwQ-zvRvNtNHSbGuUeDNuWGBs06YySM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:14Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3515-51b9-a43a0d00368a\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3515-51b9-a43a0d00368a\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AxcgK2vSexHZSxDHmEDJH5-i_8oH7vvPdnSF1gynBk6Y1@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A8wjKs0eqMzTffwQ-zvRvNtNHSbGuUeDNuWGBs06YySM1@thread.v2" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:xcgK2vSexHZSxDHmEDJH5-i_8oH7vvPdnSF1gynBk6Y1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:8wjKs0eqMzTffwQ-zvRvNtNHSbGuUeDNuWGBs06YySM1@thread.v2?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f9bc81a6-d393-4b8b-a0e4-78bffef04823", + "x-ms-client-request-id" : "b05dbf77-db62-40de-a53d-1259002b0842", "Content-Type" : "application/merge-patch+json" }, "Response" : { "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", - "X-Processing-Time" : "247ms", - "MS-CV" : "xanXtYzgCE+ZEll2OO/Jyw.0", + "X-Processing-Time" : "332ms", + "MS-CV" : "EVVId8SHUESv5RNf6hCTwQ.0", "retry-after" : "0", - "X-Azure-Ref" : "044fLYAAAAADqDhU2VVBVR6pA494DWcsPV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0NtjLYAAAAAC76gU8CWETToX3tqEyYqSvV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:35:31 GMT" + "Date" : "Thu, 17 Jun 2021 23:18:14 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:xcgK2vSexHZSxDHmEDJH5-i_8oH7vvPdnSF1gynBk6Y1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:8wjKs0eqMzTffwQ-zvRvNtNHSbGuUeDNuWGBs06YySM1@thread.v2?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7ce16c40-566e-4f92-aadc-0a24ec130caa" + "x-ms-client-request-id" : "a42b4866-1fce-4dd6-9513-30bdeaf25d9f" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "150ms", - "MS-CV" : "2o2rfYSyvEigeZrFelRx2A.0", + "X-Processing-Time" : "111ms", + "MS-CV" : "BcM8h17qmk2qONvY+IkREA.0", "retry-after" : "0", - "X-Azure-Ref" : "044fLYAAAAACZ8rcyuh1BT6sWQDBuRG+3V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0N9jLYAAAAACqkYMoveDuTpsHhMnX2GIIV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"19:xcgK2vSexHZSxDHmEDJH5-i_8oH7vvPdnSF1gynBk6Y1@thread.v2\",\"topic\":\"Update Test\",\"createdOn\":\"2021-06-17T17:35:31Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7137-99c6-593a0d00cc3f\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-7137-99c6-593a0d00cc3f\"}}}", - "Date" : "Thu, 17 Jun 2021 17:35:31 GMT", + "Body" : "{\"id\":\"19:8wjKs0eqMzTffwQ-zvRvNtNHSbGuUeDNuWGBs06YySM1@thread.v2\",\"topic\":\"Update Test\",\"createdOn\":\"2021-06-17T23:18:14Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3515-51b9-a43a0d00368a\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-3515-51b9-a43a0d00368a\"}}}", + "Date" : "Thu, 17 Jun 2021 23:18:15 GMT", "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 739d6cabc5a53..338a62ba42ef5 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 @@ -4,6 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "f29f373c-06ca-463a-8a18-81c97b7e7f15", "Content-Type" : "application/json" }, "Response" : { @@ -12,13 +13,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:26 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:09 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "31ms", - "MS-CV" : "Q1aAz3OOJkayWMIrxXaHfw.0", - "X-Azure-Ref" : "03ofLYAAAAAD6B9TZ/tihQoQ44HBbEusmV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6268-e3c7-593a0d00f7f1\"}}", - "x-ms-client-request-id" : "00d845d6-e20e-458c-9d74-f7e4c8f139b3", + "X-Processing-Time" : "96ms", + "MS-CV" : "iAbPuHvUQUOOYXcqNipdJQ.0", + "X-Azure-Ref" : "0MdjLYAAAAACMW8LOvRh1QadZr7T9q/ovV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-26a7-740a-113a0d00c63b\"}}", + "x-ms-client-request-id" : "f29f373c-06ca-463a-8a18-81c97b7e7f15", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,6 +29,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "5aee1dbc-7263-4f6d-872b-292a0d78a950", "Content-Type" : "application/json" }, "Response" : { @@ -36,13 +38,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:26 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:09 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "57ms", - "MS-CV" : "SS1WHq2KyU6kc50OLQA9sg.0", - "X-Azure-Ref" : "03ofLYAAAAABjfw8wuez+RpbGdKyArJNVV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-62bd-e3c7-593a0d00f7f2\"}}", - "x-ms-client-request-id" : "9e6024f8-fd0c-4902-aa39-a664088d9cd1", + "X-Processing-Time" : "72ms", + "MS-CV" : "nXZhqv/he0S8OpaFWCaYhQ.0", + "X-Azure-Ref" : "0MdjLYAAAAAD2w4bid7SBTo7HpyDz9K7AV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-2744-51b9-a43a0d003688\"}}", + "x-ms-client-request-id" : "5aee1dbc-7263-4f6d-872b-292a0d78a950", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -52,6 +54,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "d273739e-d8aa-4538-8f9b-5fbc9cab25e8", "Content-Type" : "application/json" }, "Response" : { @@ -60,13 +63,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:26 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:10 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "37ms", - "MS-CV" : "SWUQud5EgE2tGKeb5KL8Eg.0", - "X-Azure-Ref" : "03ofLYAAAAAAhEDBqdvbmSLWbVwkcHk/zV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-62fb-e3c7-593a0d00f7f3\"}}", - "x-ms-client-request-id" : "0853e8cb-53d1-40a5-8ac4-292b939a1a09", + "X-Processing-Time" : "93ms", + "MS-CV" : "nRUqruk9eEais1n676dIPA.0", + "X-Azure-Ref" : "0MtjLYAAAAABIy0fIRlQ/RJa+oVe6CucnV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-27ce-740a-113a0d00c63c\"}}", + "x-ms-client-request-id" : "d273739e-d8aa-4538-8f9b-5fbc9cab25e8", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -76,6 +79,7 @@ "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "33de1de6-bbe1-460b-91e8-c649cebac3d2", "Content-Type" : "application/json" }, "Response" : { @@ -84,22 +88,23 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:26 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:09 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "9rsx6is3gEGETx+VnHxsiA.0", - "X-Azure-Ref" : "034fLYAAAAAC/RVhQELZlRphBlasw1wsMV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6361-99c6-593a0d00cc3c\"}}", - "x-ms-client-request-id" : "f070b61d-71a6-4660-9447-4a765f944d5d", + "X-Processing-Time" : "92ms", + "MS-CV" : "d7l0RB21REquQOmp/yPnSQ.0", + "X-Azure-Ref" : "0MtjLYAAAAACTcVM5pal7RahaEsk7SocxV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-2877-7f07-113a0d001717\"}}", + "x-ms-client-request-id" : "33de1de6-bbe1-460b-91e8-c649cebac3d2", "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_0000000a-baec-6268-e3c7-593a0d00f7f1/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-26a7-740a-113a0d00c63b/:issueAccessToken?api-version=2021-03-07", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-identity/1.2.0-beta.1 (1.8.0_262; Windows 10; 10.0)", + "x-ms-client-request-id" : "0cea06f9-c76b-45fd-a1b1-323c62e80f1b", "Content-Type" : "application/json" }, "Response" : { @@ -108,13 +113,13 @@ "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 17 Jun 2021 17:35:26 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:10 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "64ms", - "MS-CV" : "+rNZSPOZYUG3yZMbtm8tmQ.0", - "X-Azure-Ref" : "034fLYAAAAAC+VFIlxR29S61Dug9MiByKV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T17:35:26.1826156+00:00\"}", - "x-ms-client-request-id" : "40beeb92-071f-44d9-9d06-4e062b65ceeb", + "X-Processing-Time" : "166ms", + "MS-CV" : "h5P3lbovF0ucFgCdKrm0TQ.0", + "X-Azure-Ref" : "0MtjLYAAAAAARaB9U2VhZQ6dosHigMLK+V1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-06-18T23:18:09.6032177+00:00\"}", + "x-ms-client-request-id" : "0cea06f9-c76b-45fd-a1b1-323c62e80f1b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -124,7 +129,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "50bfaf23-4166-442e-9f3b-60d5eb8df246", + "x-ms-client-request-id" : "54df46ca-1755-4705-add8-d1b5c594f7a1", "Content-Type" : "application/json" }, "Response" : { @@ -133,55 +138,55 @@ "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", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Thu, 17 Jun 2021 17:35:27 GMT", + "Date" : "Thu, 17 Jun 2021 23:18:10 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "662ms", - "MS-CV" : "e/u+nrYiAU+Cmnohve2Tbg.0", - "X-Azure-Ref" : "034fLYAAAAACY4/afHkNsS5PA6CsCaAfCV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:d9joynTlZxlYyNR4Sn3YLnG-PMIeTWRJ5fEv_90vtP81@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T17:35:27Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6268-e3c7-593a0d00f7f1\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6268-e3c7-593a0d00f7f1\"}}}}", + "X-Processing-Time" : "509ms", + "MS-CV" : "CJNxfNVbM0eHyHdhRWJMOw.0", + "X-Azure-Ref" : "0MtjLYAAAAABqZZKu6EFpTouFFZtERyQkV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Body" : "{\"chatThread\":{\"id\":\"19:Ypa2kYiTrSOklewH4zRMQy4wAVUOcAAyM9VtcnGS7g41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-06-17T23:18:10Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-26a7-740a-113a0d00c63b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-26a7-740a-113a0d00c63b\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ad9joynTlZxlYyNR4Sn3YLnG-PMIeTWRJ5fEv_90vtP81@thread.v2" + "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AYpa2kYiTrSOklewH4zRMQy4wAVUOcAAyM9VtcnGS7g41@thread.v2" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:d9joynTlZxlYyNR4Sn3YLnG-PMIeTWRJ5fEv_90vtP81@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Ypa2kYiTrSOklewH4zRMQy4wAVUOcAAyM9VtcnGS7g41@thread.v2?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "38472902-fe54-4847-b161-5716b600d190", + "x-ms-client-request-id" : "a99527a0-0a53-4888-b3b8-989ef4a433af", "Content-Type" : "application/merge-patch+json" }, "Response" : { "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", - "X-Processing-Time" : "202ms", - "MS-CV" : "zdI/+RviU0Sdno8sZnfSQg.0", + "X-Processing-Time" : "261ms", + "MS-CV" : "BV5l/suMFUukWngaYntSKA.0", "retry-after" : "0", - "X-Azure-Ref" : "034fLYAAAAAABxb8h+OPCS7xKtg7oUtNOV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0M9jLYAAAAADVbF/bwg1SSK3BOvRj1hTPV1NURURHRTA4MTUAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Thu, 17 Jun 2021 17:35:27 GMT" + "Date" : "Thu, 17 Jun 2021 23:18:11 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:d9joynTlZxlYyNR4Sn3YLnG-PMIeTWRJ5fEv_90vtP81@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Ypa2kYiTrSOklewH4zRMQy4wAVUOcAAyM9VtcnGS7g41@thread.v2?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "1b38184b-26eb-49c4-8358-da7dd4891fab" + "x-ms-client-request-id" : "9267901b-782c-485e-956c-8727e4545555" }, "Response" : { "Transfer-Encoding" : "chunked", "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", - "X-Processing-Time" : "117ms", - "MS-CV" : "38M7P3cFPUOjGvpbPGHKpQ.0", + "X-Processing-Time" : "87ms", + "MS-CV" : "R1FLq9/b2kWvJz0FIxoWQw.0", "retry-after" : "0", - "X-Azure-Ref" : "04IfLYAAAAACIB82lL3WtTJ30V9iyeex5V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Azure-Ref" : "0M9jLYAAAAABpJdrZ1XXTRZw73vLfDhKwV1NURURHRTA4MTgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"19:d9joynTlZxlYyNR4Sn3YLnG-PMIeTWRJ5fEv_90vtP81@thread.v2\",\"topic\":\"Update Test\",\"createdOn\":\"2021-06-17T17:35:27Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6268-e3c7-593a0d00f7f1\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-baec-6268-e3c7-593a0d00f7f1\"}}}", - "Date" : "Thu, 17 Jun 2021 17:35:27 GMT", + "Body" : "{\"id\":\"19:Ypa2kYiTrSOklewH4zRMQy4wAVUOcAAyM9VtcnGS7g41@thread.v2\",\"topic\":\"Update Test\",\"createdOn\":\"2021-06-17T23:18:10Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-26a7-740a-113a0d00c63b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000a-bc26-26a7-740a-113a0d00c63b\"}}}", + "Date" : "Thu, 17 Jun 2021 23:18:11 GMT", "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 0c96656a3f7e1..e10ee23322077 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 @@ -4,7 +4,7 @@ "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/messages?api-version=2021-04-05-preview6", "Headers" : { "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0-beta.1 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d220b072-897e-48d1-aead-414b54c6e11d", + "x-ms-client-request-id" : "7ccf2b45-cf52-45e4-8fc9-b0adc62776aa", "Content-Type" : "application/json" }, "Response" : {