Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As a web developer, I want to access read-only any feature provided by opensearch #433

Open
tloubrieu-jpl opened this issue Apr 23, 2024 · 1 comment
Assignees
Labels

Comments

@tloubrieu-jpl
Copy link
Member

Checked for duplicates

No - I haven't checked

πŸ§‘β€πŸ”¬ User Persona(s)

Web developer, eventually the code running in web browser for any anonymous user.

πŸ’ͺ Motivation

...so that a web user can access anonymously the content of the registry with the filtering features of opensearch.

πŸ“– Additional Details

The registry-api will have an additional endpoint which will securely forward queries to OpenSearch and return the response to the users.

Acceptance Criteria

Given an opensearch POST query
When I perform this query through the registry-api
Then I expect to get the opensearch result

Example POST query:

{
  "from": 0,
  "size": 9999,
  "query": {
    "wildcard": {
      "lid": {
        "value": "urn:*:investigation:*"
      }
    }
  }
}

TO BE DONE: add an example of query which would be rejected.

βš™οΈ Engineering Details

No response

@tloubrieu-jpl
Copy link
Member Author

Started but does not work yet. On hold since the regular API works for the web modernization project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: ToDo
Development

No branches or pull requests

2 participants