[
https://issues.apache.org/jira/browse/AIRAVATA-3342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcus Christie updated AIRAVATA-3342:
--------------------------------------
Description:
An initial version of the user file management aspects of the SDK were
implemented in the maptool custom Django app:
https://github.com/SciGaP/simccs-maptool/blob/dev/simccs_maptool/django_airavata_sdk.py
The API need not have exactly the same signature, but that implementation
should make clear the kind of functionality that should be offered.
TODO
- [ ] put the airavata_python_sdk into a module? Right now the top level
modules are `clients`, `samples`, `transport`. Also the there is a `build`
directory there with duplicates of the python modules?
- [ ] generate documentation for public API
- [ ] document in the README how to generate the documentation
- -[ ] have django_airavata_api.User_Files extend sdk's UserFiles and might as
well set the {{settings.USER_FILES_MODEL}}-
- [x] switch airavata-django-portal code over to using SDK
- [x] move data_products_helper tests to SDK
- -[ ] access control? how to determine if user has access to files?-
-- honestly not sure what I meant by this
- [ ] setup apache repo to push the sdk to
- [x] make the SDK a proper Django app, this will ease testing and integration
was:
An initial version of the user file management aspects of the SDK were
implemented in the maptool custom Django app:
https://github.com/SciGaP/simccs-maptool/blob/dev/simccs_maptool/django_airavata_sdk.py
The API need not have exactly the same signature, but that implementation
should make clear the kind of functionality that should be offered.
TODO
- [ ] put the airavata_python_sdk into a module? Right now the top level
modules are `clients`, `samples`, `transport`. Also the there is a `build`
directory there with duplicates of the python modules?
- [ ] generate documentation for public API
- -[ ] have django_airavata_api.User_Files extend sdk's UserFiles and might as
well set the {{settings.USER_FILES_MODEL}}-
- [x] switch airavata-django-portal code over to using SDK
- [x] move data_products_helper tests to SDK
- -[ ] access control? how to determine if user has access to files?-
-- honestly not sure what I meant by this
- [ ] setup apache repo to push the sdk to
- [x] make the SDK a proper Django app, this will ease testing and integration
> Implement SDK function for managing user storage
> ------------------------------------------------
>
> Key: AIRAVATA-3342
> URL: https://issues.apache.org/jira/browse/AIRAVATA-3342
> Project: Airavata
> Issue Type: Sub-task
> Reporter: Marcus Christie
> Assignee: Marcus Christie
> Priority: Major
>
> An initial version of the user file management aspects of the SDK were
> implemented in the maptool custom Django app:
> https://github.com/SciGaP/simccs-maptool/blob/dev/simccs_maptool/django_airavata_sdk.py
> The API need not have exactly the same signature, but that implementation
> should make clear the kind of functionality that should be offered.
> TODO
> - [ ] put the airavata_python_sdk into a module? Right now the top level
> modules are `clients`, `samples`, `transport`. Also the there is a `build`
> directory there with duplicates of the python modules?
> - [ ] generate documentation for public API
> - [ ] document in the README how to generate the documentation
> - -[ ] have django_airavata_api.User_Files extend sdk's UserFiles and might
> as well set the {{settings.USER_FILES_MODEL}}-
> - [x] switch airavata-django-portal code over to using SDK
> - [x] move data_products_helper tests to SDK
> - -[ ] access control? how to determine if user has access to files?-
> -- honestly not sure what I meant by this
> - [ ] setup apache repo to push the sdk to
> - [x] make the SDK a proper Django app, this will ease testing and integration
--
This message was sent by Atlassian Jira
(v8.3.4#803005)