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