-
Notifications
You must be signed in to change notification settings - Fork 17
Search component #3878
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
base: main
Are you sure you want to change the base?
Search component #3878
Conversation
|
NOTE: as decided in today's ORT Server Community Meeting, this PR will stay on hold until after the new authorization concept is fully merged (it needs then some changes to permissions handling and filtering the search results). Meanwhile, I am still open to general review comments regarding my PR. |
.gitignore
Outdated
| .bmad-core/ | ||
| .gemini/ | ||
| .github/chatmodes/ | ||
| docs/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe that ignoring a "docs" directory is too generic.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That .gitignore change is old anyway, so I will remove the corr. documents and remove the commit.
Signed-off-by: Jyrki Keisala <[email protected]>
The helper function simplifies testing of search service. Signed-off-by: Jyrki Keisala <[email protected]>
Signed-off-by: Jyrki Keisala <[email protected]>
Signed-off-by: Jyrki Keisala <[email protected]>
05e5494 to
12a72f6
Compare
This PR introduces a new component "search", which is implemented with the sliced architecture. Initial implementation for the service and endpoint returns a list of all ORT run ids which include a given ORT ID. The service can later on be extended to other search functionality, for example to provide all products/repositories that are affected by a given vulnerability.
Details:
productIdbut without a givenorganizationIdregExbased, so for example substring of a package ID can be usedPlease see the commits for details.