[Feature] Allow individual search requests to override the CMR provider
parameter
#642
Labels
enhancement
New feature or request
provider
parameter
#642
Is your feature request related to a problem? Please describe.
I'd like to prototype how a new data set might be integrated with Vertex and the search API. ASF develops new data sets under the ASFDEV provider in https://cmr.uat.asf.alaska.edu. While API deployments integrated with CMR UAT are available, they all perform searches using
provider=ASF
. In order to evaluate how my new data set appears in search results, I have to run my own copy of the API configured withprovider=ASFDEV
.Describe the solution you'd like
Provide a search parameter allowing users to override the CMR provider value in individual search requests.
I see code supporting a
cmr_provider
query parameter for/services/search/param
at https://github.com/asfadmin/Discovery-SearchAPI/blob/devel/SearchAPI/CMR/Query.py#L21 . However, when including that parameter in a search request, I getalidation Error: Unsupported parameter: cmr_provider
because thecmr_provider
keyword is not including in the input map at https://github.com/asfadmin/Discovery-SearchAPI/blob/devel/SearchAPI/CMR/Translate/input_map.py .https://api-test.asf.alaska.edu/services/search/param?processingLevel=S1_SLC_BURSTS&output=count&cmr_provider=ASFDEV
Non-production copies of Vertex appear to already support for setting the
cmr_provider
value in a custom environment, but they also receive anUnsupported parameter
error when making such queries to the search api.Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: