-
Notifications
You must be signed in to change notification settings - Fork 27
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
Is2911/fix delete project #2967
Is2911/fix delete project #2967
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2967 +/- ##
======================================
Coverage 79.6% 79.6%
======================================
Files 681 683 +2
Lines 28417 28504 +87
Branches 3661 3671 +10
======================================
+ Hits 22622 22692 +70
- Misses 5027 5043 +16
- Partials 768 769 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
8aa12aa
to
060cac4
Compare
b596b4d
to
3db78ae
Compare
services/web/server/src/simcore_service_webserver/projects/_delete.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/projects/_delete.py
Outdated
Show resolved
Hide resolved
b30e67b
to
b739a3d
Compare
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.
Thanks a lot for this contribution! Nice! :--)
services/web/server/src/simcore_service_webserver/projects/projects_api.py
Show resolved
Hide resolved
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.
👍 Thanks for this.
services/web/server/src/simcore_service_webserver/projects/_delete.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/projects/_delete.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/projects/projects_api.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/projects/projects_api.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/projects/projects_exceptions.py
Outdated
Show resolved
Hide resolved
services/web/server/tests/unit/with_dbs/02/test_projects_delete.py
Outdated
Show resolved
Hide resolved
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.
Saw it working 👌
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.
thanks for the putting this together - definitely much needed!
57bf7a6
to
7a7863e
Compare
services/web/server/src/simcore_service_webserver/projects/_delete.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/projects/_delete.py
Outdated
Show resolved
Hide resolved
d9482b6
to
0b2a4f9
Compare
0b2a4f9
to
3db6293
Compare
c01eb9f
to
2806481
Compare
What do these changes do?
New project deletion takes the following steps:
trashed
)trashed
)The key difference is that now the project is deleted last which keeps all the access-rights information necessary to perform the deletion in storage.
NEXT: A follow up to this case will be a trash for projects ITISFoundation/osparc-issues#468. There we will also extend delete workflows and integration tests.
Misc
test_garbage_collector
as well as some logs in gc plugin.projects_handler
since >500 linesRelated issue/s
How to test
Manual testing
NOTE: will provide an internal entrypoint for testing on Friday
Automatic CI
will run