Switch from ocis/s3ng to decomposed/decomposed_s3 storage drivers

ocis/s3ng are still supported for backwards compatibility reasons, but
they need to be configured using the decomposed/decomposed_s3 options.
This commit is contained in:
André Duffeck
2025-01-24 11:04:23 +01:00
parent e428d56443
commit 57fa8eb43c
24 changed files with 331 additions and 318 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ import (
"strings"
"sync"
"github.com/opencloud-eu/reva/v2/pkg/storage/utils/decomposedfs/node"
"github.com/opencloud-eu/reva/v2/pkg/storage/pkg/decomposedfs/node"
"github.com/shamaton/msgpack/v2"
)
@@ -247,7 +247,7 @@ func getBlobID(path string) (string, error) {
return "", err
}
if bid := m["user.ocis.blobid"]; string(bid) != "" {
if bid := m["user.oc.blobid"]; string(bid) != "" {
return string(bid), nil
}
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"testing"
"github.com/google/uuid"
"github.com/opencloud-eu/reva/v2/pkg/storage/utils/decomposedfs/lookup"
"github.com/opencloud-eu/reva/v2/pkg/storage/pkg/decomposedfs/lookup"
"github.com/test-go/testify/require"
)