-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENG-5493][ENG-5412] more helpful trove responses (#820)
[ENG-5493] - fill in `trove/exceptions.py` with situation-specific exception classes - use those specific exceptions thruout trove code - give an appropriate response when those specific exceptions happen while handling a request (currently always in jsonapi) - reduce dead links and other errors when browsing the search api - allow resolving static vocab terms (including "new" static vocabs `skos`, `foaf`, `dc`, `dctype`, `dcam`) - display datatypes for literals - add better search-api tests (with actual search indexes running) - fix broken `next` links with field-specific search ([ENG-5412]) - code cleanup - add `trove.trovesearch` with modules previously at `trove.trovesearch_gathering`, `share.search.search_params`, and `share.search.search_response` - render derived indexcard metadata as rdf literal (except html rendering) -- avoid errors from non-standard "quoted triple" or "quoted graph" - remove `trove.render.osfmap_jsonld` (subsumed by `trove.derive.osfmap_json`) - remove `ingest_rdf_vocabs` management command (unnecessary with "static vocab" update) - rename `...VOCAB` to `...THESAURUS` (not just a set of terms, but a whole rdf graph describing those terms) - remove `trove.util.iri_labeler` (completely replaced by `primitive_rdf.IriShorthand` - consolidate mediatypes as constants in `trove.vocab.mediatypes` - move all "static vocabs" into `trove.vocab.static_vocab` - add `functools.cache` to things that need be computed only once
- Loading branch information
Showing
60 changed files
with
2,681 additions
and
757 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ psycogreen==1.0.2 # BSD | |
psycopg2==2.9.5 # LGPL with exceptions or ZPL | ||
python-dateutil==2.8.1 # Apache 2.0 | ||
PyJWE==1.0.0 # Apache 2.0 | ||
pyshacl==0.22.0 # Apache 2.0 | ||
rdflib==7.0.0 | ||
pyyaml==6.0 # MIT | ||
requests==2.25.1 # Apache 2.0 | ||
sentry-sdk[django]==1.22.2 # MIT | ||
|
@@ -43,4 +43,4 @@ xmltodict==0.12.0 # MIT | |
# Allows custom-rendered IDs, hiding null values, and including data in error responses | ||
git+https://github.com/cos-forks/[email protected]+cos0 | ||
|
||
git+https://github.com/aaxelb/primitive_metadata.git@0.2023.57 | ||
git+https://github.com/aaxelb/primitive_metadata.git@0.2024.09 |
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.