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

Get projects for run #2039

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Juli0q
Copy link
Contributor

@Juli0q Juli0q commented Feb 18, 2025

Introduce a new endpoint to retrieve the projects associated with an ORT run.

To enable sorting on the primary key column, the helper variable sortableId is introduced by wrapping the default id column with the sortable() extension. This change allows the primary key to be sorted in queries just like any other column. Every other column in the table is not unique.

Resolves #1613

@Etsija
Copy link
Contributor

Etsija commented Feb 18, 2025

This should be linked to #1613.

@Juli0q Juli0q force-pushed the get-projects-for-run branch 3 times, most recently from 558299b to 9c98c75 Compare February 19, 2025 11:14
Provide the logic and persistence support to retrieve projects
for an ORT run. This change implements the project service, extends the
 DAO layer for sorting support, and includes tests to validate the
 service behavior.

Signed-off-by: Julian Olderdissen <[email protected]>
Introduce a new API endpoint to expose project data for an ORT run. This
 change defines the API model, mapping, route, and documentation
 necessary to support clients retrieving projects.

Resolves eclipse-apoapsis#1613.

Signed-off-by: Julian Olderdissen <[email protected]>
@Juli0q Juli0q force-pushed the get-projects-for-run branch from 9c98c75 to 9c1d17b Compare February 20, 2025 10:49
@Juli0q Juli0q marked this pull request as ready for review February 20, 2025 10:54
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.

Add an API endpoint to get the projects found in a run
2 participants