8000 Import EOS driver from Reva by jessegeens · Pull Request #1 · cs3org/eos-reva-plugin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Import EOS driver from Reva #1

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

Merged
merged 1,493 commits into from
Apr 11, 2025
Merged

Import EOS driver from Reva #1

merged 1,493 commits into from
Apr 11, 2025

Conversation

jessegeens
Copy link
Contributor

EOS was factored out of github.com/cs3org/reva to become a separate reva plugin

dependabot bot and others added 30 commits April 11, 2025 14:49
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.27.6 to 1.27.10.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](onsi/gomega@v1.27.6...v1.27.10)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/google/uuid/releases)
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md)
- [Commits](google/uuid@v1.3.0...v1.3.1)

---
updated-dependencies:
- dependency-name: github.com/google/uuid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/prometheus/alertmanager](https://github.com/prometheus/alertmanager) from 0.25.1 to 0.26.0.
- [Release notes](https://github.com/prometheus/alertmanager/releases)
- [Changelog](https://github.com/prometheus/alertmanager/blob/main/CHANGELOG.md)
- [Commits](prometheus/alertmanager@v0.25.1...v0.26.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/alertmanager
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/studio-b12/gowebdav](https://github.com/studio-b12/gowebdav) from 0.0.0-20230203202212-3282f94193f2 to 0.9.0.
- [Release notes](https://github.com/studio-b12/gowebdav/releases)
- [Commits](https://github.com/studio-b12/gowebdav/commits/v0.9.0)

---
updated-dependencies:
- dependency-name: github.com/studio-b12/gowebdav
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/ceph/go-ceph](https://github.com/ceph/go-ceph) from 0.15.0 to 0.23.0.
- [Release notes](https://github.com/ceph/go-ceph/releases)
- [Changelog](https://github.com/ceph/go-ceph/blob/master/docs/release-process.md)
- [Commits](ceph/go-ceph@v0.15.0...v0.23.0)

---
updated-dependencies:
- dependency-name: github.com/ceph/go-ceph
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…4175)

Bumps [github.com/asim/go-micro/plugins/events/nats/v4](https://github.com/asim/go-micro) from 4.0.0-20220118152736-9e0be6c85d75 to 4.7.0.
- [Release notes](https://github.com/asim/go-micro/releases)
- [Changelog](https://github.com/go-micro/go-micro/blob/master/CHANGELOG.md)
- [Commits](https://github.com/asim/go-micro/commits/v4.7.0)

---
updated-dependencies:
- dependency-name: github.com/asim/go-micro/plugins/events/nats/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/beevik/etree](https://github.com/beevik/etree) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/beevik/etree/releases)
- [Changelog](https://github.com/beevik/etree/blob/main/RELEASE_NOTES.md)
- [Commits](beevik/etree@v1.1.0...v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/beevik/etree
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.11.2 to 10.15.4.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](go-playground/validator@v10.11.2...v10.15.4)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…227)

Bumps [github.com/thanhpk/randstr](https://github.com/thanhpk/randstr) from 1.0.4 to 1.0.6.
- [Commits](thanhpk/randstr@v1.0.4...v1.0.6)

---
updated-dependencies:
- dependency-name: github.com/thanhpk/randstr
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Do not cd to user home if user homes are disabled

* Simplify uploads

* Stat shadow folders before creating them

* Clean up chunked upload

* Fix panic on shutdown

* Changelog

* Check type before cache eviction

Co-authored-by: Gianmaria Del Monte <g.macmount@gmail.com>

* Continue on stat permission denied

---------

Co-authored-by: Gianmaria Del Monte <g.macmount@gmail.com>
* Routing tree

* Routing tree tests

* User rewriter

* Dynamic storage provider

* Add dynamic storage provider to loader

* Changelog

* Linting

* Remove mount type row from routing table

* Apply suggestions from code review

Co-authored-by: Gianmaria Del Monte <g.macmount@gmail.com>

* Fix GetHome and FindProviders

Co-authored-by: Gianmaria Del Monte <g.macmount@gmail.com>

* Linting

* Return also ProviderPath when resolving providers

* Tests for dynamic provider

* Add initialization tests

* Fix adding a/a paths

* Use ShiftPath instead of strings.Split

---------

Co-authored-by: Gianmaria Del Monte <g.macmount@gmail.com>
* remove unused fs and tracing

* add helloworld example and fix auth logic to bail out early

* remove hack on appctx and add traceid

* configurable prom collectors

* grpc reflection working

* wire http traffic

* intrument outgoing grpc calls

* add stuff

* merge appctx and ctx

* refactor rhttp to httpclient

* tidy go.mod

* remove drone tests

* add changelog

* fix test

* go 1.21

* pass tests

* fix sql tests

* go fmt

* more linters

* make all linters happy

* update docs

* add back ceph example

* remove otelhttp library

* remove files and add tests

* align with upstream
* For GRPC to EOS use the app context, not the passed one

* Refresh compiling the eosgrpc proto

* eos_grpc: small fixes

* Add teststorageperf reva shell command

* Refurbish the grpc and http plugins for eos

* Add README for how to compile the grpc intf to eos

* Add test self-referential release note

* Modify test self-referential release note

* Modify test self-referential release note

* Cosmetics

* NSRequests: use the background context to avoid grpc ugly bug

* Fix lint warning

* Close the body of an http get when not needed anymore

* Fix lint warning

* Set cmd timeout to 15s (allows uploading larger files to loaded servers)

* eosgrpc: use a clean context derived from the original one

* Makefile: use gaia to build revad

* Fix lint warning

* Add new target cernbox-revad, using gaia to build revad

* go lint-fix

* Update Makefile

Co-authored-by: Gianmaria Del Monte <39946305+gmgigi96@users.noreply.github.com>

---------

Co-authored-by: Fabrizio Furano <fabrizio.furano@gmail.com>
Co-authored-by: Gianmaria Del Monte <g.macmount@gmail.com>
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.11.0 to 0.13.0.
- [Commits](golang/oauth2@v0.11.0...v0.13.0)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/rs/cors](https://github.com/rs/cors) from 1.9.0 to 1.10.1.
- [Release notes](https://github.com/rs/cors/releases)
- [Commits](rs/cors@v1.9.0...v1.10.1)

---
updated-dependencies:
- dependency-name: github.com/rs/cors
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [go.step.sm/crypto](https://github.com/smallstep/crypto) from 0.35.0 to 0.36.0.
- [Release notes](https://github.com/smallstep/crypto/releases)
- [Commits](smallstep/crypto@v0.35.0...v0.36.0)

---
updated-dependencies:
- dependency-name: go.step.sm/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.15.0 to 0.17.0.
- [Commits](golang/net@v0.15.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…(#4260)

Bumps [github.com/mileusna/useragent](https://github.com/mileusna/useragent) from 1.2.1 to 1.3.4.
- [Release notes](https://github.com/mileusna/useragent/releases)
- [Commits](mileusna/useragent@v1.2.1...v1.3.4)

---
updated-dependencies:
- dependency-name: github.com/mileusna/useragent
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](prometheus/client_golang@v1.16.0...v1.17.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
….0 (#4262)

Bumps [go.opentelemetry.io/otel/trace](https://github.com/open-telemetry/opentelemetry-go) from 1.18.0 to 1.19.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go@v1.18.0...v1.19.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/trace
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.28.0 to 1.31.0.
- [Release notes](https://github.com/rs/zerolog/releases)
- [Commits](rs/zerolog@v1.28.0...v1.31.0)

---
updated-dependencies:
- dependency-name: github.com/rs/zerolog
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.58.0 to 1.58.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.0...v1.58.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.3.0 to 0.4.0.
- [Commits](golang/sync@v0.3.0...v0.4.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fixes on the auth interceptors, WIP

* bail out on grpc unprotected methods

* Expose public endpoints for the gateway

* allow only one trailing slash in skip logic

* add changelog

* fix comments

* fix changelog typo

---------

Co-authored-by: Hugo Gonzalez Labrador <github@hugo.labkode.com>
* Refactoring

* Implemented locking for CephFS

* Minor alignments in the EOS driver

* Cleanup

* Alternate implementation of GetLock

* Applied suggestions

Co-authored-by: Javier Ferrer <javilol@gmail.com>

* Applied suggestions

Co-authored-by: Javier Ferrer <javilol@gmail.com>

* Applied suggestions

Co-authored-by: Javier Ferrer <javilol@gmail.com>

* Applied suggestions

Co-authored-by: Javier Ferrer <javilol@gmail.com>

* Applied suggestions

Co-authored-by: Javier Ferrer <javilol@gmail.com>

* Further fixes

---------

Co-authored-by: Javier Ferrer <javilol@gmail.com>
* removed unused code + fix ocm http service name

* register sql preference's driver

* add changelog

* fix ocm http service name

* renamed ocm service in integration tests
dependabot bot and others added 29 commits April 11, 2025 14:49
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.23.0 to 10.25.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](go-playground/validator@v10.23.0...v10.25.0)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.25.0 to 0.26.0.
- [Commits](golang/oauth2@v0.25.0...v0.26.0)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/go-chi/chi/releases)
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md)
- [Commits](go-chi/chi@v5.2.0...v5.2.1)

---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.20.5 to 1.21.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](prometheus/client_golang@v1.20.5...v1.21.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.10.0 to 0.11.0.
- [Commits](golang/sync@v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.69.4 to 1.70.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.69.4...v1.70.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/beevik/etree](https://github.com/beevik/etree) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/beevik/etree/releases)
- [Changelog](https://github.com/beevik/etree/blob/main/RELEASE_NOTES.md)
- [Commits](beevik/etree@v1.4.1...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/beevik/etree
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#5086)

Bumps google.golang.org/protobuf from 1.36.4 to 1.36.5.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.70.0 to 1.71.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.70.0...v1.71.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.21.0 to 1.21.1.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](prometheus/client_golang@v1.21.0...v1.21.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* 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>
… link video previews, returned a 416 response, causing the video player to break
@jessegeens jessegeens merged commit 718a790 into main Apr 11, 2025
0 of 2 checks passed
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.

8 participants
0