fix(plugin-cc): add org header to notification subscribe API for environment compatibility#4708
Open
akulakum wants to merge 2 commits intowebex:nextfrom
Open
fix(plugin-cc): add org header to notification subscribe API for environment compatibility#4708akulakum wants to merge 2 commits intowebex:nextfrom
akulakum wants to merge 2 commits intowebex:nextfrom
Conversation
…ronment compatibility
|
This pull request is automatically being deployed by Amplify Hosting (learn more). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
COMPLETES #https://jira-eng-sjc12.cisco.com/jira/browse/CAI-7499
Vidcast: https://app.vidcast.io/share/ba4ba3b8-aa90-4d5a-b67b-ba42ae17fac3
This pull request addresses
The CC SDK's webex.cc.register() was failing on certain environments (e.g., qaus1) because the WebSocket notification service was not sending the "Welcome" message after connection. Due to which, certain users were stuck on the loading screen when init widgets is called.
Root Cause: The SDK was missing the X-ORGANIZATION-ID header in the /v1/notification/subscribe request, which Agent Desktop includes.
After adding the X-ORGANIZATION-ID header to the subscribe request, the issue got resolved.
by making the following changes
Reference: Agent Desktop implementation (aqm-notifs.ts)
The Agent Desktop sends the X-ORGANIZATION-ID header in the notification subscribe request.
Change Type
The following scenarios were tested
< ENUMERATE TESTS PERFORMED, WHETHER MANUAL OR AUTOMATED >
The GAI Coding Policy And Copyright Annotation Best Practices
I certified that
Make sure to have followed the contributing guidelines before submitting.