satellite/metabase: move package one level higher

metabase has become a central concept and it's more suitable for it to
be directly nested under satellite rather than being part of metainfo.

metainfo is going to be the "endpoint" logic for handling requests.

Change-Id: I53770d6761ac1e9a1283b5aa68f471b21e784198
This commit is contained in:
Egon Elbre 2021-04-21 15:42:57 +03:00
parent 2ee3030275
commit 267506bb20
105 changed files with 83 additions and 83 deletions

View File

@ -15,8 +15,8 @@ import (
"go.uber.org/zap/zapcore" "go.uber.org/zap/zapcore"
"storj.io/common/uuid" "storj.io/common/uuid"
"storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/metainfo" "storj.io/storj/satellite/metainfo"
"storj.io/storj/satellite/metainfo/metabase"
) )
// Config defines configuration for migration. // Config defines configuration for migration.

View File

@ -19,8 +19,8 @@ import (
migrator "storj.io/storj/cmd/metabase-createdat-migration" migrator "storj.io/storj/cmd/metabase-createdat-migration"
"storj.io/storj/private/dbutil" "storj.io/storj/private/dbutil"
"storj.io/storj/private/dbutil/tempdb" "storj.io/storj/private/dbutil/tempdb"
"storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/metainfo" "storj.io/storj/satellite/metainfo"
"storj.io/storj/satellite/metainfo/metabase"
"storj.io/storj/satellite/satellitedb/satellitedbtest" "storj.io/storj/satellite/satellitedb/satellitedbtest"
) )

View File

@ -16,7 +16,7 @@ import (
"storj.io/common/uuid" "storj.io/common/uuid"
"storj.io/storj/private/testplanet" "storj.io/storj/private/testplanet"
"storj.io/storj/satellite/accounting" "storj.io/storj/satellite/accounting"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
func TestBilling_DownloadWithoutExpansionFactor(t *testing.T) { func TestBilling_DownloadWithoutExpansionFactor(t *testing.T) {

View File

@ -4,7 +4,7 @@
package accounting package accounting
import ( import (
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
// BucketTally contains information about aggregate data stored in a bucket. // BucketTally contains information about aggregate data stored in a bucket.

View File

@ -11,7 +11,7 @@ import (
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/common/uuid" "storj.io/common/uuid"
"storj.io/storj/satellite/compensation" "storj.io/storj/satellite/compensation"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/orders" "storj.io/storj/satellite/orders"
) )

View File

@ -20,7 +20,7 @@ import (
"storj.io/storj/satellite" "storj.io/storj/satellite"
"storj.io/storj/satellite/accounting" "storj.io/storj/satellite/accounting"
"storj.io/storj/satellite/console" "storj.io/storj/satellite/console"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/satellitedb/satellitedbtest" "storj.io/storj/satellite/satellitedb/satellitedbtest"
) )

View File

@ -28,7 +28,7 @@ import (
"storj.io/storj/private/testplanet" "storj.io/storj/private/testplanet"
"storj.io/storj/satellite" "storj.io/storj/satellite"
"storj.io/storj/satellite/accounting" "storj.io/storj/satellite/accounting"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/orders" "storj.io/storj/satellite/orders"
"storj.io/storj/satellite/satellitedb/satellitedbtest" "storj.io/storj/satellite/satellitedb/satellitedbtest"
) )

View File

@ -15,7 +15,7 @@ import (
"storj.io/common/sync2" "storj.io/common/sync2"
"storj.io/common/uuid" "storj.io/common/uuid"
"storj.io/storj/satellite/accounting" "storj.io/storj/satellite/accounting"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/metainfo/metaloop" "storj.io/storj/satellite/metainfo/metaloop"
) )

View File

@ -21,7 +21,7 @@ import (
"storj.io/storj/private/teststorj" "storj.io/storj/private/teststorj"
"storj.io/storj/satellite/accounting" "storj.io/storj/satellite/accounting"
"storj.io/storj/satellite/accounting/tally" "storj.io/storj/satellite/accounting/tally"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
func TestDeleteTalliesBefore(t *testing.T) { func TestDeleteTalliesBefore(t *testing.T) {

View File

@ -10,7 +10,7 @@ import (
"storj.io/common/pb" "storj.io/common/pb"
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
var ( var (

View File

@ -19,7 +19,7 @@ import (
"storj.io/storj/private/testplanet" "storj.io/storj/private/testplanet"
"storj.io/storj/satellite" "storj.io/storj/satellite"
"storj.io/storj/satellite/audit" "storj.io/storj/satellite/audit"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/overlay" "storj.io/storj/satellite/overlay"
) )

View File

@ -19,7 +19,7 @@ import (
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/storj/private/testplanet" "storj.io/storj/private/testplanet"
"storj.io/storj/satellite/audit" "storj.io/storj/satellite/audit"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
type mockConnector struct { type mockConnector struct {

View File

@ -13,7 +13,7 @@ import (
"storj.io/common/errs2" "storj.io/common/errs2"
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
func TestQueues(t *testing.T) { func TestQueues(t *testing.T) {

View File

@ -8,7 +8,7 @@ import (
"time" "time"
"storj.io/common/uuid" "storj.io/common/uuid"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/metainfo/metaloop" "storj.io/storj/satellite/metainfo/metaloop"
) )

View File

@ -23,7 +23,7 @@ import (
"storj.io/storj/private/testplanet" "storj.io/storj/private/testplanet"
"storj.io/storj/satellite" "storj.io/storj/satellite"
"storj.io/storj/satellite/audit" "storj.io/storj/satellite/audit"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/storagenode" "storj.io/storj/storagenode"
) )

View File

@ -23,8 +23,8 @@ import (
"storj.io/common/rpc" "storj.io/common/rpc"
"storj.io/common/rpc/rpcstatus" "storj.io/common/rpc/rpcstatus"
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/metainfo" "storj.io/storj/satellite/metainfo"
"storj.io/storj/satellite/metainfo/metabase"
"storj.io/storj/satellite/orders" "storj.io/storj/satellite/orders"
"storj.io/storj/satellite/overlay" "storj.io/storj/satellite/overlay"
"storj.io/uplink/private/piecestore" "storj.io/uplink/private/piecestore"

View File

@ -25,7 +25,7 @@ import (
"storj.io/storj/private/testplanet" "storj.io/storj/private/testplanet"
"storj.io/storj/satellite" "storj.io/storj/satellite"
"storj.io/storj/satellite/audit" "storj.io/storj/satellite/audit"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/storagenode" "storj.io/storj/storagenode"
) )

View File

@ -15,7 +15,7 @@ import (
"storj.io/common/pkcrypto" "storj.io/common/pkcrypto"
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
func TestFailingAudit(t *testing.T) { func TestFailingAudit(t *testing.T) {

View File

@ -9,7 +9,7 @@ import (
"storj.io/common/macaroon" "storj.io/common/macaroon"
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/common/uuid" "storj.io/common/uuid"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
// Buckets is the interface for the database to interact with buckets. // Buckets is the interface for the database to interact with buckets.

View File

@ -25,7 +25,7 @@ import (
"storj.io/storj/private/testplanet" "storj.io/storj/private/testplanet"
"storj.io/storj/satellite" "storj.io/storj/satellite"
"storj.io/storj/satellite/gc" "storj.io/storj/satellite/gc"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/storage" "storj.io/storj/storage"
"storj.io/storj/storagenode" "storj.io/storj/storagenode"
"storj.io/uplink/private/etag" "storj.io/uplink/private/etag"

View File

@ -20,7 +20,7 @@ import (
"storj.io/storj/private/testplanet" "storj.io/storj/private/testplanet"
"storj.io/storj/satellite" "storj.io/storj/satellite"
"storj.io/storj/satellite/gracefulexit" "storj.io/storj/satellite/gracefulexit"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/overlay" "storj.io/storj/satellite/overlay"
"storj.io/storj/satellite/satellitedb/satellitedbtest" "storj.io/storj/satellite/satellitedb/satellitedbtest"
"storj.io/uplink/private/etag" "storj.io/uplink/private/etag"

View File

@ -8,7 +8,7 @@ import (
"time" "time"
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
// Progress represents the persisted graceful exit progress record. // Progress represents the persisted graceful exit progress record.

View File

@ -15,7 +15,7 @@ import (
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/storj/satellite" "storj.io/storj/satellite"
"storj.io/storj/satellite/gracefulexit" "storj.io/storj/satellite/gracefulexit"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/satellitedb/satellitedbtest" "storj.io/storj/satellite/satellitedb/satellitedbtest"
) )

View File

@ -21,8 +21,8 @@ import (
"storj.io/common/signing" "storj.io/common/signing"
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/common/sync2" "storj.io/common/sync2"
"storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/metainfo" "storj.io/storj/satellite/metainfo"
"storj.io/storj/satellite/metainfo/metabase"
"storj.io/storj/satellite/orders" "storj.io/storj/satellite/orders"
"storj.io/storj/satellite/overlay" "storj.io/storj/satellite/overlay"
"storj.io/uplink/private/eestream" "storj.io/uplink/private/eestream"

View File

@ -31,8 +31,8 @@ import (
"storj.io/storj/private/testblobs" "storj.io/storj/private/testblobs"
"storj.io/storj/private/testplanet" "storj.io/storj/private/testplanet"
"storj.io/storj/satellite" "storj.io/storj/satellite"
"storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/metainfo" "storj.io/storj/satellite/metainfo"
"storj.io/storj/satellite/metainfo/metabase"
"storj.io/storj/satellite/overlay" "storj.io/storj/satellite/overlay"
"storj.io/storj/storagenode" "storj.io/storj/storagenode"
"storj.io/storj/storagenode/gracefulexit" "storj.io/storj/storagenode/gracefulexit"

View File

@ -15,7 +15,7 @@ import (
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/storj/private/testplanet" "storj.io/storj/private/testplanet"
"storj.io/storj/satellite/gracefulexit" "storj.io/storj/satellite/gracefulexit"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/overlay" "storj.io/storj/satellite/overlay"
) )

View File

@ -9,7 +9,7 @@ import (
"storj.io/common/pb" "storj.io/common/pb"
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
// PendingFinishedPromise for waiting for information about finished state. // PendingFinishedPromise for waiting for information about finished state.

View File

@ -18,7 +18,7 @@ import (
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/storj/satellite/gracefulexit" "storj.io/storj/satellite/gracefulexit"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
func TestPendingBasic(t *testing.T) { func TestPendingBasic(t *testing.T) {

View File

@ -15,8 +15,8 @@ import (
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/common/uuid" "storj.io/common/uuid"
"storj.io/storj/satellite/internalpb" "storj.io/storj/satellite/internalpb"
"storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/metainfo" "storj.io/storj/satellite/metainfo"
"storj.io/storj/satellite/metainfo/metabase"
"storj.io/storj/satellite/overlay" "storj.io/storj/satellite/overlay"
) )

View File

@ -20,7 +20,7 @@ import (
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/storj/private/testplanet" "storj.io/storj/private/testplanet"
"storj.io/storj/satellite/internalpb" "storj.io/storj/satellite/internalpb"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/uplink/private/eestream" "storj.io/uplink/private/eestream"
) )

View File

@ -12,7 +12,7 @@ import (
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
func TestNodeAliases(t *testing.T) { func TestNodeAliases(t *testing.T) {

View File

@ -17,7 +17,7 @@ import (
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
func TestNodeAliasCache(t *testing.T) { func TestNodeAliasCache(t *testing.T) {

View File

@ -11,7 +11,7 @@ import (
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
func TestAliasPieces(t *testing.T) { func TestAliasPieces(t *testing.T) {

View File

@ -13,7 +13,7 @@ import (
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
var letters = []rune("abcdefghijklmnopqrstuvwxyz") var letters = []rune("abcdefghijklmnopqrstuvwxyz")

View File

@ -17,7 +17,7 @@ import (
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/common/uuid" "storj.io/common/uuid"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
func Benchmark(b *testing.B) { func Benchmark(b *testing.B) {

View File

@ -10,7 +10,7 @@ import (
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
func TestCommitObjectWithSegments(t *testing.T) { func TestCommitObjectWithSegments(t *testing.T) {

View File

@ -14,7 +14,7 @@ import (
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/common/uuid" "storj.io/common/uuid"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
var defaultTestRedundancy = storj.RedundancyScheme{ var defaultTestRedundancy = storj.RedundancyScheme{

View File

@ -11,7 +11,7 @@ import (
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/common/uuid" "storj.io/common/uuid"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
func TestParseBucketPrefixInvalid(t *testing.T) { func TestParseBucketPrefixInvalid(t *testing.T) {

View File

@ -13,7 +13,7 @@ import (
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/common/uuid" "storj.io/common/uuid"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/satellitedb/satellitedbtest" "storj.io/storj/satellite/satellitedb/satellitedbtest"
) )

View File

@ -14,7 +14,7 @@ import (
"storj.io/common/testcontext" "storj.io/common/testcontext"
_ "storj.io/storj/private/dbutil/cockroachutil" // register cockroach driver _ "storj.io/storj/private/dbutil/cockroachutil" // register cockroach driver
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/satellitedb/satellitedbtest" "storj.io/storj/satellite/satellitedb/satellitedbtest"
) )

View File

@ -12,7 +12,7 @@ import (
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/common/uuid" "storj.io/common/uuid"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
func TestDeleteBucketObjects(t *testing.T) { func TestDeleteBucketObjects(t *testing.T) {

View File

@ -9,7 +9,7 @@ import (
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
func TestDeleteExpiredObjects(t *testing.T) { func TestDeleteExpiredObjects(t *testing.T) {

View File

@ -11,7 +11,7 @@ import (
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/common/uuid" "storj.io/common/uuid"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
func TestDeletePendingObject(t *testing.T) { func TestDeletePendingObject(t *testing.T) {

View File

@ -10,7 +10,7 @@ import (
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
func TestGetObjectExactVersion(t *testing.T) { func TestGetObjectExactVersion(t *testing.T) {

View File

@ -13,7 +13,7 @@ import (
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/common/uuid" "storj.io/common/uuid"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
func TestIterateObjects(t *testing.T) { func TestIterateObjects(t *testing.T) {

View File

@ -10,7 +10,7 @@ import (
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
func TestListSegments(t *testing.T) { func TestListSegments(t *testing.T) {

View File

@ -14,7 +14,7 @@ import (
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/common/uuid" "storj.io/common/uuid"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
func TestIterateLoopObjects(t *testing.T) { func TestIterateLoopObjects(t *testing.T) {

View File

@ -9,7 +9,7 @@ import (
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
func TestGetStreamPieceCountByNodeID(t *testing.T) { func TestGetStreamPieceCountByNodeID(t *testing.T) {

View File

@ -19,7 +19,7 @@ import (
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/common/uuid" "storj.io/common/uuid"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
type BeginObjectNextVersion struct { type BeginObjectNextVersion struct {

View File

@ -14,7 +14,7 @@ import (
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/storage" "storj.io/storj/storage"
) )

View File

@ -17,7 +17,7 @@ import (
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/common/uuid" "storj.io/common/uuid"
"storj.io/storj/private/dbutil" "storj.io/storj/private/dbutil"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/metainfo/metaloop" "storj.io/storj/satellite/metainfo/metaloop"
"storj.io/storj/satellite/metainfo/piecedeletion" "storj.io/storj/satellite/metainfo/piecedeletion"
) )

View File

@ -9,7 +9,7 @@ import (
"storj.io/common/macaroon" "storj.io/common/macaroon"
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/common/uuid" "storj.io/common/uuid"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
// BucketsDB is the interface for the database to interact with buckets. // BucketsDB is the interface for the database to interact with buckets.

View File

@ -21,7 +21,7 @@ import (
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/storj/private/testplanet" "storj.io/storj/private/testplanet"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/uplink/private/etag" "storj.io/uplink/private/etag"
"storj.io/uplink/private/metainfo" "storj.io/uplink/private/metainfo"
"storj.io/uplink/private/multipart" "storj.io/uplink/private/multipart"

View File

@ -12,8 +12,8 @@ import (
"go.uber.org/zap" "go.uber.org/zap"
"storj.io/common/sync2" "storj.io/common/sync2"
"storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/metainfo" "storj.io/storj/satellite/metainfo"
"storj.io/storj/satellite/metainfo/metabase"
) )
var ( var (

View File

@ -27,7 +27,7 @@ import (
"storj.io/storj/satellite/attribution" "storj.io/storj/satellite/attribution"
"storj.io/storj/satellite/console" "storj.io/storj/satellite/console"
"storj.io/storj/satellite/internalpb" "storj.io/storj/satellite/internalpb"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/metainfo/piecedeletion" "storj.io/storj/satellite/metainfo/piecedeletion"
"storj.io/storj/satellite/metainfo/pointerverification" "storj.io/storj/satellite/metainfo/pointerverification"
"storj.io/storj/satellite/orders" "storj.io/storj/satellite/orders"

View File

@ -32,8 +32,8 @@ import (
"storj.io/storj/private/testplanet" "storj.io/storj/private/testplanet"
"storj.io/storj/satellite" "storj.io/storj/satellite"
"storj.io/storj/satellite/internalpb" "storj.io/storj/satellite/internalpb"
"storj.io/storj/satellite/metabase"
satMetainfo "storj.io/storj/satellite/metainfo" satMetainfo "storj.io/storj/satellite/metainfo"
"storj.io/storj/satellite/metainfo/metabase"
"storj.io/uplink" "storj.io/uplink"
"storj.io/uplink/private/etag" "storj.io/uplink/private/etag"
"storj.io/uplink/private/metainfo" "storj.io/uplink/private/metainfo"

View File

@ -14,7 +14,7 @@ import (
"golang.org/x/time/rate" "golang.org/x/time/rate"
"storj.io/common/uuid" "storj.io/common/uuid"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
const batchsizeLimit = 2500 const batchsizeLimit = 2500

View File

@ -23,7 +23,7 @@ import (
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/storj/private/testplanet" "storj.io/storj/private/testplanet"
"storj.io/storj/satellite" "storj.io/storj/satellite"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/metainfo/metaloop" "storj.io/storj/satellite/metainfo/metaloop"
"storj.io/uplink/private/multipart" "storj.io/uplink/private/multipart"
) )

View File

@ -12,7 +12,7 @@ import (
"storj.io/common/macaroon" "storj.io/common/macaroon"
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/common/uuid" "storj.io/common/uuid"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
var ( var (

View File

@ -22,7 +22,7 @@ import (
"storj.io/common/uuid" "storj.io/common/uuid"
"storj.io/storj/satellite/console" "storj.io/storj/satellite/console"
"storj.io/storj/satellite/console/consoleauth" "storj.io/storj/satellite/console/consoleauth"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
var ( var (

View File

@ -22,7 +22,7 @@ import (
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/common/uuid" "storj.io/common/uuid"
"storj.io/storj/private/date" "storj.io/storj/private/date"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/nodeapiversion" "storj.io/storj/satellite/nodeapiversion"
) )

View File

@ -16,7 +16,7 @@ import (
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/storj/private/testplanet" "storj.io/storj/private/testplanet"
"storj.io/storj/satellite/internalpb" "storj.io/storj/satellite/internalpb"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
func TestSettlementWithWindowEndpointManyOrders(t *testing.T) { func TestSettlementWithWindowEndpointManyOrders(t *testing.T) {

View File

@ -18,7 +18,7 @@ import (
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/common/uuid" "storj.io/common/uuid"
"storj.io/storj/satellite/internalpb" "storj.io/storj/satellite/internalpb"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/overlay" "storj.io/storj/satellite/overlay"
"storj.io/uplink/private/eestream" "storj.io/uplink/private/eestream"
) )

View File

@ -12,7 +12,7 @@ import (
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/storj/private/testplanet" "storj.io/storj/private/testplanet"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
func TestOrderLimitsEncryptedMetadata(t *testing.T) { func TestOrderLimitsEncryptedMetadata(t *testing.T) {

View File

@ -15,7 +15,7 @@ import (
"storj.io/common/signing" "storj.io/common/signing"
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/storj/satellite/internalpb" "storj.io/storj/satellite/internalpb"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
// ErrSigner is default error class for Signer. // ErrSigner is default error class for Signer.

View File

@ -16,7 +16,7 @@ import (
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/storj/private/testplanet" "storj.io/storj/private/testplanet"
"storj.io/storj/satellite" "storj.io/storj/satellite"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/orders" "storj.io/storj/satellite/orders"
) )

View File

@ -14,7 +14,7 @@ import (
"storj.io/common/pb" "storj.io/common/pb"
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
// ErrEmptyNode is returned when the nodeID is empty. // ErrEmptyNode is returned when the nodeID is empty.

View File

@ -21,7 +21,7 @@ import (
"storj.io/storj/satellite" "storj.io/storj/satellite"
"storj.io/storj/satellite/accounting" "storj.io/storj/satellite/accounting"
"storj.io/storj/satellite/console" "storj.io/storj/satellite/console"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/payments" "storj.io/storj/satellite/payments"
"storj.io/storj/satellite/payments/stripecoinpayments" "storj.io/storj/satellite/payments/stripecoinpayments"
) )

View File

@ -17,8 +17,8 @@ import (
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/common/sync2" "storj.io/common/sync2"
"storj.io/storj/satellite/internalpb" "storj.io/storj/satellite/internalpb"
"storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/metainfo" "storj.io/storj/satellite/metainfo"
"storj.io/storj/satellite/metainfo/metabase"
"storj.io/storj/satellite/metainfo/metaloop" "storj.io/storj/satellite/metainfo/metaloop"
"storj.io/storj/satellite/overlay" "storj.io/storj/satellite/overlay"
"storj.io/storj/satellite/repair" "storj.io/storj/satellite/repair"

View File

@ -16,7 +16,7 @@ import (
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/storj/private/testplanet" "storj.io/storj/private/testplanet"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/storage" "storj.io/storj/storage"
) )

View File

@ -8,7 +8,7 @@ import (
"github.com/spacemonkeygo/monkit/v3" "github.com/spacemonkeygo/monkit/v3"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
// statsCollector holds a *stats for each redundancy scheme // statsCollector holds a *stats for each redundancy scheme

View File

@ -10,7 +10,7 @@ import (
"time" "time"
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/overlay" "storj.io/storj/satellite/overlay"
) )

View File

@ -14,7 +14,7 @@ import (
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/common/testrand" "storj.io/common/testrand"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/overlay" "storj.io/storj/satellite/overlay"
) )

View File

@ -7,7 +7,7 @@ import (
"context" "context"
"storj.io/storj/satellite/internalpb" "storj.io/storj/satellite/internalpb"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
) )
// DB stores information about repairs that have failed. // DB stores information about repairs that have failed.

View File

@ -16,7 +16,7 @@ import (
"storj.io/storj/private/testplanet" "storj.io/storj/private/testplanet"
"storj.io/storj/satellite" "storj.io/storj/satellite"
"storj.io/storj/satellite/internalpb" "storj.io/storj/satellite/internalpb"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/satellitedb/satellitedbtest" "storj.io/storj/satellite/satellitedb/satellitedbtest"
) )

View File

@ -23,7 +23,7 @@ import (
"storj.io/common/uuid" "storj.io/common/uuid"
"storj.io/storj/private/testplanet" "storj.io/storj/private/testplanet"
"storj.io/storj/satellite" "storj.io/storj/satellite"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/overlay" "storj.io/storj/satellite/overlay"
"storj.io/storj/satellite/repair/checker" "storj.io/storj/satellite/repair/checker"
"storj.io/storj/storage" "storj.io/storj/storage"

View File

@ -17,8 +17,8 @@ import (
"storj.io/common/rpc" "storj.io/common/rpc"
"storj.io/common/signing" "storj.io/common/signing"
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/metainfo" "storj.io/storj/satellite/metainfo"
"storj.io/storj/satellite/metainfo/metabase"
"storj.io/storj/satellite/orders" "storj.io/storj/satellite/orders"
"storj.io/storj/satellite/overlay" "storj.io/storj/satellite/overlay"
"storj.io/storj/satellite/repair/checker" "storj.io/storj/satellite/repair/checker"

View File

@ -11,7 +11,7 @@ import (
"storj.io/common/macaroon" "storj.io/common/macaroon"
"storj.io/common/storj" "storj.io/common/storj"
"storj.io/common/uuid" "storj.io/common/uuid"
"storj.io/storj/satellite/metainfo/metabase" "storj.io/storj/satellite/metabase"
"storj.io/storj/satellite/satellitedb/dbx" "storj.io/storj/satellite/satellitedb/dbx"
) )

Some files were not shown because too many files have changed in this diff Show More