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

Implementation of WebDAV Adapter for Nextcloud Integration #205

Open
wants to merge 3 commits into
base: nextcloud
Choose a base branch
from

Conversation

karankotz
Copy link

@karankotz karankotz commented Aug 4, 2018

This pull request is for the addition of the WebDAV adapter in the apache airavata to support the integration of the nextcloud. The first part changes are made to support the data movement to the nextcloud via WebDAV adapter in the airavata api-orchestrator.

The following changes are made -

  • Addition of the new data movement protocol in data_movement_model of the resource_catalog_models.

  • Implemented new data movement model WebDAVDataMovement in the airavata-data-models

  • Added the following methods to the airavata-api and registry-api (specifically in airavataserverhandler and registryserverhandler)
    --addWebDAVDataMovementDetails(..)
    --updateWebDAVDataMovementDetails(..)
    --getWebDAVDataMovement(..)

  • Implemented the following methods for the ComputeResource interface.
    --addWebDAVDataMovementDetails(..)
    --getWebDAVDataMovement(..)

  • Made changes in the AppCatalogJPAUtils, AppCatalogResourceType, AppCatalogThriftConversion to support the WebDAV adapter in the airavata-registry-core.

  • Added the WebDavDataMovementResource in the app catalog resources of airavata-registry-core.

  • Added the WebDavDataMovement model in the app catalog model of the airavata-registry-core.

  • Created the sample test case addWebDavStorageResourceTest() in the StorageResourceAppCatalogTest class of the airavata-registry-core.

  • The further changes are yet to be updated in the helix module with the WebDAV adapter (Added in the commit f15dfc2).

  • The helix module has been added with the WebDAV adaptor.
    The WebDAV adaptor is used to connect to the nextcloud instance and upload the output files
    generated by the compute resource to the nextcloud server.

@karankotz karankotz changed the title Implemented WebDAV Adapter Implementation of WebDAV Adapter (In progress) Aug 4, 2018
@karankotz karankotz changed the title Implementation of WebDAV Adapter (In progress) Implementation of WebDAV Adapter Aug 4, 2018
@karankotz karankotz changed the title Implementation of WebDAV Adapter Implementation of WebDAV Adapter for Nextcloud Integration Aug 4, 2018
@machristie
Copy link
Contributor

Looks good but the registry changes should be in the registry-refactoring module instead of registry-core.

@karankotz
Copy link
Author

@machristie There is no registry-refactoring module, this branch was built from the staging branch, do you have any suggestions to achieve this?

@machristie
Copy link
Contributor

If this branch were based on develop then it would have the registry-refactoring module. Is there a reason it is based on staging?

@karankotz
Copy link
Author

@machristie As discussed these changes will currently stay on this branch and will need be merged later with the registry-refactoring module of the develop branch.

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