Skip to content

feat: use namespaced schemas for flagd json schemas (#843)#850

Merged
toddbaert merged 1 commit intoopen-feature:mainfrom
mehtasankets:main
Jun 28, 2024
Merged

feat: use namespaced schemas for flagd json schemas (#843)#850
toddbaert merged 1 commit intoopen-feature:mainfrom
mehtasankets:main

Conversation

@mehtasankets
Copy link
Copy Markdown
Contributor

feat: use namespaced schemas for flagd json schemas

Use namespaced schemas for flags and targeting json schemas

Related Issues

Fixes #843

Notes

  • Update build file to copy over schema files to src/main/resources/flagd/schemas/ instead of src/main/resources/
  • Refer targeting.json and flags.json from src/main/resources/flagd/schemas/
  • No new tests are added as existing tests should be sufficient to validate the feature
  • Verified the new location of the schema files by building and extracting the jar locally

@mehtasankets mehtasankets requested a review from a team as a code owner June 28, 2024 10:06
Signed-off-by: Sanket Mehta <mehtasankets@gmail.com>
Copy link
Copy Markdown
Collaborator

@Kavindu-Dodan Kavindu-Dodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks good. Validated locally and it works 🙌

@toddbaert
Copy link
Copy Markdown
Member

Thanks @mehtasankets !

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.

[Improvement] flagd json schema files should be namespaced under resources

5 participants