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

cleanup: refactor connections management for local #446

Merged
merged 5 commits into from
Nov 5, 2024

Conversation

shouples
Copy link
Contributor

@shouples shouples commented Oct 24, 2024

Summary of Changes

Mainly moving the get/create local connection functionality to src/sidecar/connections.ts instead of where it previously lived (src/graphql/local.ts), to be more generally-usable.

Also added some new tests since src/sidecar/connections.ts was largely uncovered, and we have a couple new core functions for getting/creating connections for a spec. We could stand to break some of these out into not-mocked/-stubbed tests, but with the direct connect updates coming, I'd like to hold off for a bit.

Pull request checklist

Please check if your PR fulfills the following (if applicable):

Tests
  • Added new
  • Updated existing
  • Deleted existing
Other
  • Does anything in this PR need to be mentioned in the user-facing CHANGELOG or README?
  • Have you validated this change locally by packaging and installing the extension .vsix file?
    gulp clicktest

@shouples shouples self-assigned this Oct 24, 2024
@airlock-confluentinc airlock-confluentinc bot force-pushed the djs/local-connections-update branch 2 times, most recently from 786cd70 to a8ba74c Compare October 29, 2024 13:14
@shouples shouples changed the base branch from main to djs/local-kafka-shutdown October 29, 2024 13:16
@shouples shouples marked this pull request as ready for review November 4, 2024 23:01
@shouples shouples requested a review from a team as a code owner November 4, 2024 23:01
Base automatically changed from djs/local-kafka-shutdown to main November 5, 2024 21:01
@shouples shouples merged commit 907452a into main Nov 5, 2024
1 check passed
@shouples shouples deleted the djs/local-connections-update branch November 5, 2024 21: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