GithubHelp home page GithubHelp logo

asfadmin / discovery-searchapi Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 55.68 MB

ASF SearchAPI

License: BSD 3-Clause "New" or "Revised" License

Python 58.71% Shell 36.32% HTML 3.28% Dockerfile 0.45% Makefile 1.24%

discovery-searchapi's People

Contributors

artisticlight avatar cameronsplaze avatar ccfleming417 avatar dependabot[bot] avatar glshort avatar mshapran avatar spicygarlicalbacoreroll avatar tylercchase avatar williamh890 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

asjohnston-asf

discovery-searchapi's Issues

[Feature] Allow individual search requests to override the CMR `provider` parameter

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 with provider=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 get alidation Error: Unsupported parameter: cmr_provider because the cmr_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 an Unsupported 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.