Skip to content

Runtime: APIs to get connector details for a project - #4363

Merged
k-anshul merged 12 commits into
mainfrom
begelundmuller/connectors-apis
Apr 3, 2024
Merged

Runtime: APIs to get connector details for a project#4363
k-anshul merged 12 commits into
mainfrom
begelundmuller/connectors-apis

Conversation

@begelundmuller

@begelundmuller begelundmuller commented Mar 16, 2024

Copy link
Copy Markdown
Contributor

This PR adds three new APIs:

  • ListConnectorDrivers: returns metadata about all connector drivers implemented in the runtime, including specs of the config properties they support. It replaces the previous ListConnectors API.
  • AnalyzeConnectors: parses the project files and returns a complete breakdown of all connectors declared or referenced in the project, as well as the values of their config properties (broken down by source, e.g. rill.yaml or .env).
  • ListNotifierConnectors: is an API for getting the connectors that can be used as notifiers. It's designed specifically for use in the cloud UI to determine which alert/report destinations are available. Unlike AnalyzeConnectors, it does not require admin-level permissions (and is much faster). Note: It will not work correctly until this PR merges: Slack integration for alerts and reports #4371.

Closes https://github.com/rilldata/rill-private-issues/issues/216

@begelundmuller
begelundmuller marked this pull request as ready for review March 26, 2024 15:37
@begelundmuller begelundmuller self-assigned this Mar 26, 2024
@begelundmuller
begelundmuller requested a review from k-anshul April 1, 2024 10:01
Comment thread runtime/connections.go
Comment thread runtime/drivers/s3/s3.go
@begelundmuller
begelundmuller requested a review from k-anshul April 3, 2024 11:45
@k-anshul
k-anshul merged commit c5b80fa into main Apr 3, 2024
@k-anshul
k-anshul deleted the begelundmuller/connectors-apis branch April 3, 2024 11:50
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