ocis
ocis copied to clipboard
SharingNG: initial OCM support
I just wanted to fix the CI for https://github.com/cs3org/reva/pull/4630, but to debug I had to make graph support OCM so that I could use web to actually send invites, create shares and browse them ...
This is rudimentary, only supports creating and accepting shares. It is a start ...
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.
Quality Gate passed
Issues
9 New issues
0 Accepted issues
Measures
0 Security Hotspots
16.6% Coverage on New Code
22.8% Duplication on New Code
Steps:
- run 2
ocis
instance - in the
ocis1
choosescienceMesh
in the app switcher - generate invitation and copy invite token
- in the
ocis2
enter invite token and click accept invitation
Actual: 401 error. invitation not accepted
log:
2024-06-06T15:34:14+02:00 ERR provider not trusted error="error verifying mesh provider" pkg=rhttp request-id=oC-performance-test-INTEL/K5kV6ZCX3j-000588 service=ocm traceid=de4cb63966b1b4745ff9ca5a642b0273
Steps:
- run 2
ocis
instance- in the
ocis1
choosescienceMesh
in the app switcher- generate invitation and copy invite token
- in the
ocis2
enter invite token and click accept invitationActual: 401 error. invitation not accepted
log:
2024-06-06T15:34:14+02:00 ERR provider not trusted error="error verifying mesh provider" pkg=rhttp request-id=oC-performance-test-INTEL/K5kV6ZCX3j-000588 service=ocm traceid=de4cb63966b1b4745ff9ca5a642b0273
There was config issue. no issue
@butonic can we merge this PR?
Quality Gate passed
Issues
10 New issues
0 Accepted issues
Measures
0 Security Hotspots
16.1% Coverage on New Code
19.9% Duplication on New Code
Rebased. IMO we should merge this as is. It allows developers to actually set up and debug OCM shares. It will allow implementing E2E tests.
The commented code sections point out missing pieces in the CS3 API. I would merge this ASAP to iterate further.