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

[resources] Introduce planner side validation of resources #387

Merged
merged 3 commits into from
Sep 8, 2023

Conversation

eolivelli
Copy link
Member

@eolivelli eolivelli commented Sep 8, 2023

Summary:

This patch introduces a mechanism to implement validation of "resource", in order to make it happen on the planner side, as soon as possible, and provide feedback on wrong configuration as soon as possible.

With the basic validation introduced in this PR we validate that:

  • the "type" is a well-known type
  • for "datasource" and "vector-database" resources you configure a "service" property

Follow up patches will add specific validations for all the known types of resources

@eolivelli eolivelli marked this pull request as ready for review September 8, 2023 15:48
@eolivelli eolivelli merged commit 154142c into main Sep 8, 2023
8 checks passed
@eolivelli eolivelli deleted the impl/resource-validation branch September 8, 2023 16:26
benfrank241 pushed a commit to vectorize-io/langstream that referenced this pull request May 2, 2024
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.

None yet

1 participant