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

Api creation #1

Merged
merged 48 commits into from
Nov 15, 2024
Merged

Api creation #1

merged 48 commits into from
Nov 15, 2024

Conversation

moonraker595
Copy link
Contributor

This pull request introduces the initial code for the Search API.

Key functionality includes:

  • connecting to an OpenSearch instance to pass the search query to
  • connecting to a Scigateway auth instance to verify the JWT
  • handling search requests through a /search endpoint
  • adding the appropriate filter to the search query, based on the investigations in the JWT metadata.

The stack can be started through the compose file.

Copy link
Contributor

@VKTB VKTB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor suggestions but looks good otherwise. 🎉

.github/workflows/main.yml Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Show resolved Hide resolved
api/auth.py Outdated Show resolved Hide resolved
requirements.txt Outdated Show resolved Hide resolved
moonraker595 and others added 6 commits November 14, 2024 14:14
Co-authored-by: Viktor Bozhinov <45173816+VKTB@users.noreply.github.com>
Co-authored-by: Viktor Bozhinov <45173816+VKTB@users.noreply.github.com>
@moonraker595
Copy link
Contributor Author

Thanks for the review. These are all great comments. I have addressed them all. If it's okay with you, I'll go ahead and merge.

@VKTB
Copy link
Contributor

VKTB commented Nov 15, 2024

Thanks for the review. These are all great comments. I have addressed them all. If it's okay with you, I'll go ahead and merge.

Yes, feel free to do so.

@moonraker595 moonraker595 merged commit acce5e4 into main Nov 15, 2024
2 checks passed
@moonraker595 moonraker595 deleted the api_creation branch November 15, 2024 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants