adds dsconfig schema - #693
Conversation
|
|
There was a problem hiding this comment.
Pull request overview
Adds dsconfig-based configuration schema support for the Amazon Timestream datasource so downstream tools (including agents) can introspect required configuration fields via a uniform schema and generated artifacts.
Changes:
- Added
pkg/schema/dsconfig.jsonas the dsconfig single source of truth for datasource configuration fields and groups. - Added generated schema artifacts (
schema.gen.json,settings.gen.json,settings.examples.gen.json) and a conformance test (dsconfig_test.go) to validate drift. - Updated Go dependencies (including
grafana-plugin-sdk-go) to support dsconfig/schema tooling.
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| pkg/schema/dsconfig.json | New dsconfig schema defining settings fields, secure fields, and UI groups. |
| pkg/schema/dsconfig_test.go | Adds dsconfig conformance + artifact generation test harness. |
| pkg/schema/schema.gen.json | Generated full plugin schema artifact derived from dsconfig.json. |
| pkg/schema/settings.gen.json | Generated settings-only schema artifact derived from dsconfig.json. |
| pkg/schema/settings.examples.gen.json | Generated settings examples artifact. |
| go.mod | Bumps Go/tooling deps needed for schema generation/conformance. |
| go.sum | Updates checksums for dependency changes. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 2 weeks if no further activity occurs. Please feel free to give a status update or ping for review. Thank you for your contributions! |
Summary
This PR adds the datasource configuration schema for the datasource. With the schema consumers such as llm agents, provisioning agents, etc will understand the shape and meta data about the datasource configuration.
Read more at