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

Feat/save result into result store #1570

Merged
merged 22 commits into from
Jan 29, 2025

Conversation

paaragon
Copy link
Collaborator

Summary

This PR continues the use case about saving job results in files instead of database.

This modifies the POST /result endpoint to save the result using the ResultStorare

@Tansito Tansito changed the base branch from main to cos-result January 21, 2025 20:32
@paaragon paaragon marked this pull request as ready for review January 23, 2025 09:25
@Tansito Tansito self-requested a review January 28, 2025 16:13
@Tansito Tansito self-requested a review January 29, 2025 13:53
@Tansito Tansito self-requested a review January 29, 2025 16:50
@Tansito Tansito merged commit c92124e into cos-result Jan 29, 2025
7 checks passed
@Tansito Tansito deleted the feat/save-result-into-result-store branch January 29, 2025 17:02
Tansito added a commit that referenced this pull request Feb 10, 2025
* feat: new ResultStorage class

* fix doc

* fix lint

* Feat/save result into result store (#1570)

* add job access polocies

* fix lint

* apply review suggestions

* fix: create job repository

* fix job id

* fix result asignment

* fix test and lint

* feat: retrieve job results from result storage

* remove result file

* retrieve job results

* apply review suggestions

* fix typo

* add test fake file

* fix test media path for retrieve result

* remove prints

* fix lint

* remove unnecesary file

* revert file deletion

* apply partial review suggestions

* fix serializers

* Feat/remove result from list endpoint (#1577)

* feat: remove result from list endpoint

* fix lint

* move query_set to repository

* refactor jobs queryset to repository

* fix lint

* fix lint

* fix lint

* fix lint

* fix error

* remove filter querset

---------

Co-authored-by: Pablo Aragón <[email protected]>
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