Skip to content

Comments

Implement historical way of constructing OCM WebDAV URL #3868

Merged
glpatcern merged 20 commits intocs3org:masterfrom
gmgigi96:webdav_ocm_compliant
May 11, 2023
Merged

Implement historical way of constructing OCM WebDAV URL #3868
glpatcern merged 20 commits intocs3org:masterfrom
gmgigi96:webdav_ocm_compliant

Conversation

@gmgigi96
Copy link
Member

@gmgigi96 gmgigi96 commented May 9, 2023

Expose the expected WebDAV endpoint for OCM by OC10 and Nextcloud as described in cs3org/OCM-API#70 (comment) to allow Reva providers to participate to ScienceMesh.

In addition, expose the OCM discovery endpoint as /ocm-provider at the root level.

Closes #3855

@gmgigi96 gmgigi96 force-pushed the webdav_ocm_compliant branch 2 times, most recently from e2d2dd8 to 0e596be Compare May 10, 2023 11:50
@cs3org cs3org deleted a comment from update-docs bot May 10, 2023
@gmgigi96 gmgigi96 marked this pull request as ready for review May 10, 2023 11:54
@gmgigi96 gmgigi96 requested review from a team, glpatcern and labkode as code owners May 10, 2023 11:54
@gmgigi96 gmgigi96 marked this pull request as draft May 10, 2023 12:21
@gmgigi96 gmgigi96 marked this pull request as ready for review May 10, 2023 12:30
@gmgigi96
Copy link
Member Author

@glpatcern can you update the ocmd example adding the new service please?

@glpatcern glpatcern force-pushed the webdav_ocm_compliant branch from 16dacc7 to 0496332 Compare May 10, 2023 13:51
@glpatcern glpatcern force-pushed the webdav_ocm_compliant branch 2 times, most recently from 00dd78f to 6cac20f Compare May 10, 2023 19:19
Copy link
Member

@glpatcern glpatcern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I tested my part and it's all fine, and I understand that Michiel successfully used the webdav access part, so we are good to go.

The cosmetic changes I propose are just to acknowledge that these are not temporary "fixes" and are there to stay potentially for a long time - at least until there's a OC10 site in ScienceMesh, and NC implements OCM v1.1.

@glpatcern glpatcern force-pushed the webdav_ocm_compliant branch from 6bbbb70 to b0504d9 Compare May 11, 2023 07:06
@gmgigi96 gmgigi96 force-pushed the webdav_ocm_compliant branch from 541a024 to 8b5d251 Compare May 11, 2023 08:47
@glpatcern glpatcern self-requested a review May 11, 2023 09:38
glpatcern
glpatcern previously approved these changes May 11, 2023
@gmgigi96 gmgigi96 force-pushed the webdav_ocm_compliant branch from df8a753 to ca75c78 Compare May 11, 2023 12:28
@glpatcern glpatcern merged commit cfcf976 into cs3org:master May 11, 2023
gmgigi96 added a commit to gmgigi96/reva that referenced this pull request Jun 5, 2023
* adapt webdav ocm endpoint according to historical way of contructing webdav url

* add discovery endpoint in the ocm client

* Make root OCM URLs configurable in /ocm-provider

* add changelog

* fix path for old ocm webdav

* Added reverse proxy for /ocm-provider

* Revert "Added reverse proxy for /ocm-provider"

This reverts commit 1ecb6e4.

* Moved ocm-provider to a new http service

* Updated examples

* Linting

* Simplified ocmprovider and documented config

* Further simplification + relaunching the CI

* Regenerated docs

* Expose OCM as disabled if no endpoint is configured for it

* Update internal/http/services/owncloud/ocdav/propfind.go

Co-authored-by: Giuseppe Lo Presti <[email protected]>

* Update internal/http/services/owncloud/ocdav/dav.go

Co-authored-by: Giuseppe Lo Presti <[email protected]>

* Update internal/http/services/owncloud/ocdav/dav.go

Co-authored-by: Giuseppe Lo Presti <[email protected]>

* Update internal/http/services/owncloud/ocdav/ocdav.go

Co-authored-by: Giuseppe Lo Presti <[email protected]>

* Update internal/http/services/owncloud/ocdav/propfind.go

Co-authored-by: Giuseppe Lo Presti <[email protected]>

* fix support legacy ocm access

---------

Co-authored-by: Giuseppe Lo Presti <[email protected]>
gmgigi96 added a commit to gmgigi96/reva that referenced this pull request Jun 28, 2023
* adapt webdav ocm endpoint according to historical way of contructing webdav url

* add discovery endpoint in the ocm client

* Make root OCM URLs configurable in /ocm-provider

* add changelog

* fix path for old ocm webdav

* Added reverse proxy for /ocm-provider

* Revert "Added reverse proxy for /ocm-provider"

This reverts commit 1ecb6e4.

* Moved ocm-provider to a new http service

* Updated examples

* Linting

* Simplified ocmprovider and documented config

* Further simplification + relaunching the CI

* Regenerated docs

* Expose OCM as disabled if no endpoint is configured for it

* Update internal/http/services/owncloud/ocdav/propfind.go

Co-authored-by: Giuseppe Lo Presti <[email protected]>

* Update internal/http/services/owncloud/ocdav/dav.go

Co-authored-by: Giuseppe Lo Presti <[email protected]>

* Update internal/http/services/owncloud/ocdav/dav.go

Co-authored-by: Giuseppe Lo Presti <[email protected]>

* Update internal/http/services/owncloud/ocdav/ocdav.go

Co-authored-by: Giuseppe Lo Presti <[email protected]>

* Update internal/http/services/owncloud/ocdav/propfind.go

Co-authored-by: Giuseppe Lo Presti <[email protected]>

* fix support legacy ocm access

---------

Co-authored-by: Giuseppe Lo Presti <[email protected]>
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.

Adapt to historical way of constructing WebDAV URL

2 participants