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

Add an endpoint to compare two resources #4787

Open
imsdu opened this issue Mar 7, 2024 · 0 comments
Open

Add an endpoint to compare two resources #4787

imsdu opened this issue Mar 7, 2024 · 0 comments

Comments

@imsdu
Copy link
Contributor

imsdu commented Mar 7, 2024

Motivation
We have more and more resources and we want to be able to compare.
Besides, some of them are starting to have a complex history so we also want to be able to compare two revisions of the same resource.

This ticket means to address that by adding a new endpoint where the user can provide two resource identifiers which can contain a revision or a tag

Acceptance criteria

  1. Only "data" resources can be compared
  2. The user must have access to both resources
  3. It is possible to compare two revisions of the same resource
  4. Resources can live in different projects
  5. The diff is done on the following fields:
  • The resource types
  • The original payload
  • The compacted form
  • The remote contexts
  • The schema used to validate those resources

Not in scope

  1. The diff just indicates if the value are not equals for performance reasons, complete diffs will be implemented later
  2. Comparing files, schemas will addressed in later tickets if needed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant