-
Notifications
You must be signed in to change notification settings - Fork 25
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
Implementer Friendliness for Avni [DMP 2024] #754
Comments
@shraddha761 this is good as a stub, but please provide more detail so it is clear what the intention of this work is. |
shraddha761
added a commit
to shraddha761/avni-server
that referenced
this issue
Aug 21, 2024
6 tasks
himeshr
added a commit
that referenced
this issue
Sep 20, 2024
#754 | Implementer friendliness for avni
himeshr
added a commit
that referenced
this issue
Sep 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Implemented a feature that compares JSON files within ZIP archives, focusing on identifying differences such as modifications, additions, and removals. The feature processes JSON files, even those within nested directories, and outputs a structured comparison report.
Steps to Reproduce
Implement the MetadataDiffService class to handle the extraction and comparison of JSON files from ZIP archives.
Set up the MetadataDiffController to expose an endpoint /compare-metadata for comparing two uploaded ZIP files.
Upload two ZIP files containing JSON metadata via the /compare-metadata endpoint.
Trigger the comparison process and observe the JSON difference output.
Expected Behavior
The service should accurately compare the JSON files within the ZIP archives, outputting differences in a structured format that includes:
added: New fields or objects.
modified: Existing fields or objects that have changed.
removed: Fields or objects that were deleted.
The filename should only appear at the top level.
#avniproject/avni-product#1536.
The text was updated successfully, but these errors were encountered: