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

[WiP] OCM #30

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft

[WiP] OCM #30

wants to merge 10 commits into from

Conversation

michielbdejong
Copy link
Member

Work-in-progress branch for OCM test suite.

@michielbdejong michielbdejong marked this pull request as draft December 16, 2020 10:31
@michielbdejong
Copy link
Member Author

Containers building

  • ownCloud
  • Nextcloud
  • Seafile

Basic discovery test passing

  • ownCloud
  • Nextcloud
  • Seafile

Manually tested on localhost

  • ownCloud -> ownCloud
  • ownCloud -> Nextcloud
  • ownCloud -> Seafile
  • Nextcloud -> ownCloud
  • Nextcloud -> Nextcloud
  • Nextcloud -> Seafile
  • Seafile -> ownCloud
  • Seafile -> Nextcloud
  • Seafile -> Seafile

@michielbdejong
Copy link
Member Author

I'll also create an ocm-stub server which I can use as a communication partner in the tests.

Manually test sending to ocm-stub

  • ownCloud
  • Nextcloud
  • Seafile

Manually test receiving from ocm-stub

  • ownCloud
  • Nextcloud
  • Seafile

@michielbdejong
Copy link
Member Author

Not sure what --network=testnet -p $2:$2 does but it does seem the servers work on localhost despite the --network=testnet.

Discovery:

curl -H "Accept:application/json" http://localhost:8080/ocm-provider/
{"enabled":true,"apiVersion":"1.0-proposal1","endPoint":"http:\/\/localhost:8080\/apps\/federatedfilesharing","shareTypes":[{"name":"file","protocols":{"webdav":"\/public.php\/webdav\/"}}]}

Works for ownCloud (http://localhost:8080) but not for Nextcloud (https://localhost) or Seafile (http://localhost).
For Nextcloud it works inside the testnet though.

@michielbdejong
Copy link
Member Author

Base automatically changed from master to main March 2, 2021 12:18
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.

1 participant