1
0
mirror of https://github.com/cs3org/reva.git synced 2025-04-18 13:44:12 +03:00
reva/examples
Giuseppe Lo Presti bf89ab5b1f
Basic implementation of OCM 1.2 payloads (#5076)
* ocm: adapt to match OCM 1.2 specs, use discovery in all cases when receiving a share

* ocm: some field renames for OCM 1.2, prior to changing the CS3APIs

* Refactored OCM payloads to remove duplicates

* Added ocm 1.2 optional fields (unused for now)

* Enable OCM discovery endpoint for the tests to execute discovery when accepting an OCM share

* tests: use plain logging, not json

* ocm: fixed discovery

* Use new ocm 1.2 fields from CS3APIs

* Implemented caching of the webdav clients for OCM, with fallback to v1.0 access

* changelog

* Use ttlcache as opposed to custom goroutine

* Partially reverted logic to access a remote share, see PR comments

* Proper implementation using the owner's server address

* localfs: added logging

* Fixed example to run standalone OCM tests

* logs for download / upload / move in localfs

* the new entry in .well-known/ocm is now exposed in the config

* nginx: redirect .well-known to revad

---------

Co-authored-by: Jesse Geens <jgeens@cern.ch>
2025-03-18 19:22:21 +01:00
..
2023-07-03 11:00:11 +02:00