feat: Adding validation for feature categories using an external reference

Closes gitlab-com/gl-infra/observability/team#4219 (closed).

This adds validation for feature categories using an external reference, using as a reference the categories file from the rails app.

Upstream MR gitlab-org/gitlab!212577 (merged) containing the schema as the SSoT for feature categories.

Extras

  • The gem json-schema has been replaced by json_schemer, to be consistent with the gem used by GitLab
  • The schema draft has changed from draft-06 to draft-07 (they are compatible), also to be consistent with the schema used by GitLab
  • Custom external reference resolver for JSON schemas with caching + timeout configuration
  • openssl gem version set to 3.3.2, matching with GitLab for consistency
Edited by Hercules Merscher

Merge request reports

Loading
Loading