query functionality for grants in REST API
As a funder, I would like the metadata for my grants to be available via the REST API so that metadata consumers can retrieve data about my grants.
What
Specification for grants query behavior.
Definition of ready
-
Product owner: @ppolischuk1 -
Tech lead: @dtkaczyk -
Service:: label applied -
Definition of done updated -
Acceptance testing plan: staging -
Weight applied
Definition of done
-
Unit tests identified, implemented, and passing -
SONAR on merge request branch checked by tech lead -
SONAR on merge request branch checked by reviewer -
Code reviewed -
Available for acceptance testing via a staging URL, or otherwise -
Consider any impacts to current or future architecture/infrastructure, and update specifications and documentation as needed -
Knowledge base reviewed and updated -
Swagger documentation reviewed and updated -
Education curriculum reviewed and updated -
Acceptance criteria met -
The following fields should be added to the current list of fields searched in works for query
:investigator-names
,funder-name
,project-title
,award-number
,award-start-date
-
The following fields should be added to the current list of fields searched in works for query.bibliographic
:funder-name
,project-title
,award-number
,award-start-date
,investigator-names
-
query.affiliation
should be expanded to search on the grant investigators' affiliation(s) -
query.funder-name
should be expanded to search in the grant funder name (s) -
query.contributor
should be expanded to search in the grant investigators -
add new field :description-text
of typetext
to ES mapping -
description
field, nested in grant/project, is copied to:description-text
using:copy_to
-
-
Acceptance testing passed
Edited by Patrick Polischuk