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

SLVS-1473 Refactor AliveConnectionTracker #5717

Merged

Conversation

gabriela-trutan-sonarsource
Copy link
Contributor

@gabriela-trutan-sonarsource gabriela-trutan-sonarsource commented Sep 30, 2024

SLVS-1473

Update ActiveConnectionTracker to listen to events from ServerConnectionRepository instead of ISolutionBindingRepository.

The connections are saved in a dedicated file and are no longer calculated from binding. Therefore, we need to listen to the repository.

Update the ServerConnectionRepository to raise events when a connection is added/deleted/updated and when the credentials are changed.

This PR is only really testable in conjunction with the this PR

…verConnectionRepository instead of ISolutionBindingRepository.

The connections are saved in a dedicated repository and is no longer calculated from binding, therefore we need to listen to the repository.
@hashicorp-vault-sonar-prod hashicorp-vault-sonar-prod bot changed the title SLVS-1473 Refactor AliveConnectionTracker SLVS-1473 Refactor AliveConnectionTracker Sep 30, 2024
Copy link

@gabriela-trutan-sonarsource gabriela-trutan-sonarsource changed the base branch from feature/hardening-8-4 to master October 1, 2024 11:17
@gabriela-trutan-sonarsource gabriela-trutan-sonarsource changed the base branch from master to feature/hardening-8-4 October 1, 2024 11:18
Copy link
Contributor

@vnaskos-sonar vnaskos-sonar left a comment

Choose a reason for hiding this comment

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

👍

@vnaskos-sonar vnaskos-sonar merged commit 7950fe4 into feature/hardening-8-4 Oct 1, 2024
3 of 4 checks passed
@vnaskos-sonar vnaskos-sonar deleted the gt/refactor-alive-connection-tracker branch October 1, 2024 11:28
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