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

Policy API: fixtures should employ flattened selectors instead of jq expressions #646

Closed
jakedoublev opened this issue Apr 23, 2024 · 0 comments · Fixed by #665
Closed
Assignees
Labels
comp:db DB component comp:policy Policy Configuration ( attributes, subject mappings, resource mappings, kas registry)

Comments

@jakedoublev
Copy link
Contributor

Background

As a result of the accepted ADR to employ flattening of an Entity Representation into known fields and values, the policy fixtures should exemplify the flattened key selectors instead of jq syntax when provisioning the local development database and unit test suite.

Acceptance Criteria

  1. the policy fixtures are updated to remove jq expression syntax with flattened syntax examples in their place
  2. any relevant unit tests are checked and updated if they mention jq expressions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:db DB component comp:policy Policy Configuration ( attributes, subject mappings, resource mappings, kas registry)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants