Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove sockjs #74

Merged
merged 2 commits into from
Jul 28, 2022
Merged

fix: remove sockjs #74

merged 2 commits into from
Jul 28, 2022

Conversation

timrbula
Copy link
Member

@timrbula timrbula commented Jul 15, 2022

Context

Jira Issue: ISEEC-4122

Build Number: 2.0.10-alpha.3

Checklist:

  • Has been verified in an integrated environment
  • Has relevant unit and integration tests passing
  • Has no linting, test console, or browser console errors (best effort)
  • Has JSDoc comment blocks for complex code

PR Review Guidance

Remove SockJS and use stomp to make native ws connection without fallback

Additional Info

Hopefully this solves some issues w/ the SockJS client blocking other requests. We also get to remove the SockJS client code and the changes required to support it

@@ -228,7 +228,7 @@ function UIShell({
skipToContentProps={skipToContentProps}
requestSummary={user.requestSummary}
notificationsConfig={{
wsUrl: `${finalBaseServiceUrl}/notifications/ws`,
wsUrl: `${finalBaseServiceUrl}/notifications/ws`.replace("https://", "wss://"),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Meh, but I'm not sure of a better way to do this without requesting service changes

@timrbula timrbula requested a review from BenjaminRuby July 15, 2022 20:47
@timrbula timrbula marked this pull request as ready for review July 28, 2022 18:51
Copy link
Member

@BenjaminRuby BenjaminRuby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@BenjaminRuby BenjaminRuby merged commit 8c90ebd into main Jul 28, 2022
@timrbula timrbula deleted the fix-remove-sockjs branch August 2, 2022 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants