Remove extraneous funder filters that are implemented in staging rest api.
There are extra funder filters implemented on staging that are not in production. In the interests of feature parity, remove the filters child
, ancestor
, parent
, and descendant
.
In staging on the develop
branch in src/cayenne/api/v1/filter.clj
(def funder-filters
{"location" (equality :country)
"child" (equality :child :transformer doi-id/with-funder-prefix)
"ancestor" (equality :ancestor :transformer doi-id/with-funder-prefix)
"parent" (equality :parent :transformer doi-id/with-funder-prefix)
"descendant" (equality :descendant :transformer doi-id/with-funder-prefix)})
In production on the master
branch in src/cayenne/api/v1/filter.clj
(def funder-filters
{"location" (mongo-equality "country")})
Definition of ready
-
Product owner: @ppolischuk1 -
Tech lead: @dtkaczyk -
Service:: label applied -
Definition of done updated -
Weight applied
Definition of done
-
Available via a staging URL -
Code reviewed -
Public documentation reviewed and updated, confirm removed from swagger-generated docs -
Knowledge base reviewed and updated -
Consider any impacts to current or future architecture/infrastructure, and update specifications and documentation as needed -
Acceptance criteria met -
The following funder filters are removed from the elasticsearch branch: child
,ancestor
,parent
, anddescendant
-
Edited by Patrick Polischuk