-
Notifications
You must be signed in to change notification settings - Fork 32
Introduce links for async jobs actions (hateos style) in webserver #7320
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
Merged
bisgaard-itis
merged 142 commits into
ITISFoundation:master
from
bisgaard-itis:introduce-links-for-webserver-async-jobs
Mar 20, 2025
Merged
Changes from 130 commits
Commits
Show all changes
142 commits
Select commit
Hold shift + click to select a range
024bec7
start adding links to output schemas
bisgaard-itis 1e1a444
add links also to status response
bisgaard-itis 4f42d2c
fix signatures
bisgaard-itis 2022cc4
minor fix
bisgaard-itis 1062013
fix tests
bisgaard-itis 85cb157
add 404 in case result is not done
bisgaard-itis 1a0ae0a
add distribute task queue
giancarloromeo 52d001a
add settings
giancarloromeo 6b2fb6f
update reqs
giancarloromeo eab1aa7
add celery task
giancarloromeo 6767d14
add celery task queue class
giancarloromeo f7ab399
rename
giancarloromeo 9b8c700
make testable
giancarloromeo ac53169
add storage worker
giancarloromeo 2cb3b0f
continue working
giancarloromeo 5a9be83
continue
giancarloromeo 8bf39ff
use rabbit
giancarloromeo 5c38184
continue
giancarloromeo 7395621
continue
giancarloromeo 6445728
add unit tests
giancarloromeo 7557716
continue
giancarloromeo fef45ef
base working tests
giancarloromeo 4b08136
add progress
giancarloromeo 3e189b8
continue fixing
giancarloromeo 992da83
continue fixing
giancarloromeo 52f113b
working
giancarloromeo 1955e9d
continue fix
giancarloromeo fde7387
fix files endpoint
giancarloromeo 7cdf8a2
rename
giancarloromeo 582c537
add healthcheck
giancarloromeo 0c923d2
add settings
giancarloromeo ac93263
remuve unused pytest plugin
giancarloromeo a931d7f
fix tests
giancarloromeo a2e7e9e
add utils
giancarloromeo 94732a4
update utils
giancarloromeo 18452fc
add async interface
giancarloromeo 779e525
add tests
giancarloromeo 3374d22
improve typehint
giancarloromeo 48bfc1d
remove unused
giancarloromeo ae3e0e6
add rabbit
giancarloromeo 66c47f9
update interface
giancarloromeo 9859062
adapt code
giancarloromeo 8ea7362
refactor
giancarloromeo 0b6c986
fix settings
giancarloromeo 8e5a684
add enums
giancarloromeo ac63188
add redis on startup
giancarloromeo f9c3fdf
add enum
giancarloromeo 09b37b4
fix worker startup
giancarloromeo d18d63e
continue
giancarloromeo 9873115
progress not nullable
giancarloromeo 4df9a9d
removed for now
giancarloromeo bb8ee46
typecheck
giancarloromeo 9484ccd
fix tests
giancarloromeo 1369d8d
fix tests
giancarloromeo 7ec5e20
progress
giancarloromeo f7e16f2
improve error handling
giancarloromeo 903e5b4
add task
giancarloromeo 89f1d98
update
giancarloromeo 8ef8118
fix import
giancarloromeo 9ac1d6e
update
giancarloromeo 9277714
add proper exception handling
bisgaard-itis a5d6827
fix start task endpoint
bisgaard-itis 1f558dc
start enhancing tests
bisgaard-itis 66bb387
add test in case of scheduler error
bisgaard-itis c46bc0a
add tests for get_export status
bisgaard-itis 8620972
add tests for get_export status
bisgaard-itis ba809d8
add test for get_status method
bisgaard-itis 50a7bf1
remove db from filename
bisgaard-itis a1e0947
cover all exception cases in result error endpoint
bisgaard-itis 41b3b90
cleanup parametrization
bisgaard-itis 3aa4ef0
handle list_jobs endpoint
bisgaard-itis 4a84997
propagate backend errors to webserver
bisgaard-itis bee9cf0
handle all exception types in test_data_export
bisgaard-itis 4ef3e88
handle different exceptions in test_get_async_jobs_status
bisgaard-itis f6fc5b9
Handle all exceptions in test_abort_async_jobs
bisgaard-itis 723ae64
handle all exception types in test_get_async_job_result
bisgaard-itis 2b6adda
handle all exceptions in test_get_user_async_jobs
bisgaard-itis 54f3d58
parametrize user roles
bisgaard-itis 0708173
update openapi specs with status codes
bisgaard-itis 2f01ba4
only add response types to data_export endpoints
bisgaard-itis 0b6ccfd
add test for hateos links
bisgaard-itis 7765161
Merge branch 'master' into introduce-links-for-webserver-async-jobs
bisgaard-itis 8e44e97
revert unwanted changes after merge
bisgaard-itis 359199a
fix storage settings after rebase
bisgaard-itis bc1d070
regenserate openapi specs
bisgaard-itis fb3cf82
add __init__ file
bisgaard-itis da40501
Merge branch 'master' into introduce-links-for-webserver-async-jobs
bisgaard-itis 8efe566
minor fix
bisgaard-itis 20439ba
add import of SimcoreS3Dsm
bisgaard-itis 59c90b3
make pylint happy
bisgaard-itis 6010f61
@pcrespov remove aiohttp from models library
bisgaard-itis c20806f
fix validation errors
bisgaard-itis 6fdf753
@pcrespov revert changes in storage settings
bisgaard-itis 2d22d65
Merge branch 'master' into introduce-links-for-webserver-async-jobs
bisgaard-itis 45df1ee
Merge branch 'master' into introduce-links-for-webserver-async-jobs
bisgaard-itis 10aab9c
Update packages/models-library/src/models_library/api_schemas_rpc_asy…
bisgaard-itis 8af0068
@sanderegg align status codes between long running tasks and async jobs
bisgaard-itis cc1e57c
fix task name
bisgaard-itis 2e7bd10
fix async job listing signature
bisgaard-itis 02b44f0
update webserver openapi specs
bisgaard-itis ceff8eb
Merge branch 'master' into introduce-links-for-webserver-async-jobs
bisgaard-itis 6e5b186
remove cast
bisgaard-itis 7c04230
merge master into introduce-links-for-webserver-async-jobs
bisgaard-itis dd449b2
adhere to long running tasks interface
bisgaard-itis 842ab75
fix tests
bisgaard-itis 2240282
update openapi specs
bisgaard-itis 9010342
move async jobs endpoints to tasks
bisgaard-itis 902c152
make initial tests pass
bisgaard-itis 1787266
polish list jobs endpoint
bisgaard-itis 30ca456
minor fix
bisgaard-itis c8c46ee
fix tests
bisgaard-itis 9e05a7a
update openapi specs
bisgaard-itis bb32ddc
clean up storage rpc tests
bisgaard-itis f5670f9
merge master into introduce-links-for-webserver-async-jobs
bisgaard-itis 6e837fa
add init file to tasks
bisgaard-itis fb98b97
make mypy happy
bisgaard-itis 46ee24a
merge master into introduce-links-for-webserver-async-jobs
bisgaard-itis 8881c85
fix location_id parametrization of test
bisgaard-itis a305032
make pylint happy
bisgaard-itis 9736c84
update path size computations
bisgaard-itis c4bc27c
remove wrongly commited function
bisgaard-itis 2f2cbb6
merge master into introduce-links-for-webserver-async-jobs
bisgaard-itis b175f85
remove redundant webserver schemas
bisgaard-itis 1d714b8
add test for case when legacy task listing fails
bisgaard-itis 59a607a
add job existence check for abort method
bisgaard-itis e89d397
check job existence in status
bisgaard-itis d550797
add job existence check to result method
bisgaard-itis 6ce3495
fix storage tests
bisgaard-itis 5e6f408
fix
bisgaard-itis 3555b13
merge master into introduce-links-for-webserver-async-jobs
bisgaard-itis b0544bd
fix pylint errors
bisgaard-itis 686c9f1
fix import
bisgaard-itis 43b018e
fix openapi test
bisgaard-itis 0ebfb6c
@GitHK use TypeAdapter
bisgaard-itis 6be292e
@GitHK _type -> selection_type
bisgaard-itis 93fb7ca
to_check -> selection_type @GitHK
bisgaard-itis f49ab7c
@GitHK remove comment
bisgaard-itis ef97f04
make pylint happy
bisgaard-itis 26d92f1
add comment for future improvement
bisgaard-itis 97f641e
@sanderegg renmaing rpc methods
bisgaard-itis f581b63
consolidate test files @sanderegg
bisgaard-itis 253f65f
merge master into introduce-links-for-webserver-async-jobs
bisgaard-itis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bisgaard-itis marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.