Skip to content

Ability to perform schema validation for config CRUD APIs #1660

Open

Description

@YourTechBud

Challenge

  • No way to do a schema check for configs being written when using non K8s config adapters.

Solution

  1. Add a json schema / openapi validation step for the apply config endpoint.
  2. We can use the JSON schema reflection library to figure out the schema of a source when it registers itself with the Source Manager.
  3. Source Manager can store the json schema generated in a global map against the gvr
  4. Handler for config apply endpoint can fetch this jsonschema from the Source Manager App before passing the data to the ConfigManager

Activity

  1. converted this from a draft issue on Mar 8, 2023
  2. added this to the v0.22.0 milestone on Mar 8, 2023
  3. moved this from 📋 Backlog to 🔖 Ready in @SpaceCloudIO's Backlogon Jun 17, 2023
  4. moved this from 🔖 Ready to 📋 Backlog in @SpaceCloudIO's Backlogon Jun 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions