You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2021/06/25 19:17:05 UTC
[airavata-django-portal-sdk] branch master updated (b79cd5c ->
d437dca)
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal-sdk.git.
from b79cd5c prep for 1.0 release
add c687b45 WIP: UserStorageProvider abstraction
add 58ff63c AIRAVATA-3420 Implements DjangoFileSystemProvider, refactored user_storage module to use UserStorageProvider
add d785896 AIRAVATA-3420 Implement browsing methods of MFTUserStorageProvider
add c80aa13 AIRAVATA-3420 Implementing get_download_url, moving download view to sdk
add c0b9ef8 AIRAVATA-3420 Fix content type determination by switching to UserStorageProvider.open
add 87b33a1 AIRAVATA-3420 Revert download url change
add 197731f AIRAVATA-3420 /sdk/download redirects to the download url
add 31d2d07 AIRAVATA-3420 For backwards compat, keep file hidden attribute
add dc30954 AIRAVATA-3420 Fix unit tests
add c19c2c6 AIRAVATA-3420 Fixing linting, clean up
add 1e4970c AIRAVATA-3420 Adding resource id to UserFiles model
add a5f2d0c AIRAVATA-3420 Updating docs
add 296874b AIRAVATA-3420 Fix flake8 incompatible dependencies
add c8cacc2 AIRAVATA-3420 Only load MFTUserStorageProvider if dependencies are also available
add 7d06516 AIRAVATA-3420 For backwards compat, keep file hidden attribute
add e02efcc AIRAVATA-3458 Get file metadata for a data product
add 2f981eb AIRAVATA-3458 Add gzip compression to download
add 21119c5 AIRAVATA-3420 Handle special case of creating user's home directory
add 3c3fb34 AIRAVATA-3420 import style fix
add e14b830 AIRAVATA-3362 Make sure experiment storage path is relative to experiment data dir
add 4d4b847 AIRAVATA-3420 Return full path to created directory
add b840ef0 Fixing linting error (trailing ws)
add 76f44b1 In remote API `exists()`, handle case where data product itself doesn't exist
add f1cbe97 AIRAVATA-3458 Support get_data_product_metadata when user isn't owner
add 8b9e926 AIRAVATA-3420 Fix remote api mode of create_user_dir to return resource id, path tuple
add 54914bc AIRAVATA-3460 Pass path as request param
add 4a981ae AIRAVATA-3420 Pass experiment owner to user storage provider backend
add 6672f54 AIRAVATA-3420 Add token based auth for downloads
add 7cb087c AIRAVATA-3420 backwards compatible /api/download
add 5d0f4e5 AIRAVATA-3420 Fix dependency on DRF
add 3ac051a Revert "AIRAVATA-3460 Pass path as request param"
add 45bfff1 AIRAVATA-3420 Check if 'path' in create directory response
add 9fef525 Merge branch 'master' into mft-integration
add a8f80a1 AIRAVATA-3420 Bump version to 1.1dev1
add 5242c0e AIRAVATA-3420 Add get_lazy_download_url
add 28ca541 AIRAVATA-3469 Download storage dir and experiment dir
add f93bb94 AIRAVATA-3469 Switch to temporary file for building zip file
add e703bd7 Merge branch 'download-folder'
add d437dca AIRAVATA-3469 Bump version to 1.1.dev2
No new revisions were added by this update.
Summary of changes:
.../migrations/0002_userfiles_file_resource_id.py | 29 +
airavata_django_portal_sdk/models.py | 4 +
airavata_django_portal_sdk/urls.py | 17 +-
airavata_django_portal_sdk/user_storage.py | 999 -------------------
.../user_storage/__init__.py | 57 ++
airavata_django_portal_sdk/user_storage/api.py | 884 ++++++++++++++++
.../user_storage/backends/CredCommon_pb2.py | 306 ++++++
.../user_storage/backends/CredCommon_pb2_grpc.py | 4 +
.../user_storage/backends/MFTApi_pb2.py | 1051 ++++++++++++++++++++
.../user_storage/backends/MFTApi_pb2_grpc.py | 297 ++++++
.../user_storage/backends/__init__.py | 10 +
.../user_storage/backends/base.py | 74 ++
.../backends/django_filesystem_provider.py | 297 ++++++
.../user_storage/backends/mft_provider.py | 245 +++++
airavata_django_portal_sdk/util.py | 7 +-
airavata_django_portal_sdk/views.py | 104 ++
docs/index.md | 17 +-
requirements-dev.txt | 1 +
requirements.txt | 10 +-
setup.cfg | 4 +-
setup.py | 5 +-
tests/test_user_storage.py | 9 +-
22 files changed, 3412 insertions(+), 1019 deletions(-)
create mode 100644 airavata_django_portal_sdk/migrations/0002_userfiles_file_resource_id.py
delete mode 100644 airavata_django_portal_sdk/user_storage.py
create mode 100644 airavata_django_portal_sdk/user_storage/__init__.py
create mode 100644 airavata_django_portal_sdk/user_storage/api.py
create mode 100644 airavata_django_portal_sdk/user_storage/backends/CredCommon_pb2.py
create mode 100644 airavata_django_portal_sdk/user_storage/backends/CredCommon_pb2_grpc.py
create mode 100644 airavata_django_portal_sdk/user_storage/backends/MFTApi_pb2.py
create mode 100644 airavata_django_portal_sdk/user_storage/backends/MFTApi_pb2_grpc.py
create mode 100644 airavata_django_portal_sdk/user_storage/backends/__init__.py
create mode 100644 airavata_django_portal_sdk/user_storage/backends/base.py
create mode 100644 airavata_django_portal_sdk/user_storage/backends/django_filesystem_provider.py
create mode 100644 airavata_django_portal_sdk/user_storage/backends/mft_provider.py
create mode 100644 airavata_django_portal_sdk/views.py