Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
feat(api-v2): Return events describing version history of resources a…
…nd values of a project ordered by data (DSP-1528) (#1844) * feature(api-v2): route to get history of resources within project + message tests * feat(api-v2): add templates for getting all resources of a project * refactor(api-v2): rename twirl templates for getting resources of a project by class * test(api-v2): tests for returning resource IRIs of a project * fix(application.conf): increase TCP connecting-timeout * feat (api-v2): return version history of all resources in a project * feat(api-v2): get full representation of each resource in each time stamp in its history * feat(api-v2): model event for response * feat (histEvent): return a createResource event for each resource within a project as it was initially created * fix (historyEvents): fix test * feat(historyEvents): extract full value histories * feat (historyEvents): return create/update/delete events for values of a resource * feat (historyEvents): update Permission event * fix (historyEvent) use isAfter method of instant * fix(testData): creation date of the resource a-thing-picture cannot be after creationdate of its values * feat(historyEvents): return all resource and value histories of a project as events * feat (historyEvents): sort events by date * feat(historyEvent) serialize project history response as JSONLD * feat(historyEvent): return deleted values as part of full representation if asked, make delete events for them * test(historyEvent): e2e test * test (historyEvent): test for serialization of event metadata * test (historyEvents): e2e test * feat(historyEvent): serialize value contents * fix (historyEvent): fix the failing test * refactor (historyEvent): some refactoring and clean up * docs(historyEvent): add documentation * fix (historyEvents): fix the failing test * fix (historyEvent): fix the remaining wrong dates * refactor(historyEvents): some restructuring * feat(historyEvent): create an event for a deleted resource * feat (historyEvent): return delete comment when getting the full representation of the resource * fix (historyEvent): fix the build problem * refactor (docs): clean up documentation Co-authored-by: Benjamin Geer <benjaminlewis.geer@unibas.ch>
- Loading branch information
1 parent
d8dbb4f
commit 84f7c14
Showing
32 changed files
with
1,434 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.