Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

revert(schemas): use local schema validation for rules API #18

Merged
merged 2 commits into from
May 12, 2024

Conversation

hayk96
Copy link
Owner

@hayk96 hayk96 commented May 12, 2024

1. What this PR does / why we need it:

  • This PR reverts the schema validation mechanism of the rules API, introduced in v0.1.2, to use a locally defined schema instead of a remote schema. Some users have reported difficulties when running the prometheus-api in an intranet environment. Therefore, this approach is prioritized over using a remotely updated schema, although the schema is not updated often.

2. Make sure that you've checked the boxes below before you submit PR:

  • DCO signed
  • No conflict with the main branch.

hayk96 added 2 commits May 12, 2024 17:39
Signed-off-by: hayk96 <hayko5999@gmail.com>
Signed-off-by: hayk96 <hayko5999@gmail.com>
@hayk96 hayk96 self-assigned this May 12, 2024
@hayk96 hayk96 merged commit 508b19c into main May 12, 2024
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant