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

ID-1327 revert synchronous group removals and refactor #1480

Merged

Conversation

tlangs
Copy link
Contributor

@tlangs tlangs commented Jul 8, 2024

Ticket: https://broadworkbench.atlassian.net/browse/ID-1327

Reverting the synchronous group sync for policy removals. This was a band-aid, but has the potential to create long request latencies. Now that google group synchronization is fixed, its no longer needed.

Also did a little refactor of the sync de-duplication. Instead of relying on an exception for control flow, we now rely on an Option. This is best-practice, since using exceptions for control flow incurs a significant performance penalty in JVM languages.


PR checklist

  • I've followed the instructions if I've made any changes to the API, especially if they're breaking changes
  • I've filled out the Security Risk Assessment (requires Broad Internal network access) and attached the result to the JIRA ticket

Copy link
Contributor

@Ghost-in-a-Jar Ghost-in-a-Jar left a comment

Choose a reason for hiding this comment

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

can you retain the shape of the response to what it was before

@tlangs
Copy link
Contributor Author

tlangs commented Jul 8, 2024

@Ghost-in-a-Jar done

Copy link
Contributor

@okotsopoulos okotsopoulos left a comment

Choose a reason for hiding this comment

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

Thanks! I left a few suggestions for test improvement.

Now that google group synchronization is fixed, its no longer needed.

I'm probably out of the loop here, is there somewhere I can go to learn more about how Google Group synchronization was fixed (ex. an incident review page)?

Copy link

sonarcloud bot commented Jul 8, 2024

@tlangs tlangs merged commit 94bb030 into develop Jul 8, 2024
24 checks passed
@tlangs tlangs deleted the tl_ID-1327_revert_synchronous_group_removals_and_refactor branch July 8, 2024 19:30
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.

None yet

4 participants