Repository navigation
Go: implement connector get API - #15259
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThis PR adds a single-connector retrieval endpoint to the API. The service layer validates the connector ID and enforces tenant-based authorization, checking both direct tenant ownership and user-tenant associations. The handler abstracts the service behind an interface, retrieves the authenticated user, invokes the service, and returns connector details or error codes as JSON. Tests cover success and authorization-failure scenarios. ChangesConnector Retrieval Endpoint
Estimated Code Review Effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #15259 +/- ##
=======================================
Coverage 93.16% 93.16%
=======================================
Files 10 10
Lines 717 717
Branches 118 118
=======================================
Hits 668 668
Misses 29 29
Partials 20 20 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary
GET /api/v1/connectors/:connector_id.Scope
This is a small, isolated slice of #15240. It avoids the open system API PR (#15256), the open MCP endpoint PRs (#15253, #15254), and the current Python data-source connector feature PRs.
Refs #15240
Tests