// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -292,14 +292,14 @@
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
"github.com/micro/go-web"
- "github.com/opensds/multi-cloud/api/pkg/backend"
- "github.com/opensds/multi-cloud/api/pkg/dataflow"
- "github.com/opensds/multi-cloud/api/pkg/filters/context"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature/signer"
- "github.com/opensds/multi-cloud/api/pkg/filters/auth"
- "github.com/opensds/multi-cloud/api/pkg/filters/logging"
- "github.com/opensds/multi-cloud/api/pkg/s3"
- "github.com/opensds/multi-cloud/api/pkg/utils/obs"
+ "github.com/soda/multi-cloud/api/pkg/backend"
+ "github.com/soda/multi-cloud/api/pkg/dataflow"
+ "github.com/soda/multi-cloud/api/pkg/filters/context"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature/signer"
+ "github.com/soda/multi-cloud/api/pkg/filters/auth"
+ "github.com/soda/multi-cloud/api/pkg/filters/logging"
+ "github.com/soda/multi-cloud/api/pkg/s3"
+ "github.com/soda/multi-cloud/api/pkg/utils/obs"
)
const (
@@ -317,7 +317,7 @@
wc := restful.NewContainer()
ws := new(restful.WebService)
ws.Path("/v1")
- ws.Doc("OpenSDS Multi-Cloud API")
+ ws.Doc("soda Multi-Cloud API")
ws.Consumes(restful.MIME_JSON)
ws.Produces(restful.MIME_JSON)
@@ -330,7 +330,7 @@
s3ws := new(restful.WebService)
s3ws.Path("/v1/s3")
- s3ws.Doc("OpenSDS Multi-Cloud API")
+ s3ws.Doc("soda Multi-Cloud API")
s3ws.Consumes(restful.MIME_XML)
s3ws.Produces(restful.MIME_XML)
@@ -349,7 +349,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -388,7 +388,7 @@
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -412,13 +412,13 @@
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
"github.com/micro/go-micro/client"
- "github.com/opensds/multi-cloud/api/pkg/common"
- c "github.com/opensds/multi-cloud/api/pkg/context"
- "github.com/opensds/multi-cloud/api/pkg/policy"
- "github.com/opensds/multi-cloud/backend/proto"
- "github.com/opensds/multi-cloud/dataflow/proto"
- . "github.com/opensds/multi-cloud/s3/pkg/exception"
- "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ c "github.com/soda/multi-cloud/api/pkg/context"
+ "github.com/soda/multi-cloud/api/pkg/policy"
+ "github.com/soda/multi-cloud/backend/proto"
+ "github.com/soda/multi-cloud/dataflow/proto"
+ . "github.com/soda/multi-cloud/s3/pkg/exception"
+ "github.com/soda/multi-cloud/s3/proto"
"golang.org/x/net/context"
)
@@ -713,7 +713,7 @@
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -737,7 +737,7 @@
"github.com/emicklei/go-restful"
"github.com/micro/go-micro/metadata"
- c "github.com/opensds/multi-cloud/api/pkg/context"
+ c "github.com/soda/multi-cloud/api/pkg/context"
log "github.com/sirupsen/logrus"
)
@@ -874,7 +874,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License. You may obtain
@@ -1003,7 +1003,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -1057,7 +1057,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -1081,12 +1081,12 @@
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
"github.com/micro/go-micro/client"
- "github.com/opensds/multi-cloud/api/pkg/common"
- c "github.com/opensds/multi-cloud/api/pkg/context"
- "github.com/opensds/multi-cloud/api/pkg/policy"
- "github.com/opensds/multi-cloud/backend/proto"
- "github.com/opensds/multi-cloud/dataflow/proto"
- "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ c "github.com/soda/multi-cloud/api/pkg/context"
+ "github.com/soda/multi-cloud/api/pkg/policy"
+ "github.com/soda/multi-cloud/backend/proto"
+ "github.com/soda/multi-cloud/dataflow/proto"
+ "github.com/soda/multi-cloud/s3/proto"
)
const (
@@ -1537,7 +1537,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -1558,7 +1558,7 @@
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
- c "github.com/opensds/multi-cloud/api/pkg/context"
+ c "github.com/soda/multi-cloud/api/pkg/context"
)
type AuthBase interface {
@@ -1601,7 +1601,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License. You may obtain
@@ -1629,10 +1629,10 @@
"github.com/gophercloud/gophercloud"
"github.com/gophercloud/gophercloud/openstack"
"github.com/gophercloud/gophercloud/openstack/identity/v3/tokens"
- c "github.com/opensds/multi-cloud/api/pkg/context"
- "github.com/opensds/multi-cloud/api/pkg/model"
- "github.com/opensds/multi-cloud/api/pkg/utils"
- "github.com/opensds/multi-cloud/api/pkg/utils/constants"
+ c "github.com/soda/multi-cloud/api/pkg/context"
+ "github.com/soda/multi-cloud/api/pkg/model"
+ "github.com/soda/multi-cloud/api/pkg/utils"
+ "github.com/soda/multi-cloud/api/pkg/utils/constants"
)
type Keystone struct {
@@ -1757,7 +1757,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -1775,7 +1775,7 @@
import (
"github.com/emicklei/go-restful"
- c "github.com/opensds/multi-cloud/api/pkg/context"
+ c "github.com/soda/multi-cloud/api/pkg/context"
)
func FilterFactory() restful.FilterFunction {
@@ -1786,7 +1786,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -1816,7 +1816,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -1836,12 +1836,12 @@
"sync"
)
-// A Value is the OpenSDS multi-cloud credentials value.
+// A Value is the soda multi-cloud credentials value.
type Value struct {
- // OpenSDS multi-cloud Access key ID
+ // soda multi-cloud Access key ID
AccessKeyID string
- // OpenSDS multi-cloud Secret Access Key
+ // soda multi-cloud Secret Access Key
SecretAccessKey string
// TenantID
@@ -1875,7 +1875,7 @@
return Value{ProviderName: p.ProviderName}, p.Err
}
-// A Credentials provides concurrency safe retrieval of OpenSDS multi-cloud credentials Value.
+// A Credentials provides concurrency safe retrieval of soda multi-cloud credentials Value.
type Credentials struct {
credentials Value
@@ -1906,7 +1906,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -1931,9 +1931,9 @@
log "github.com/sirupsen/logrus"
"github.com/gophercloud/gophercloud"
creds "github.com/gophercloud/gophercloud/openstack/identity/v3/credentials"
- "github.com/opensds/multi-cloud/api/pkg/filters/auth"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature/credentials"
- "github.com/opensds/multi-cloud/api/pkg/model"
+ "github.com/soda/multi-cloud/api/pkg/filters/auth"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature/credentials"
+ "github.com/soda/multi-cloud/api/pkg/model"
)
// ProviderName is the name of the credentials provider.
@@ -2048,7 +2048,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License. You may obtain
@@ -2062,7 +2062,7 @@
// License for the specific language governing permissions and limitations
// under the License.
-// Package signer implements signing and signature validation for opensds multi-cloud signer.
+// Package signer implements signing and signature validation for soda multi-cloud signer.
//
// Provides request signing for request that need to be signed with the Signature.
// Provides signature validation for request.
@@ -2080,15 +2080,15 @@
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
- c "github.com/opensds/multi-cloud/api/pkg/context"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature/credentials"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature/credentials/keystonecredentials"
- "github.com/opensds/multi-cloud/api/pkg/model"
- "github.com/opensds/multi-cloud/api/pkg/utils/constants"
+ c "github.com/soda/multi-cloud/api/pkg/context"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature/credentials"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature/credentials/keystonecredentials"
+ "github.com/soda/multi-cloud/api/pkg/model"
+ "github.com/soda/multi-cloud/api/pkg/utils/constants"
)
const (
- authHeaderPrefix = "OPENSDS-HMAC-SHA256"
+ authHeaderPrefix = "soda-HMAC-SHA256"
emptyStringSHA256 = `e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855`
)
@@ -2232,7 +2232,7 @@
return signer
}
-// Sign signs OpenSDS multi-cloud requests with the service, name, region,
+// Sign signs soda multi-cloud requests with the service, name, region,
// date time the request is signed at.
//
// Returns the signature or an error if signing the request failed.
@@ -2375,7 +2375,7 @@
// Step 1: Create the signing key, use the secret access key to create a series of
// hash-based message authentication codes (HMACs).
kSecret := sign.credValues.SecretAccessKey
- kDate := makeHmac([]byte("OPENSDS"+kSecret), []byte(sign.requestDate))
+ kDate := makeHmac([]byte("soda"+kSecret), []byte(sign.requestDate))
kRegion := makeHmac(kDate, []byte(sign.Region))
kService := makeHmac(kRegion, []byte(sign.Service))
signingKey := makeHmac(kService, []byte("sign_request"))
@@ -2470,7 +2470,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -2607,7 +2607,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License. You may obtain
@@ -2630,7 +2630,7 @@
"strings"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/utils"
+ "github.com/soda/multi-cloud/api/pkg/utils"
)
func init() {
@@ -2955,7 +2955,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License. You may obtain
@@ -2975,7 +2975,7 @@
"fmt"
"strings"
- "github.com/opensds/multi-cloud/api/pkg/utils"
+ "github.com/soda/multi-cloud/api/pkg/utils"
)
type TokenPair struct {
@@ -3160,7 +3160,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License. You may obtain
@@ -3186,10 +3186,10 @@
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/context"
- "github.com/opensds/multi-cloud/api/pkg/model"
- "github.com/opensds/multi-cloud/api/pkg/utils"
- "github.com/opensds/multi-cloud/api/pkg/utils/constants"
+ "github.com/soda/multi-cloud/api/pkg/context"
+ "github.com/soda/multi-cloud/api/pkg/model"
+ "github.com/soda/multi-cloud/api/pkg/utils"
+ "github.com/soda/multi-cloud/api/pkg/utils/constants"
)
var enforcer *Enforcer
@@ -3382,8 +3382,8 @@
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -3416,8 +3416,8 @@
"net/http"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- . "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ . "github.com/soda/multi-cloud/api/pkg/s3/datatype"
)
func getAclFromHeader(request *restful.Request) (acl Acl, err error) {
@@ -3469,9 +3469,9 @@
"time"
"github.com/emicklei/go-restful"
- . "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- "github.com/opensds/multi-cloud/s3/pkg/meta/types"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ . "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ "github.com/soda/multi-cloud/s3/pkg/meta/types"
+ pb "github.com/soda/multi-cloud/s3/proto"
)
// Refer: https://docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonResponseHeaders.html
@@ -3548,9 +3548,9 @@
"time"
"github.com/emicklei/go-restful"
- . "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
+ . "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
log "github.com/sirupsen/logrus"
)
@@ -3763,7 +3763,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -3787,10 +3787,10 @@
"github.com/emicklei/go-restful"
"github.com/journeymidnight/yig/helper"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- s3error "github.com/opensds/multi-cloud/s3/error"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ s3error "github.com/soda/multi-cloud/s3/error"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -3878,7 +3878,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -3896,8 +3896,8 @@
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -3916,7 +3916,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -3939,13 +3939,13 @@
"unicode/utf8"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- "github.com/opensds/multi-cloud/api/pkg/utils/constants"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ "github.com/soda/multi-cloud/api/pkg/utils/constants"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -4118,7 +4118,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -4136,8 +4136,8 @@
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -4157,7 +4157,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -4176,11 +4176,11 @@
import (
"fmt"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- . "github.com/opensds/multi-cloud/api/pkg/utils/constants"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ . "github.com/soda/multi-cloud/api/pkg/utils/constants"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -4288,7 +4288,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -4312,12 +4312,12 @@
"sync"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- . "github.com/opensds/multi-cloud/api/pkg/utils/constants"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ . "github.com/soda/multi-cloud/api/pkg/utils/constants"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
"golang.org/x/net/context"
)
@@ -4543,7 +4543,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -4565,13 +4565,13 @@
"time"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- c "github.com/opensds/multi-cloud/api/pkg/context"
- "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- "github.com/opensds/multi-cloud/s3/proto"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ c "github.com/soda/multi-cloud/api/pkg/context"
+ "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ "github.com/soda/multi-cloud/s3/proto"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -4646,7 +4646,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -4670,9 +4670,9 @@
"sync"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -4747,7 +4747,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -4767,11 +4767,11 @@
"crypto/md5"
"encoding/xml"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- s3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ s3 "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -4838,12 +4838,12 @@
"strings"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
- . "github.com/opensds/multi-cloud/s3/error"
+ . "github.com/soda/multi-cloud/s3/error"
)
func (s *APIService) CompleteMultipartUpload(request *restful.Request, response *restful.Response) {
@@ -4923,8 +4923,8 @@
import (
"encoding/xml"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
log "github.com/sirupsen/logrus"
)
@@ -5152,7 +5152,7 @@
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -5492,11 +5492,11 @@
"time"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/policy"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- s3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/policy"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ s3 "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -5569,10 +5569,10 @@
"sort"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- s3error "github.com/opensds/multi-cloud/s3/error"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ s3error "github.com/soda/multi-cloud/s3/error"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -5659,9 +5659,9 @@
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -5727,7 +5727,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -5748,10 +5748,10 @@
"net/http"
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/policy"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/policy"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ "github.com/soda/multi-cloud/s3/proto"
)
func (s *APIService) GetStorageClasses(request *restful.Request, response *restful.Response) {
@@ -5786,7 +5786,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -5804,11 +5804,11 @@
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
- . "github.com/opensds/multi-cloud/s3/error"
+ . "github.com/soda/multi-cloud/s3/error"
)
func (s *APIService) MultiPartUploadInit(request *restful.Request, response *restful.Response) {
@@ -5882,8 +5882,8 @@
"strings"
"time"
- . "github.com/opensds/multi-cloud/s3/error"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ . "github.com/soda/multi-cloud/s3/error"
+ pb "github.com/soda/multi-cloud/s3/proto"
)
// Validates the preconditions for CopyObject, returns nil if validates
@@ -6123,7 +6123,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -6147,10 +6147,10 @@
"github.com/emicklei/go-restful"
"github.com/journeymidnight/yig/helper"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- s3error "github.com/opensds/multi-cloud/s3/error"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ s3error "github.com/soda/multi-cloud/s3/error"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -6241,7 +6241,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -6264,11 +6264,11 @@
"github.com/emicklei/go-restful"
"github.com/micro/go-micro/client"
- "github.com/opensds/multi-cloud/api/pkg/common"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/meta/types"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/meta/types"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -6453,7 +6453,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -6473,9 +6473,9 @@
"strings"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -6523,7 +6523,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -6547,10 +6547,10 @@
"github.com/emicklei/go-restful"
"github.com/micro/go-micro/client"
- "github.com/opensds/multi-cloud/api/pkg/common"
- . "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- s3error "github.com/opensds/multi-cloud/s3/error"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ . "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ s3error "github.com/soda/multi-cloud/s3/error"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -6765,7 +6765,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -6788,11 +6788,11 @@
"github.com/emicklei/go-restful"
"github.com/journeymidnight/yig/helper"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- . "github.com/opensds/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ . "github.com/soda/multi-cloud/s3/error"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -6937,7 +6937,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -6960,12 +6960,12 @@
"strconv"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
- "github.com/opensds/multi-cloud/s3/proto"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
+ "github.com/soda/multi-cloud/s3/proto"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -7129,7 +7129,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -7154,10 +7154,10 @@
"strings"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/proto"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/proto"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -7329,7 +7329,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -7347,7 +7347,7 @@
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/policy"
+ "github.com/soda/multi-cloud/api/pkg/policy"
)
func (s *APIService) RouteBucketDelete(request *restful.Request, response *restful.Response) {
@@ -7375,7 +7375,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -7393,7 +7393,7 @@
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/policy"
+ "github.com/soda/multi-cloud/api/pkg/policy"
)
func (s *APIService) RouteBucketGet(request *restful.Request, response *restful.Response) {
@@ -7423,7 +7423,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -7441,7 +7441,7 @@
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/policy"
+ "github.com/soda/multi-cloud/api/pkg/policy"
)
func (s *APIService) RouteBucketHead(request *restful.Request, response *restful.Response) {
@@ -7453,7 +7453,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -7473,7 +7473,7 @@
"errors"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/policy"
+ "github.com/soda/multi-cloud/api/pkg/policy"
"net/http"
)
@@ -7509,7 +7509,7 @@
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/policy"
+ "github.com/soda/multi-cloud/api/pkg/policy"
)
func (s *APIService) RouteObjectDelete(request *restful.Request, response *restful.Response) {
@@ -7524,7 +7524,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -7542,7 +7542,7 @@
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/policy"
+ "github.com/soda/multi-cloud/api/pkg/policy"
)
func (s *APIService) RouteObjectGet(request *restful.Request, response *restful.Response) {
@@ -7559,7 +7559,7 @@
}
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -7577,7 +7577,7 @@
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/policy"
+ "github.com/soda/multi-cloud/api/pkg/policy"
)
func (s *APIService) RouteObjectHead(request *restful.Request, response *restful.Response) {
@@ -7589,7 +7589,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -7609,8 +7609,8 @@
"regexp"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/policy"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/policy"
)
func (s *APIService) RouteObjectPost(request *restful.Request, response *restful.Response) {
@@ -7633,7 +7633,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -7651,7 +7651,7 @@
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/policy"
+ "github.com/soda/multi-cloud/api/pkg/policy"
)
func (s *APIService) RouteObjectPut(request *restful.Request, response *restful.Response) {
@@ -7679,7 +7679,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -7731,7 +7731,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -7755,10 +7755,10 @@
"github.com/emicklei/go-restful"
"github.com/micro/go-micro/client"
- "github.com/opensds/multi-cloud/backend/proto"
- backendpb "github.com/opensds/multi-cloud/backend/proto"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/backend/proto"
+ backendpb "github.com/soda/multi-cloud/backend/proto"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -7878,7 +7878,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -7900,9 +7900,9 @@
"strconv"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- . "github.com/opensds/multi-cloud/s3/error"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ . "github.com/soda/multi-cloud/s3/error"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -10678,7 +10678,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -12493,7 +12493,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -16366,7 +16366,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -16868,8 +16868,8 @@
"time"
"github.com/dustin/go-humanize"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -16985,7 +16985,7 @@
"fmt"
"strconv"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
)
type Cluster struct {
@@ -17027,7 +17027,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -17114,8 +17114,8 @@
"strconv"
"time"
- "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ "github.com/soda/multi-cloud/s3/proto"
"github.com/xxtea/xxtea-go/xxtea"
)
@@ -17253,9 +17253,9 @@
"strconv"
"time"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
- "github.com/opensds/multi-cloud/s3/pkg/meta/util"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
+ "github.com/soda/multi-cloud/s3/pkg/meta/util"
+ pb "github.com/soda/multi-cloud/s3/proto"
"github.com/xxtea/xxtea-go/xxtea"
)
@@ -17590,8 +17590,8 @@
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -17916,7 +17916,7 @@
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -17936,7 +17936,7 @@
"context"
"crypto/md5"
"encoding/hex"
- "github.com/opensds/multi-cloud/backend/proto"
+ "github.com/soda/multi-cloud/backend/proto"
log "github.com/sirupsen/logrus"
)
@@ -17973,7 +17973,7 @@
//Object Storage Type
const (
- OSTYPE_OPENSDS = "OpenSDS"
+ OSTYPE_soda = "soda"
OSTYPE_AWS = "aws-s3"
OSTYPE_Azure = "azure-blob"
OSTYPE_OBS = "hw-obs"
diff --git a/api/hooks/pre_build b/api/hooks/pre_build
index 4676c33ee..dba450eb5 100644
--- a/api/hooks/pre_build
+++ b/api/hooks/pre_build
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2019 The OpenSDS Authors.
+# Copyright 2019 The soda Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -22,8 +22,8 @@ echo 'export PATH=$PATH:/usr/local/go/bin' >> /etc/profile
echo 'export GOPATH=$HOME/gopath' >> /etc/profile
source /etc/profile
cd $HOME
-mkdir -p gopath/src/github.com/opensds/multi-cloud
-cd gopath/src/github.com/opensds/multi-cloud
+mkdir -p gopath/src/github.com/soda/multi-cloud
+cd gopath/src/github.com/soda/multi-cloud
cp -r ${BASE_DIR}/* .
make docker
cp api/api ${BASE_DIR}/api
diff --git a/api/pkg/aksk/router.go b/api/pkg/aksk/router.go
index 9ad37c14d..a06559b79 100644
--- a/api/pkg/aksk/router.go
+++ b/api/pkg/aksk/router.go
@@ -1,4 +1,4 @@
-// Copyright 2021 The OpenSDS Authors.
+// Copyright 2021 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/api/pkg/aksk/service.go b/api/pkg/aksk/service.go
index e04a02f9a..bb6ac0403 100644
--- a/api/pkg/aksk/service.go
+++ b/api/pkg/aksk/service.go
@@ -1,4 +1,4 @@
-// Copyright 2021 The OpenSDS Authors.
+// Copyright 2021 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -24,11 +24,11 @@ import (
"github.com/micro/go-micro/v2/client"
log "github.com/sirupsen/logrus"
- aksk "github.com/opensds/multi-cloud/aksk/proto"
- "github.com/opensds/multi-cloud/api/pkg/common"
- c "github.com/opensds/multi-cloud/api/pkg/context"
- "github.com/opensds/multi-cloud/api/pkg/policy"
- "github.com/opensds/multi-cloud/api/pkg/utils"
+ aksk "github.com/soda/multi-cloud/aksk/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ c "github.com/soda/multi-cloud/api/pkg/context"
+ "github.com/soda/multi-cloud/api/pkg/policy"
+ "github.com/soda/multi-cloud/api/pkg/utils"
)
const (
diff --git a/api/pkg/backend/router.go b/api/pkg/backend/router.go
index 94569e9cd..0219cf77f 100644
--- a/api/pkg/backend/router.go
+++ b/api/pkg/backend/router.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/api/pkg/backend/service.go b/api/pkg/backend/service.go
index d00592dfb..5c6ba9bb6 100644
--- a/api/pkg/backend/service.go
+++ b/api/pkg/backend/service.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -29,16 +29,16 @@ import (
log "github.com/sirupsen/logrus"
"golang.org/x/net/context"
- "github.com/opensds/multi-cloud/api/pkg/common"
- c "github.com/opensds/multi-cloud/api/pkg/context"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature/credentials/keystonecredentials"
- "github.com/opensds/multi-cloud/api/pkg/policy"
- utils "github.com/opensds/multi-cloud/api/pkg/utils"
- "github.com/opensds/multi-cloud/api/pkg/utils/cryptography"
- backend "github.com/opensds/multi-cloud/backend/proto"
- dataflow "github.com/opensds/multi-cloud/dataflow/proto"
- . "github.com/opensds/multi-cloud/s3/pkg/exception"
- s3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ c "github.com/soda/multi-cloud/api/pkg/context"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature/credentials/keystonecredentials"
+ "github.com/soda/multi-cloud/api/pkg/policy"
+ utils "github.com/soda/multi-cloud/api/pkg/utils"
+ "github.com/soda/multi-cloud/api/pkg/utils/cryptography"
+ backend "github.com/soda/multi-cloud/backend/proto"
+ dataflow "github.com/soda/multi-cloud/dataflow/proto"
+ . "github.com/soda/multi-cloud/s3/pkg/exception"
+ s3 "github.com/soda/multi-cloud/s3/proto"
)
const (
diff --git a/api/pkg/block/service.go b/api/pkg/block/service.go
index fc17f8073..400cc6012 100644
--- a/api/pkg/block/service.go
+++ b/api/pkg/block/service.go
@@ -18,18 +18,18 @@ import (
"context"
"net/http"
- "github.com/opensds/multi-cloud/block/pkg/model"
- "github.com/opensds/multi-cloud/contrib/utils"
+ "github.com/soda/multi-cloud/block/pkg/model"
+ "github.com/soda/multi-cloud/contrib/utils"
"github.com/emicklei/go-restful"
"github.com/micro/go-micro/v2/client"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- c "github.com/opensds/multi-cloud/api/pkg/context"
- "github.com/opensds/multi-cloud/api/pkg/policy"
- backend "github.com/opensds/multi-cloud/backend/proto"
- block "github.com/opensds/multi-cloud/block/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ c "github.com/soda/multi-cloud/api/pkg/context"
+ "github.com/soda/multi-cloud/api/pkg/policy"
+ backend "github.com/soda/multi-cloud/backend/proto"
+ block "github.com/soda/multi-cloud/block/proto"
)
const (
diff --git a/api/pkg/common/common.go b/api/pkg/common/common.go
index 68aa87f09..3b307098c 100644
--- a/api/pkg/common/common.go
+++ b/api/pkg/common/common.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -25,7 +25,7 @@ import (
"github.com/micro/go-micro/v2/metadata"
log "github.com/sirupsen/logrus"
- c "github.com/opensds/multi-cloud/api/pkg/context"
+ c "github.com/soda/multi-cloud/api/pkg/context"
)
const (
diff --git a/api/pkg/context/context.go b/api/pkg/context/context.go
index a8fcc834a..0a8c9eee0 100644
--- a/api/pkg/context/context.go
+++ b/api/pkg/context/context.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License. You may obtain
diff --git a/api/pkg/context/context_test.go b/api/pkg/context/context_test.go
index 38c976b91..62b1e9001 100644
--- a/api/pkg/context/context_test.go
+++ b/api/pkg/context/context_test.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License. You may obtain
diff --git a/api/pkg/dataflow/router.go b/api/pkg/dataflow/router.go
index 17bd82e98..3d2117430 100644
--- a/api/pkg/dataflow/router.go
+++ b/api/pkg/dataflow/router.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/api/pkg/dataflow/service.go b/api/pkg/dataflow/service.go
index e021b0673..053bb6137 100644
--- a/api/pkg/dataflow/service.go
+++ b/api/pkg/dataflow/service.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -20,12 +20,12 @@ import (
"net/http"
"os"
- "github.com/opensds/multi-cloud/api/pkg/common"
- c "github.com/opensds/multi-cloud/api/pkg/context"
- "github.com/opensds/multi-cloud/api/pkg/policy"
- backend "github.com/opensds/multi-cloud/backend/proto"
- dataflow "github.com/opensds/multi-cloud/dataflow/proto"
- s3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ c "github.com/soda/multi-cloud/api/pkg/context"
+ "github.com/soda/multi-cloud/api/pkg/policy"
+ backend "github.com/soda/multi-cloud/backend/proto"
+ dataflow "github.com/soda/multi-cloud/dataflow/proto"
+ s3 "github.com/soda/multi-cloud/s3/proto"
"github.com/emicklei/go-restful"
"github.com/micro/go-micro/v2/client"
diff --git a/api/pkg/file/service.go b/api/pkg/file/service.go
index c10dc3333..fd05a6672 100644
--- a/api/pkg/file/service.go
+++ b/api/pkg/file/service.go
@@ -19,13 +19,13 @@ import (
"net/http"
"time"
- "github.com/opensds/multi-cloud/api/pkg/common"
- c "github.com/opensds/multi-cloud/api/pkg/context"
- "github.com/opensds/multi-cloud/api/pkg/policy"
- backend "github.com/opensds/multi-cloud/backend/proto"
- "github.com/opensds/multi-cloud/contrib/utils"
- "github.com/opensds/multi-cloud/file/pkg/model"
- file "github.com/opensds/multi-cloud/file/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ c "github.com/soda/multi-cloud/api/pkg/context"
+ "github.com/soda/multi-cloud/api/pkg/policy"
+ backend "github.com/soda/multi-cloud/backend/proto"
+ "github.com/soda/multi-cloud/contrib/utils"
+ "github.com/soda/multi-cloud/file/pkg/model"
+ file "github.com/soda/multi-cloud/file/proto"
"github.com/emicklei/go-restful"
"github.com/micro/go-micro/v2/client"
diff --git a/api/pkg/filters/auth/auth.go b/api/pkg/filters/auth/auth.go
index e071d55ce..f37331355 100644
--- a/api/pkg/filters/auth/auth.go
+++ b/api/pkg/filters/auth/auth.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -20,7 +20,7 @@ import (
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
- c "github.com/opensds/multi-cloud/api/pkg/context"
+ c "github.com/soda/multi-cloud/api/pkg/context"
)
type AuthBase interface {
diff --git a/api/pkg/filters/auth/keystone.go b/api/pkg/filters/auth/keystone.go
index 88473d760..b6ebd1c06 100644
--- a/api/pkg/filters/auth/keystone.go
+++ b/api/pkg/filters/auth/keystone.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License. You may obtain
@@ -27,10 +27,10 @@ import (
"github.com/gophercloud/gophercloud/openstack/identity/v3/tokens"
log "github.com/sirupsen/logrus"
- c "github.com/opensds/multi-cloud/api/pkg/context"
- "github.com/opensds/multi-cloud/api/pkg/model"
- "github.com/opensds/multi-cloud/api/pkg/utils"
- "github.com/opensds/multi-cloud/api/pkg/utils/constants"
+ c "github.com/soda/multi-cloud/api/pkg/context"
+ "github.com/soda/multi-cloud/api/pkg/model"
+ "github.com/soda/multi-cloud/api/pkg/utils"
+ "github.com/soda/multi-cloud/api/pkg/utils/constants"
)
type Keystone struct {
diff --git a/api/pkg/filters/context/context.go b/api/pkg/filters/context/context.go
index 95ec78bf4..cf994fd10 100644
--- a/api/pkg/filters/context/context.go
+++ b/api/pkg/filters/context/context.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@ package context
import (
"github.com/emicklei/go-restful"
- c "github.com/opensds/multi-cloud/api/pkg/context"
+ c "github.com/soda/multi-cloud/api/pkg/context"
)
func FilterFactory() restful.FilterFunction {
diff --git a/api/pkg/filters/logging/logging.go b/api/pkg/filters/logging/logging.go
index b081ca0e1..e5e7d51cf 100644
--- a/api/pkg/filters/logging/logging.go
+++ b/api/pkg/filters/logging/logging.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/api/pkg/filters/signature/auth-handler.go b/api/pkg/filters/signature/auth-handler.go
index c9312e657..e6fb1cc22 100644
--- a/api/pkg/filters/signature/auth-handler.go
+++ b/api/pkg/filters/signature/auth-handler.go
@@ -14,7 +14,7 @@
* limitations under the License.
*/
/*
- * Modifications copyright (C) 2020 The OpenSDS Authors.
+ * Modifications copyright (C) 2020 The soda Authors.
*/
package signature
@@ -25,8 +25,8 @@ import (
"net/http"
"strings"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature/credentials"
- . "github.com/opensds/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature/credentials"
+ . "github.com/soda/multi-cloud/s3/error"
)
const XAMZContentSha256 = "X-Amz-Content-Sha256"
diff --git a/api/pkg/filters/signature/credentials/credential.go b/api/pkg/filters/signature/credentials/credential.go
index f79410b77..1d80b0690 100644
--- a/api/pkg/filters/signature/credentials/credential.go
+++ b/api/pkg/filters/signature/credentials/credential.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -18,12 +18,12 @@ import (
"sync"
)
-// A Value is the OpenSDS multi-cloud credentials value.
+// A Value is the soda multi-cloud credentials value.
type Value struct {
- // OpenSDS multi-cloud Access key ID
+ // soda multi-cloud Access key ID
AccessKeyID string
- // OpenSDS multi-cloud Secret Access Key
+ // soda multi-cloud Secret Access Key
SecretAccessKey string
// TenantID
@@ -60,7 +60,7 @@ func (p ErrorProvider) Retrieve() (Value, error) {
return Value{ProviderName: p.ProviderName}, p.Err
}
-// A Credentials provides concurrency safe retrieval of OpenSDS multi-cloud credentials Value.
+// A Credentials provides concurrency safe retrieval of soda multi-cloud credentials Value.
type Credentials struct {
credentials Value
diff --git a/api/pkg/filters/signature/credentials/credential_test.go b/api/pkg/filters/signature/credentials/credential_test.go
index 2831e8ab2..4cbb27106 100644
--- a/api/pkg/filters/signature/credentials/credential_test.go
+++ b/api/pkg/filters/signature/credentials/credential_test.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License. You may obtain
diff --git a/api/pkg/filters/signature/credentials/keystonecredentials/provider.go b/api/pkg/filters/signature/credentials/keystonecredentials/provider.go
index 3b5d7dc45..4f76bec6f 100644
--- a/api/pkg/filters/signature/credentials/keystonecredentials/provider.go
+++ b/api/pkg/filters/signature/credentials/keystonecredentials/provider.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -24,9 +24,9 @@ import (
creds "github.com/gophercloud/gophercloud/openstack/identity/v3/credentials"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/filters/auth"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature/credentials"
- "github.com/opensds/multi-cloud/api/pkg/model"
+ "github.com/soda/multi-cloud/api/pkg/filters/auth"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature/credentials"
+ "github.com/soda/multi-cloud/api/pkg/model"
)
// ProviderName is the name of the credentials provider.
diff --git a/api/pkg/filters/signature/credentials/keystonecredentials/provider_test.go b/api/pkg/filters/signature/credentials/keystonecredentials/provider_test.go
index 614a9f376..0f6350ddf 100644
--- a/api/pkg/filters/signature/credentials/keystonecredentials/provider_test.go
+++ b/api/pkg/filters/signature/credentials/keystonecredentials/provider_test.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License. You may obtain
@@ -19,9 +19,9 @@ import (
"net/http"
"testing"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature/credentials/keystonecredentials"
- th "github.com/opensds/multi-cloud/testhelper"
- "github.com/opensds/multi-cloud/testhelper/gophercloudclient"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature/credentials/keystonecredentials"
+ th "github.com/soda/multi-cloud/testhelper"
+ "github.com/soda/multi-cloud/testhelper/gophercloudclient"
)
const ListOutput = `
diff --git a/api/pkg/filters/signature/payload-check.go b/api/pkg/filters/signature/payload-check.go
index 5ddeeb468..7bdc0bdfd 100644
--- a/api/pkg/filters/signature/payload-check.go
+++ b/api/pkg/filters/signature/payload-check.go
@@ -9,7 +9,7 @@ import (
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
- . "github.com/opensds/multi-cloud/s3/error"
+ . "github.com/soda/multi-cloud/s3/error"
)
func PayloadCheck(request *restful.Request, response *restful.Response) error {
diff --git a/api/pkg/filters/signature/post-policy.go b/api/pkg/filters/signature/post-policy.go
index 6d4f921da..28ee2d59e 100644
--- a/api/pkg/filters/signature/post-policy.go
+++ b/api/pkg/filters/signature/post-policy.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/api/pkg/filters/signature/postpolicyform.go b/api/pkg/filters/signature/postpolicyform.go
index 0eb179e79..c0caa9d3a 100644
--- a/api/pkg/filters/signature/postpolicyform.go
+++ b/api/pkg/filters/signature/postpolicyform.go
@@ -29,7 +29,7 @@ import (
log "github.com/sirupsen/logrus"
- . "github.com/opensds/multi-cloud/s3/error"
+ . "github.com/soda/multi-cloud/s3/error"
)
var (
diff --git a/api/pkg/filters/signature/signer/signature.go b/api/pkg/filters/signature/signer/signature.go
index 1113d145c..36754f910 100644
--- a/api/pkg/filters/signature/signer/signature.go
+++ b/api/pkg/filters/signature/signer/signature.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License. You may obtain
@@ -12,7 +12,7 @@
// License for the specific language governing permissions and limitations
// under the License.
-// Package signer implements signing and signature validation for opensds multi-cloud signer.
+// Package signer implements signing and signature validation for soda multi-cloud signer.
//
// Provides request signing for request that need to be signed with the Signature.
// Provides signature validation for request.
@@ -24,11 +24,11 @@ import (
"net/url"
"strings"
- c "github.com/opensds/multi-cloud/api/pkg/context"
- . "github.com/opensds/multi-cloud/api/pkg/filters/signature"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature/credentials"
- "github.com/opensds/multi-cloud/api/pkg/s3"
- s3error "github.com/opensds/multi-cloud/s3/error"
+ c "github.com/soda/multi-cloud/api/pkg/context"
+ . "github.com/soda/multi-cloud/api/pkg/filters/signature"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature/credentials"
+ "github.com/soda/multi-cloud/api/pkg/s3"
+ s3error "github.com/soda/multi-cloud/s3/error"
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
diff --git a/api/pkg/filters/signature/streaming-signature-v4.go b/api/pkg/filters/signature/streaming-signature-v4.go
index a7f678833..df353fa27 100644
--- a/api/pkg/filters/signature/streaming-signature-v4.go
+++ b/api/pkg/filters/signature/streaming-signature-v4.go
@@ -32,10 +32,10 @@ import (
"github.com/dustin/go-humanize"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature/credentials"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature/credentials/keystonecredentials"
- "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- . "github.com/opensds/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature/credentials"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature/credentials/keystonecredentials"
+ "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ . "github.com/soda/multi-cloud/s3/error"
)
// Streaming AWS Signature Version '4' constants.
diff --git a/api/pkg/filters/signature/v2.go b/api/pkg/filters/signature/v2.go
index 126d3a996..ccef0e69e 100644
--- a/api/pkg/filters/signature/v2.go
+++ b/api/pkg/filters/signature/v2.go
@@ -29,11 +29,11 @@ import (
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature/credentials"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature/credentials/keystonecredentials"
- "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature/credentials"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature/credentials/keystonecredentials"
+ "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
)
const (
diff --git a/api/pkg/filters/signature/v4-parser.go b/api/pkg/filters/signature/v4-parser.go
index 6b3e6368c..c17c781f1 100644
--- a/api/pkg/filters/signature/v4-parser.go
+++ b/api/pkg/filters/signature/v4-parser.go
@@ -23,8 +23,8 @@ import (
"strings"
"time"
- . "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- . "github.com/opensds/multi-cloud/s3/error"
+ . "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ . "github.com/soda/multi-cloud/s3/error"
)
// credentialHeader data type represents structured form of Credential
diff --git a/api/pkg/filters/signature/v4-utils.go b/api/pkg/filters/signature/v4-utils.go
index e01128f05..8b3616aa8 100644
--- a/api/pkg/filters/signature/v4-utils.go
+++ b/api/pkg/filters/signature/v4-utils.go
@@ -27,7 +27,7 @@ import (
"strings"
"unicode/utf8"
- . "github.com/opensds/multi-cloud/s3/error"
+ . "github.com/soda/multi-cloud/s3/error"
)
// http Header "x-amz-content-sha256" == "UNSIGNED-PAYLOAD" indicates that the
diff --git a/api/pkg/filters/signature/v4.go b/api/pkg/filters/signature/v4.go
index 871796bd7..0bce7d53d 100644
--- a/api/pkg/filters/signature/v4.go
+++ b/api/pkg/filters/signature/v4.go
@@ -35,10 +35,10 @@ import (
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature/credentials"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature/credentials/keystonecredentials"
- . "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- . "github.com/opensds/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature/credentials"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature/credentials/keystonecredentials"
+ . "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ . "github.com/soda/multi-cloud/s3/error"
)
// AWS Signature Version '4' constants.
diff --git a/api/pkg/filters/signature/verify-reader.go b/api/pkg/filters/signature/verify-reader.go
index 6abdc72da..cc8827ac9 100644
--- a/api/pkg/filters/signature/verify-reader.go
+++ b/api/pkg/filters/signature/verify-reader.go
@@ -23,8 +23,8 @@ import (
"io"
"net/http"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature/credentials"
- . "github.com/opensds/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature/credentials"
+ . "github.com/soda/multi-cloud/s3/error"
)
// SignVerifyReader represents an io.Reader compatible interface which
diff --git a/api/pkg/model/error.go b/api/pkg/model/error.go
index 6141145b5..b0d5fb33c 100644
--- a/api/pkg/model/error.go
+++ b/api/pkg/model/error.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/api/pkg/policy/checks.go b/api/pkg/policy/checks.go
index 9ed8e58a2..62bb407c0 100644
--- a/api/pkg/policy/checks.go
+++ b/api/pkg/policy/checks.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License. You may obtain
@@ -22,7 +22,7 @@ import (
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/utils"
+ "github.com/soda/multi-cloud/api/pkg/utils"
)
func init() {
diff --git a/api/pkg/policy/checks_test.go b/api/pkg/policy/checks_test.go
index f0c2f29cb..043372a6f 100644
--- a/api/pkg/policy/checks_test.go
+++ b/api/pkg/policy/checks_test.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License. You may obtain
diff --git a/api/pkg/policy/parser.go b/api/pkg/policy/parser.go
index 9f3afc14e..a45f6ff55 100644
--- a/api/pkg/policy/parser.go
+++ b/api/pkg/policy/parser.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License. You may obtain
@@ -18,7 +18,7 @@ import (
"fmt"
"strings"
- "github.com/opensds/multi-cloud/api/pkg/utils"
+ "github.com/soda/multi-cloud/api/pkg/utils"
)
type TokenPair struct {
diff --git a/api/pkg/policy/parser_test.go b/api/pkg/policy/parser_test.go
index eb238dbba..5fc370af9 100644
--- a/api/pkg/policy/parser_test.go
+++ b/api/pkg/policy/parser_test.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License. You may obtain
diff --git a/api/pkg/policy/policy.go b/api/pkg/policy/policy.go
index 5cdc68c57..910d0a4cb 100644
--- a/api/pkg/policy/policy.go
+++ b/api/pkg/policy/policy.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License. You may obtain
@@ -25,10 +25,10 @@ import (
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/context"
- "github.com/opensds/multi-cloud/api/pkg/model"
- "github.com/opensds/multi-cloud/api/pkg/utils"
- "github.com/opensds/multi-cloud/api/pkg/utils/constants"
+ "github.com/soda/multi-cloud/api/pkg/context"
+ "github.com/soda/multi-cloud/api/pkg/model"
+ "github.com/soda/multi-cloud/api/pkg/utils"
+ "github.com/soda/multi-cloud/api/pkg/utils/constants"
)
var enforcer *Enforcer
diff --git a/api/pkg/policy/policy_test.go b/api/pkg/policy/policy_test.go
index 281970023..fce22aaa8 100644
--- a/api/pkg/policy/policy_test.go
+++ b/api/pkg/policy/policy_test.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License. You may obtain
diff --git a/api/pkg/s3/abortmultipartupload.go b/api/pkg/s3/abortmultipartupload.go
index 441bcd378..2f5f97d77 100644
--- a/api/pkg/s3/abortmultipartupload.go
+++ b/api/pkg/s3/abortmultipartupload.go
@@ -4,8 +4,8 @@ import (
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ pb "github.com/soda/multi-cloud/s3/proto"
)
func (s *APIService) AbortMultipartUpload(request *restful.Request, response *restful.Response) {
diff --git a/api/pkg/s3/acl.go b/api/pkg/s3/acl.go
index f70c2e3c6..532d53f4f 100644
--- a/api/pkg/s3/acl.go
+++ b/api/pkg/s3/acl.go
@@ -5,8 +5,8 @@ import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- . "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ . "github.com/soda/multi-cloud/api/pkg/s3/datatype"
)
func getAclFromHeader(request *restful.Request) (acl Acl, err error) {
diff --git a/api/pkg/s3/api-headers.go b/api/pkg/s3/api-headers.go
index b5d41c3c0..c4a24bd00 100644
--- a/api/pkg/s3/api-headers.go
+++ b/api/pkg/s3/api-headers.go
@@ -25,9 +25,9 @@ import (
"github.com/emicklei/go-restful"
- . "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- "github.com/opensds/multi-cloud/s3/pkg/meta/types"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ . "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ "github.com/soda/multi-cloud/s3/pkg/meta/types"
+ pb "github.com/soda/multi-cloud/s3/proto"
)
// Refer: https://docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonResponseHeaders.html
diff --git a/api/pkg/s3/api-response.go b/api/pkg/s3/api-response.go
index 35be1854f..4ba6f9fc8 100644
--- a/api/pkg/s3/api-response.go
+++ b/api/pkg/s3/api-response.go
@@ -27,9 +27,9 @@ import (
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
- . "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
+ . "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
)
const (
diff --git a/api/pkg/s3/bucketacl.go b/api/pkg/s3/bucketacl.go
index ebb5e0b82..93c9784bd 100644
--- a/api/pkg/s3/bucketacl.go
+++ b/api/pkg/s3/bucketacl.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -24,10 +24,10 @@ import (
"github.com/journeymidnight/yig/helper"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- s3error "github.com/opensds/multi-cloud/s3/error"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ s3error "github.com/soda/multi-cloud/s3/error"
+ pb "github.com/soda/multi-cloud/s3/proto"
)
func (s *APIService) BucketAclPut(request *restful.Request, response *restful.Response) {
diff --git a/api/pkg/s3/bucketdelete.go b/api/pkg/s3/bucketdelete.go
index 8e8a73091..87d13b670 100644
--- a/api/pkg/s3/bucketdelete.go
+++ b/api/pkg/s3/bucketdelete.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -18,8 +18,8 @@ import (
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- s3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ s3 "github.com/soda/multi-cloud/s3/proto"
)
func (s *APIService) BucketDelete(request *restful.Request, response *restful.Response) {
diff --git a/api/pkg/s3/bucketget.go b/api/pkg/s3/bucketget.go
index 46e78a415..661f1244a 100644
--- a/api/pkg/s3/bucketget.go
+++ b/api/pkg/s3/bucketget.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -23,13 +23,13 @@ import (
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- "github.com/opensds/multi-cloud/api/pkg/utils/constants"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- s3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ "github.com/soda/multi-cloud/api/pkg/utils/constants"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ s3 "github.com/soda/multi-cloud/s3/proto"
)
func (s *APIService) BucketGet(request *restful.Request, response *restful.Response) {
diff --git a/api/pkg/s3/bucketlifecycledelete.go b/api/pkg/s3/bucketlifecycledelete.go
index 2fa94cb86..4f88fa3f5 100644
--- a/api/pkg/s3/bucketlifecycledelete.go
+++ b/api/pkg/s3/bucketlifecycledelete.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -18,8 +18,8 @@ import (
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- s3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ s3 "github.com/soda/multi-cloud/s3/proto"
)
func (s *APIService) BucketLifecycleDelete(request *restful.Request, response *restful.Response) {
diff --git a/api/pkg/s3/bucketlifecycleget.go b/api/pkg/s3/bucketlifecycleget.go
index 547a2ec1e..23b6f8323 100644
--- a/api/pkg/s3/bucketlifecycleget.go
+++ b/api/pkg/s3/bucketlifecycleget.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -20,11 +20,11 @@ import (
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- . "github.com/opensds/multi-cloud/api/pkg/utils/constants"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- s3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ . "github.com/soda/multi-cloud/api/pkg/utils/constants"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ s3 "github.com/soda/multi-cloud/s3/proto"
)
//Convert function from storage tier to storage class for XML format output
diff --git a/api/pkg/s3/bucketlifecycleput.go b/api/pkg/s3/bucketlifecycleput.go
index 25e3a58ca..16e08f778 100644
--- a/api/pkg/s3/bucketlifecycleput.go
+++ b/api/pkg/s3/bucketlifecycleput.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -27,12 +27,12 @@ import (
log "github.com/sirupsen/logrus"
"golang.org/x/net/context"
- "github.com/opensds/multi-cloud/api/pkg/common"
- . "github.com/opensds/multi-cloud/api/pkg/utils/constants"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- s3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ . "github.com/soda/multi-cloud/api/pkg/utils/constants"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ s3 "github.com/soda/multi-cloud/s3/proto"
)
// Map from storage calss to tier
diff --git a/api/pkg/s3/bucketput.go b/api/pkg/s3/bucketput.go
index da741001d..c31cbb4cf 100644
--- a/api/pkg/s3/bucketput.go
+++ b/api/pkg/s3/bucketput.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -19,12 +19,12 @@ import (
"strings"
"time"
- "github.com/opensds/multi-cloud/api/pkg/common"
- c "github.com/opensds/multi-cloud/api/pkg/context"
- s3error "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- s3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ c "github.com/soda/multi-cloud/api/pkg/context"
+ s3error "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ s3 "github.com/soda/multi-cloud/s3/proto"
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
diff --git a/api/pkg/s3/bucketsseput.go b/api/pkg/s3/bucketsseput.go
index e3e9841af..f29173fc7 100644
--- a/api/pkg/s3/bucketsseput.go
+++ b/api/pkg/s3/bucketsseput.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -24,9 +24,9 @@ import (
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- s3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ s3 "github.com/soda/multi-cloud/s3/proto"
)
// Map from storage calss to tier
diff --git a/api/pkg/s3/bucketversioningput.go b/api/pkg/s3/bucketversioningput.go
index 60c955efd..7e0ee3e5f 100644
--- a/api/pkg/s3/bucketversioningput.go
+++ b/api/pkg/s3/bucketversioningput.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -18,11 +18,11 @@ import (
"crypto/md5"
"encoding/xml"
- "github.com/opensds/multi-cloud/api/pkg/common"
- s3error "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- s3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ s3error "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ s3 "github.com/soda/multi-cloud/s3/proto"
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
diff --git a/api/pkg/s3/completemultipartupload.go b/api/pkg/s3/completemultipartupload.go
index 1e2005000..c8dd2efd2 100644
--- a/api/pkg/s3/completemultipartupload.go
+++ b/api/pkg/s3/completemultipartupload.go
@@ -10,11 +10,11 @@ import (
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ pb "github.com/soda/multi-cloud/s3/proto"
- . "github.com/opensds/multi-cloud/s3/error"
+ . "github.com/soda/multi-cloud/s3/error"
)
func (s *APIService) CompleteMultipartUpload(request *restful.Request, response *restful.Response) {
diff --git a/api/pkg/s3/datatype/acl.go b/api/pkg/s3/datatype/acl.go
index 42d11b77c..8721d4e4a 100644
--- a/api/pkg/s3/datatype/acl.go
+++ b/api/pkg/s3/datatype/acl.go
@@ -5,8 +5,8 @@ import (
log "github.com/sirupsen/logrus"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
)
var ValidCannedAcl = []string{
diff --git a/api/pkg/s3/datatype/datetime.go b/api/pkg/s3/datatype/datetime.go
index 16a319a35..f223440d5 100644
--- a/api/pkg/s3/datatype/datetime.go
+++ b/api/pkg/s3/datatype/datetime.go
@@ -3,7 +3,7 @@ package datatype
import (
"time"
- s3error "github.com/opensds/multi-cloud/s3/error"
+ s3error "github.com/soda/multi-cloud/s3/error"
)
const (
diff --git a/api/pkg/s3/handler-utils.go b/api/pkg/s3/handler-utils.go
index ce0cb7282..13804167e 100644
--- a/api/pkg/s3/handler-utils.go
+++ b/api/pkg/s3/handler-utils.go
@@ -23,9 +23,9 @@ import (
"net/http"
"strings"
- . "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
+ . "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
)
// validates location constraint from the request body.
diff --git a/api/pkg/s3/lifecycleerrorcodes.go b/api/pkg/s3/lifecycleerrorcodes.go
index fabe66dad..8355466d4 100644
--- a/api/pkg/s3/lifecycleerrorcodes.go
+++ b/api/pkg/s3/lifecycleerrorcodes.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/api/pkg/s3/listbuckets.go b/api/pkg/s3/listbuckets.go
index 6005b2cd5..3fd919fe3 100644
--- a/api/pkg/s3/listbuckets.go
+++ b/api/pkg/s3/listbuckets.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -20,11 +20,11 @@ import (
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature"
- . "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- s3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature"
+ . "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ s3 "github.com/soda/multi-cloud/s3/proto"
)
func parseListBuckets(list *s3.ListBucketsResponse) ListBucketsResponse {
diff --git a/api/pkg/s3/listbucketuploadrecrds.go b/api/pkg/s3/listbucketuploadrecrds.go
index 1dd1fcdab..69de95b8c 100644
--- a/api/pkg/s3/listbucketuploadrecrds.go
+++ b/api/pkg/s3/listbucketuploadrecrds.go
@@ -7,10 +7,10 @@ import (
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- s3error "github.com/opensds/multi-cloud/s3/error"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ s3error "github.com/soda/multi-cloud/s3/error"
+ pb "github.com/soda/multi-cloud/s3/proto"
)
func (s *APIService) ListBucketUploadRecords(request *restful.Request, response *restful.Response) {
diff --git a/api/pkg/s3/listobjectparts.go b/api/pkg/s3/listobjectparts.go
index 9da663ce5..121327d2c 100644
--- a/api/pkg/s3/listobjectparts.go
+++ b/api/pkg/s3/listobjectparts.go
@@ -4,9 +4,9 @@ import (
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ pb "github.com/soda/multi-cloud/s3/proto"
)
func (s *APIService) ListObjectParts(request *restful.Request, response *restful.Response) {
diff --git a/api/pkg/s3/liststorageclasses.go b/api/pkg/s3/liststorageclasses.go
index d96ae93e9..ff76288e6 100644
--- a/api/pkg/s3/liststorageclasses.go
+++ b/api/pkg/s3/liststorageclasses.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -21,10 +21,10 @@ import (
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- s3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ s3 "github.com/soda/multi-cloud/s3/proto"
)
func (s *APIService) GetStorageClasses(request *restful.Request, response *restful.Response) {
diff --git a/api/pkg/s3/multipartuploadinit.go b/api/pkg/s3/multipartuploadinit.go
index a5005534d..a8fd45fca 100644
--- a/api/pkg/s3/multipartuploadinit.go
+++ b/api/pkg/s3/multipartuploadinit.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -18,10 +18,10 @@ import (
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ pb "github.com/soda/multi-cloud/s3/proto"
- . "github.com/opensds/multi-cloud/s3/error"
+ . "github.com/soda/multi-cloud/s3/error"
)
func (s *APIService) MultiPartUploadInit(request *restful.Request, response *restful.Response) {
diff --git a/api/pkg/s3/object-handlers-common.go b/api/pkg/s3/object-handlers-common.go
index a9ab068d9..e3530fe61 100755
--- a/api/pkg/s3/object-handlers-common.go
+++ b/api/pkg/s3/object-handlers-common.go
@@ -21,8 +21,8 @@ import (
"strings"
"time"
- . "github.com/opensds/multi-cloud/s3/error"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ . "github.com/soda/multi-cloud/s3/error"
+ pb "github.com/soda/multi-cloud/s3/proto"
)
// Validates the preconditions for CopyObject, returns nil if validates
diff --git a/api/pkg/s3/objectacl.go b/api/pkg/s3/objectacl.go
index 36a97055a..edd84e17c 100644
--- a/api/pkg/s3/objectacl.go
+++ b/api/pkg/s3/objectacl.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -24,10 +24,10 @@ import (
"github.com/journeymidnight/yig/helper"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- s3error "github.com/opensds/multi-cloud/s3/error"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ s3error "github.com/soda/multi-cloud/s3/error"
+ pb "github.com/soda/multi-cloud/s3/proto"
)
func (s *APIService) ObjectAclPut(request *restful.Request, response *restful.Response) {
diff --git a/api/pkg/s3/objectcopy.go b/api/pkg/s3/objectcopy.go
index ef0d7ab00..963b66255 100644
--- a/api/pkg/s3/objectcopy.go
+++ b/api/pkg/s3/objectcopy.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -23,12 +23,12 @@ import (
"github.com/micro/go-micro/v2/client"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- apiutils "github.com/opensds/multi-cloud/api/pkg/utils"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/meta/types"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ apiutils "github.com/soda/multi-cloud/api/pkg/utils"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/meta/types"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ pb "github.com/soda/multi-cloud/s3/proto"
)
func getTierFromHeader(request *restful.Request) (types.StorageClass, error) {
diff --git a/api/pkg/s3/objectdelete.go b/api/pkg/s3/objectdelete.go
index 0a1cc1b8b..07520d536 100644
--- a/api/pkg/s3/objectdelete.go
+++ b/api/pkg/s3/objectdelete.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -17,9 +17,9 @@ package s3
import (
"strings"
- "github.com/opensds/multi-cloud/api/pkg/common"
- s3error "github.com/opensds/multi-cloud/s3/error"
- s3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ s3error "github.com/soda/multi-cloud/s3/error"
+ s3 "github.com/soda/multi-cloud/s3/proto"
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
diff --git a/api/pkg/s3/objectget.go b/api/pkg/s3/objectget.go
index f24165cf7..9f85d3327 100644
--- a/api/pkg/s3/objectget.go
+++ b/api/pkg/s3/objectget.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -24,11 +24,11 @@ import (
"github.com/micro/go-micro/v2/client"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- . "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- "github.com/opensds/multi-cloud/api/pkg/utils"
- s3error "github.com/opensds/multi-cloud/s3/error"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ . "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ "github.com/soda/multi-cloud/api/pkg/utils"
+ s3error "github.com/soda/multi-cloud/s3/error"
+ pb "github.com/soda/multi-cloud/s3/proto"
)
// supportedGetReqParams - supported request parameters for GET presigned request.
diff --git a/api/pkg/s3/objectpartcopy.go b/api/pkg/s3/objectpartcopy.go
index ede18906c..aa0686b37 100644
--- a/api/pkg/s3/objectpartcopy.go
+++ b/api/pkg/s3/objectpartcopy.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -22,13 +22,13 @@ import (
"github.com/emicklei/go-restful"
"github.com/journeymidnight/yig/helper"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- . "github.com/opensds/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ . "github.com/soda/multi-cloud/s3/error"
log "github.com/sirupsen/logrus"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ pb "github.com/soda/multi-cloud/s3/proto"
)
// ObjectPartCopy copy object from http header x-amz-copy-source as a part for multipart
diff --git a/api/pkg/s3/objectpost.go b/api/pkg/s3/objectpost.go
index 0979d9a6c..db9e98847 100644
--- a/api/pkg/s3/objectpost.go
+++ b/api/pkg/s3/objectpost.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -20,14 +20,14 @@ import (
"net/url"
"strconv"
- "github.com/opensds/multi-cloud/api/pkg/common"
- c "github.com/opensds/multi-cloud/api/pkg/context"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature/credentials"
- "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- s3error "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
- s3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ c "github.com/soda/multi-cloud/api/pkg/context"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature/credentials"
+ "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ s3error "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
+ s3 "github.com/soda/multi-cloud/s3/proto"
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
diff --git a/api/pkg/s3/objectput.go b/api/pkg/s3/objectput.go
index 2f6e95165..35b6affce 100644
--- a/api/pkg/s3/objectput.go
+++ b/api/pkg/s3/objectput.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -24,11 +24,11 @@ import (
"strconv"
"strings"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature"
- backend "github.com/opensds/multi-cloud/backend/proto"
- s3error "github.com/opensds/multi-cloud/s3/error"
- s3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature"
+ backend "github.com/soda/multi-cloud/backend/proto"
+ s3error "github.com/soda/multi-cloud/s3/error"
+ s3 "github.com/soda/multi-cloud/s3/proto"
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
diff --git a/api/pkg/s3/objectrestore.go b/api/pkg/s3/objectrestore.go
index bd08e7332..79fac4638 100644
--- a/api/pkg/s3/objectrestore.go
+++ b/api/pkg/s3/objectrestore.go
@@ -1,4 +1,4 @@
-// Copyright 2020 The OpenSDS Authors.
+// Copyright 2020 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -21,11 +21,11 @@ import (
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- backend "github.com/opensds/multi-cloud/backend/proto"
- s3error "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- s3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ backend "github.com/soda/multi-cloud/backend/proto"
+ s3error "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ s3 "github.com/soda/multi-cloud/s3/proto"
)
//FIXME: This const values are declared for tiering feature. Later this can be read from config file
diff --git a/api/pkg/s3/routbucketdelete.go b/api/pkg/s3/routbucketdelete.go
index f5ed3ab94..66e07e0e8 100644
--- a/api/pkg/s3/routbucketdelete.go
+++ b/api/pkg/s3/routbucketdelete.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@ package s3
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature"
)
func (s *APIService) RouteBucketDelete(request *restful.Request, response *restful.Response) {
diff --git a/api/pkg/s3/routbucketget.go b/api/pkg/s3/routbucketget.go
index 54082d81a..61df68f06 100644
--- a/api/pkg/s3/routbucketget.go
+++ b/api/pkg/s3/routbucketget.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -17,8 +17,8 @@ package s3
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature"
- . "github.com/opensds/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature"
+ . "github.com/soda/multi-cloud/s3/error"
)
func (s *APIService) RouteBucketGet(request *restful.Request, response *restful.Response) {
diff --git a/api/pkg/s3/routbuckethead.go b/api/pkg/s3/routbuckethead.go
index 8684de4ca..b5182d279 100644
--- a/api/pkg/s3/routbuckethead.go
+++ b/api/pkg/s3/routbuckethead.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@ package s3
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature"
)
func (s *APIService) RouteBucketHead(request *restful.Request, response *restful.Response) {
diff --git a/api/pkg/s3/routbucketput.go b/api/pkg/s3/routbucketput.go
index 419e6faad..81304c751 100644
--- a/api/pkg/s3/routbucketput.go
+++ b/api/pkg/s3/routbucketput.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@ package s3
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature"
)
func (s *APIService) RouteBucketPut(request *restful.Request, response *restful.Response) {
diff --git a/api/pkg/s3/routeobjectdelete.go b/api/pkg/s3/routeobjectdelete.go
index 93618b0e8..a95e33196 100644
--- a/api/pkg/s3/routeobjectdelete.go
+++ b/api/pkg/s3/routeobjectdelete.go
@@ -3,7 +3,7 @@ package s3
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature"
)
func (s *APIService) RouteObjectDelete(request *restful.Request, response *restful.Response) {
diff --git a/api/pkg/s3/routeobjectget.go b/api/pkg/s3/routeobjectget.go
index 8a59c30bf..41c416278 100644
--- a/api/pkg/s3/routeobjectget.go
+++ b/api/pkg/s3/routeobjectget.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@ package s3
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature"
)
func (s *APIService) RouteObjectGet(request *restful.Request, response *restful.Response) {
diff --git a/api/pkg/s3/routeobjecthead.go b/api/pkg/s3/routeobjecthead.go
index f2e4e942d..d9d22ef0a 100644
--- a/api/pkg/s3/routeobjecthead.go
+++ b/api/pkg/s3/routeobjecthead.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@ package s3
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature"
)
func (s *APIService) RouteObjectHead(request *restful.Request, response *restful.Response) {
diff --git a/api/pkg/s3/routeobjectpost.go b/api/pkg/s3/routeobjectpost.go
index 23711bf9b..1e71a5fd4 100644
--- a/api/pkg/s3/routeobjectpost.go
+++ b/api/pkg/s3/routeobjectpost.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -19,8 +19,8 @@ import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature"
)
const (
diff --git a/api/pkg/s3/routeobjectput.go b/api/pkg/s3/routeobjectput.go
index d59abd6f0..62fa36ebc 100644
--- a/api/pkg/s3/routeobjectput.go
+++ b/api/pkg/s3/routeobjectput.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -18,8 +18,8 @@ import (
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature"
- s3error "github.com/opensds/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature"
+ s3error "github.com/soda/multi-cloud/s3/error"
)
const (
diff --git a/api/pkg/s3/router.go b/api/pkg/s3/router.go
index e835e2250..48a088c47 100644
--- a/api/pkg/s3/router.go
+++ b/api/pkg/s3/router.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/api/pkg/s3/service.go b/api/pkg/s3/service.go
index e538c48ed..ebb620ca2 100644
--- a/api/pkg/s3/service.go
+++ b/api/pkg/s3/service.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -25,14 +25,14 @@ import (
"github.com/micro/go-micro/v2/client"
- backend "github.com/opensds/multi-cloud/backend/proto"
- s3error "github.com/opensds/multi-cloud/s3/error"
- s3 "github.com/opensds/multi-cloud/s3/proto"
+ backend "github.com/soda/multi-cloud/backend/proto"
+ s3error "github.com/soda/multi-cloud/s3/error"
+ s3 "github.com/soda/multi-cloud/s3/proto"
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/common"
)
const (
diff --git a/api/pkg/s3/uploadpart.go b/api/pkg/s3/uploadpart.go
index 510357b30..22ec69b16 100644
--- a/api/pkg/s3/uploadpart.go
+++ b/api/pkg/s3/uploadpart.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -20,10 +20,10 @@ import (
"io"
"strconv"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature"
- s3error "github.com/opensds/multi-cloud/s3/error"
- s3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature"
+ s3error "github.com/soda/multi-cloud/s3/error"
+ s3 "github.com/soda/multi-cloud/s3/proto"
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
diff --git a/api/pkg/utils/config/config.go b/api/pkg/utils/config/config.go
index 557903f33..0ce310b42 100644
--- a/api/pkg/utils/config/config.go
+++ b/api/pkg/utils/config/config.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -192,7 +192,7 @@ func GetDefaultConfig() *Config {
}
func (c *Config) Load(confFile string) {
- gflag.StringVar(&confFile, "config-file", confFile, "The configuration file of OpenSDS")
+ gflag.StringVar(&confFile, "config-file", confFile, "The configuration file of soda")
c.Flag.Parse()
initConf(confFile, CONF)
c.Flag.AssignValue()
diff --git a/api/pkg/utils/config/config_define.go b/api/pkg/utils/config/config_define.go
index f87c42e84..3c5d3a460 100644
--- a/api/pkg/utils/config/config_define.go
+++ b/api/pkg/utils/config/config_define.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -22,7 +22,7 @@ type OsdsLet struct {
SocketOrder string `conf:"socket_order"`
AuthStrategy string `conf:"auth_strategy,noauth"`
Daemon bool `conf:"daemon,false"`
- PolicyPath string `conf:"policy_path,/etc/opensds/policy.json"`
+ PolicyPath string `conf:"policy_path,/etc/soda/policy.json"`
}
type OsdsDock struct {
diff --git a/api/pkg/utils/config/flag.go b/api/pkg/utils/config/flag.go
index a17d864b0..d7d4bf801 100644
--- a/api/pkg/utils/config/flag.go
+++ b/api/pkg/utils/config/flag.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/api/pkg/utils/config/flag_test.go b/api/pkg/utils/config/flag_test.go
index 1da0271f2..0576d0298 100644
--- a/api/pkg/utils/config/flag_test.go
+++ b/api/pkg/utils/config/flag_test.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/api/pkg/utils/constants/constants.go b/api/pkg/utils/constants/constants.go
index 31ea2e73d..6c04da8ef 100644
--- a/api/pkg/utils/constants/constants.go
+++ b/api/pkg/utils/constants/constants.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -25,7 +25,7 @@ const (
)
const (
- StorageClassOpenSDSStandard = "STANDARD"
+ StorageClasssodaStandard = "STANDARD"
StorageClassAWSStandard = "STANDARD"
)
diff --git a/api/pkg/utils/obs/log.go b/api/pkg/utils/obs/log.go
index 7f0ac1502..131e8768f 100644
--- a/api/pkg/utils/obs/log.go
+++ b/api/pkg/utils/obs/log.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/api/pkg/utils/utils.go b/api/pkg/utils/utils.go
index e6c643e1b..add39db56 100644
--- a/api/pkg/utils/utils.go
+++ b/api/pkg/utils/utils.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/api/pkg/utils/utils_test.go b/api/pkg/utils/utils_test.go
index 987273baa..eff195cbd 100644
--- a/api/pkg/utils/utils_test.go
+++ b/api/pkg/utils/utils_test.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/backend/cmd/backendcov.html b/backend/cmd/backendcov.html
index 6542e85f8..65c63c958 100644
--- a/backend/cmd/backendcov.html
+++ b/backend/cmd/backendcov.html
@@ -54,41 +54,41 @@
@@ -102,7 +102,7 @@
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -126,7 +126,7 @@
"github.com/emicklei/go-restful"
"github.com/micro/go-micro/metadata"
- c "github.com/opensds/multi-cloud/api/pkg/context"
+ c "github.com/soda/multi-cloud/api/pkg/context"
log "github.com/sirupsen/logrus"
)
@@ -263,7 +263,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License. You may obtain
@@ -2921,7 +2921,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -4736,7 +4736,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -4757,11 +4757,11 @@
"os"
micro "github.com/micro/go-micro"
- "github.com/opensds/multi-cloud/backend/pkg/db"
- handler "github.com/opensds/multi-cloud/backend/pkg/service"
- "github.com/opensds/multi-cloud/backend/pkg/utils/config"
- pb "github.com/opensds/multi-cloud/backend/proto"
- "github.com/opensds/multi-cloud/api/pkg/utils/obs"
+ "github.com/soda/multi-cloud/backend/pkg/db"
+ handler "github.com/soda/multi-cloud/backend/pkg/service"
+ "github.com/soda/multi-cloud/backend/pkg/utils/config"
+ pb "github.com/soda/multi-cloud/backend/proto"
+ "github.com/soda/multi-cloud/api/pkg/utils/obs"
)
func main() {
@@ -4785,7 +4785,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -4804,9 +4804,9 @@
import (
"fmt"
"context"
- "github.com/opensds/multi-cloud/backend/pkg/db/drivers/mongo"
- "github.com/opensds/multi-cloud/backend/pkg/model"
- "github.com/opensds/multi-cloud/backend/pkg/utils/config"
+ "github.com/soda/multi-cloud/backend/pkg/db/drivers/mongo"
+ "github.com/soda/multi-cloud/backend/pkg/model"
+ "github.com/soda/multi-cloud/backend/pkg/utils/config"
)
type Repository interface {
@@ -4840,7 +4840,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -4866,8 +4866,8 @@
"github.com/globalsign/mgo/bson"
log "github.com/sirupsen/logrus"
"github.com/micro/go-micro/metadata"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/backend/pkg/model"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/backend/pkg/model"
)
type mongoRepository struct {
@@ -5024,7 +5024,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -5046,10 +5046,10 @@
"fmt"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/backend/pkg/db"
- "github.com/opensds/multi-cloud/backend/pkg/model"
- "github.com/opensds/multi-cloud/backend/pkg/utils/constants"
- pb "github.com/opensds/multi-cloud/backend/proto"
+ "github.com/soda/multi-cloud/backend/pkg/db"
+ "github.com/soda/multi-cloud/backend/pkg/model"
+ "github.com/soda/multi-cloud/backend/pkg/utils/constants"
+ pb "github.com/soda/multi-cloud/backend/proto"
)
type backendService struct{}
diff --git a/backend/cmd/main.go b/backend/cmd/main.go
index 9e90f623c..c2c45084d 100644
--- a/backend/cmd/main.go
+++ b/backend/cmd/main.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -20,11 +20,11 @@ import (
micro "github.com/micro/go-micro/v2"
- "github.com/opensds/multi-cloud/api/pkg/utils/obs"
- "github.com/opensds/multi-cloud/backend/pkg/db"
- handler "github.com/opensds/multi-cloud/backend/pkg/service"
- "github.com/opensds/multi-cloud/backend/pkg/utils/config"
- pb "github.com/opensds/multi-cloud/backend/proto"
+ "github.com/soda/multi-cloud/api/pkg/utils/obs"
+ "github.com/soda/multi-cloud/backend/pkg/db"
+ handler "github.com/soda/multi-cloud/backend/pkg/service"
+ "github.com/soda/multi-cloud/backend/pkg/utils/config"
+ pb "github.com/soda/multi-cloud/backend/proto"
)
const (
diff --git a/backend/hooks/pre_build b/backend/hooks/pre_build
index cc4875f43..2c4c88120 100644
--- a/backend/hooks/pre_build
+++ b/backend/hooks/pre_build
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2019 The OpenSDS Authors.
+# Copyright 2019 The soda Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -22,8 +22,8 @@ echo 'export PATH=$PATH:/usr/local/go/bin' >> /etc/profile
echo 'export GOPATH=$HOME/gopath' >> /etc/profile
source /etc/profile
cd $HOME
-mkdir -p gopath/src/github.com/opensds/multi-cloud
-cd gopath/src/github.com/opensds/multi-cloud
+mkdir -p gopath/src/github.com/soda/multi-cloud
+cd gopath/src/github.com/soda/multi-cloud
cp -r ${BASE_DIR}/* .
make docker
cp backend/backend ${BASE_DIR}/backend
diff --git a/backend/pkg/db/db.go b/backend/pkg/db/db.go
index 81768a28a..fda53991e 100644
--- a/backend/pkg/db/db.go
+++ b/backend/pkg/db/db.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -18,9 +18,9 @@ import (
"context"
"fmt"
- "github.com/opensds/multi-cloud/backend/pkg/db/drivers/mongo"
- "github.com/opensds/multi-cloud/backend/pkg/model"
- "github.com/opensds/multi-cloud/backend/pkg/utils/config"
+ "github.com/soda/multi-cloud/backend/pkg/db/drivers/mongo"
+ "github.com/soda/multi-cloud/backend/pkg/model"
+ "github.com/soda/multi-cloud/backend/pkg/utils/config"
)
type Repository interface {
diff --git a/backend/pkg/db/drivers/mongo/mongo.go b/backend/pkg/db/drivers/mongo/mongo.go
index 26b14f92e..17297e2d3 100644
--- a/backend/pkg/db/drivers/mongo/mongo.go
+++ b/backend/pkg/db/drivers/mongo/mongo.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -25,8 +25,8 @@ import (
"github.com/micro/go-micro/v2/metadata"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/backend/pkg/model"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/backend/pkg/model"
)
type mongoRepository struct {
diff --git a/backend/pkg/model/model.go b/backend/pkg/model/model.go
index 68b38ebaa..305888f75 100644
--- a/backend/pkg/model/model.go
+++ b/backend/pkg/model/model.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/backend/pkg/service/service.go b/backend/pkg/service/service.go
index 975441ff4..16d3e48d8 100644
--- a/backend/pkg/service/service.go
+++ b/backend/pkg/service/service.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -21,10 +21,10 @@ import (
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/backend/pkg/db"
- "github.com/opensds/multi-cloud/backend/pkg/model"
- "github.com/opensds/multi-cloud/backend/pkg/utils/constants"
- pb "github.com/opensds/multi-cloud/backend/proto"
+ "github.com/soda/multi-cloud/backend/pkg/db"
+ "github.com/soda/multi-cloud/backend/pkg/model"
+ "github.com/soda/multi-cloud/backend/pkg/utils/constants"
+ pb "github.com/soda/multi-cloud/backend/proto"
)
type backendService struct{}
diff --git a/backend/pkg/service/service_test.go b/backend/pkg/service/service_test.go
index f27d440c5..dec5a261a 100644
--- a/backend/pkg/service/service_test.go
+++ b/backend/pkg/service/service_test.go
@@ -21,12 +21,12 @@ import (
"github.com/stretchr/testify/mock"
- "github.com/opensds/multi-cloud/backend/pkg/db"
- "github.com/opensds/multi-cloud/backend/pkg/model"
- "github.com/opensds/multi-cloud/backend/pkg/utils/constants"
- pb "github.com/opensds/multi-cloud/backend/proto"
- "github.com/opensds/multi-cloud/testutils/backend/collection"
- mockrepo "github.com/opensds/multi-cloud/testutils/backend/db/testing"
+ "github.com/soda/multi-cloud/backend/pkg/db"
+ "github.com/soda/multi-cloud/backend/pkg/model"
+ "github.com/soda/multi-cloud/backend/pkg/utils/constants"
+ pb "github.com/soda/multi-cloud/backend/proto"
+ "github.com/soda/multi-cloud/testutils/backend/collection"
+ mockrepo "github.com/soda/multi-cloud/testutils/backend/db/testing"
)
type MockBackendService struct {
diff --git a/backend/pkg/utils/config/config.go b/backend/pkg/utils/config/config.go
index 482d965aa..9d0c7fd52 100644
--- a/backend/pkg/utils/config/config.go
+++ b/backend/pkg/utils/config/config.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/backend/pkg/utils/constants/constants.go b/backend/pkg/utils/constants/constants.go
index 8655efa96..f0c58bf2a 100644
--- a/backend/pkg/utils/constants/constants.go
+++ b/backend/pkg/utils/constants/constants.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/block/cmd/main.go b/block/cmd/main.go
index 94bc6ff76..8d832cbaa 100644
--- a/block/cmd/main.go
+++ b/block/cmd/main.go
@@ -20,15 +20,15 @@ import (
"github.com/micro/go-micro/v2"
- "github.com/opensds/multi-cloud/api/pkg/utils/obs"
- "github.com/opensds/multi-cloud/block/pkg/db"
- "github.com/opensds/multi-cloud/block/pkg/utils/config"
- _ "github.com/opensds/multi-cloud/contrib/datastore"
+ "github.com/soda/multi-cloud/api/pkg/utils/obs"
+ "github.com/soda/multi-cloud/block/pkg/db"
+ "github.com/soda/multi-cloud/block/pkg/utils/config"
+ _ "github.com/soda/multi-cloud/contrib/datastore"
log "github.com/sirupsen/logrus"
- handler "github.com/opensds/multi-cloud/block/pkg/service"
- pb "github.com/opensds/multi-cloud/block/proto"
+ handler "github.com/soda/multi-cloud/block/pkg/service"
+ pb "github.com/soda/multi-cloud/block/proto"
)
const (
diff --git a/block/pkg/db/db.go b/block/pkg/db/db.go
index afb18b9a9..3db578a6b 100644
--- a/block/pkg/db/db.go
+++ b/block/pkg/db/db.go
@@ -18,9 +18,9 @@ import (
"context"
"fmt"
- "github.com/opensds/multi-cloud/block/pkg/db/drivers/mongo"
- "github.com/opensds/multi-cloud/block/pkg/model"
- "github.com/opensds/multi-cloud/block/pkg/utils/config"
+ "github.com/soda/multi-cloud/block/pkg/db/drivers/mongo"
+ "github.com/soda/multi-cloud/block/pkg/model"
+ "github.com/soda/multi-cloud/block/pkg/utils/config"
)
// DbAdapter is a global variable that controls database module.
diff --git a/block/pkg/db/drivers/mongo/mongo.go b/block/pkg/db/drivers/mongo/mongo.go
index 623fcf4e9..a6f998201 100644
--- a/block/pkg/db/drivers/mongo/mongo.go
+++ b/block/pkg/db/drivers/mongo/mongo.go
@@ -25,8 +25,8 @@ import (
"github.com/micro/go-micro/v2/metadata"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/block/pkg/model"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/block/pkg/model"
)
var adapter = &mongoAdapter{}
diff --git a/block/pkg/service/service.go b/block/pkg/service/service.go
index e371669be..1e767ee53 100644
--- a/block/pkg/service/service.go
+++ b/block/pkg/service/service.go
@@ -21,15 +21,15 @@ import (
"os"
"time"
- "github.com/opensds/multi-cloud/backend/pkg/utils/constants"
- backend "github.com/opensds/multi-cloud/backend/proto"
- "github.com/opensds/multi-cloud/block/pkg/db"
- "github.com/opensds/multi-cloud/block/pkg/model"
- "github.com/opensds/multi-cloud/block/pkg/utils"
- block "github.com/opensds/multi-cloud/block/proto"
- "github.com/opensds/multi-cloud/contrib/datastore/block/common"
- "github.com/opensds/multi-cloud/contrib/datastore/block/driver"
- driverutils "github.com/opensds/multi-cloud/contrib/utils"
+ "github.com/soda/multi-cloud/backend/pkg/utils/constants"
+ backend "github.com/soda/multi-cloud/backend/proto"
+ "github.com/soda/multi-cloud/block/pkg/db"
+ "github.com/soda/multi-cloud/block/pkg/model"
+ "github.com/soda/multi-cloud/block/pkg/utils"
+ block "github.com/soda/multi-cloud/block/proto"
+ "github.com/soda/multi-cloud/contrib/datastore/block/common"
+ "github.com/soda/multi-cloud/contrib/datastore/block/driver"
+ driverutils "github.com/soda/multi-cloud/contrib/utils"
"github.com/globalsign/mgo/bson"
"github.com/micro/go-micro/v2/client"
diff --git a/block/pkg/service/service_test.go b/block/pkg/service/service_test.go
index 997d6420c..ae37a9643 100644
--- a/block/pkg/service/service_test.go
+++ b/block/pkg/service/service_test.go
@@ -19,16 +19,16 @@ import (
"testing"
"time"
- backend "github.com/opensds/multi-cloud/backend/proto"
- "github.com/opensds/multi-cloud/block/pkg/db"
- "github.com/opensds/multi-cloud/block/pkg/utils"
- pb "github.com/opensds/multi-cloud/block/proto"
- _ "github.com/opensds/multi-cloud/contrib/datastore/block/aws"
- "github.com/opensds/multi-cloud/contrib/datastore/block/driver"
- driverutils "github.com/opensds/multi-cloud/contrib/utils"
- bkpb "github.com/opensds/multi-cloud/testutils/backend/proto"
- "github.com/opensds/multi-cloud/testutils/block/collection"
- mockrepo "github.com/opensds/multi-cloud/testutils/block/db/testing"
+ backend "github.com/soda/multi-cloud/backend/proto"
+ "github.com/soda/multi-cloud/block/pkg/db"
+ "github.com/soda/multi-cloud/block/pkg/utils"
+ pb "github.com/soda/multi-cloud/block/proto"
+ _ "github.com/soda/multi-cloud/contrib/datastore/block/aws"
+ "github.com/soda/multi-cloud/contrib/datastore/block/driver"
+ driverutils "github.com/soda/multi-cloud/contrib/utils"
+ bkpb "github.com/soda/multi-cloud/testutils/backend/proto"
+ "github.com/soda/multi-cloud/testutils/block/collection"
+ mockrepo "github.com/soda/multi-cloud/testutils/block/db/testing"
)
func TestGetVolume(t *testing.T) {
diff --git a/block/pkg/utils/utils.go b/block/pkg/utils/utils.go
index 19aa7453a..21c5ecbfa 100644
--- a/block/pkg/utils/utils.go
+++ b/block/pkg/utils/utils.go
@@ -20,10 +20,10 @@ import (
"fmt"
"strings"
- backend "github.com/opensds/multi-cloud/backend/proto"
- "github.com/opensds/multi-cloud/block/pkg/model"
- block "github.com/opensds/multi-cloud/block/proto"
- driverutils "github.com/opensds/multi-cloud/contrib/utils"
+ backend "github.com/soda/multi-cloud/backend/proto"
+ "github.com/soda/multi-cloud/block/pkg/model"
+ block "github.com/soda/multi-cloud/block/proto"
+ driverutils "github.com/soda/multi-cloud/contrib/utils"
pstruct "github.com/golang/protobuf/ptypes/struct"
log "github.com/sirupsen/logrus"
diff --git a/block/pkg/utils/utils_test.go b/block/pkg/utils/utils_test.go
index ce25a3967..e5f1734de 100644
--- a/block/pkg/utils/utils_test.go
+++ b/block/pkg/utils/utils_test.go
@@ -7,11 +7,11 @@ import (
pstruct "github.com/golang/protobuf/ptypes/struct"
- backend "github.com/opensds/multi-cloud/backend/proto"
- "github.com/opensds/multi-cloud/block/pkg/model"
- pb "github.com/opensds/multi-cloud/block/proto"
- bkpb "github.com/opensds/multi-cloud/testutils/backend/proto"
- "github.com/opensds/multi-cloud/testutils/block/collection"
+ backend "github.com/soda/multi-cloud/backend/proto"
+ "github.com/soda/multi-cloud/block/pkg/model"
+ pb "github.com/soda/multi-cloud/block/proto"
+ bkpb "github.com/soda/multi-cloud/testutils/backend/proto"
+ "github.com/soda/multi-cloud/testutils/block/collection"
)
func TestUpdateVolumeStruct(t *testing.T) {
diff --git a/block/proto/block.pb.go b/block/proto/block.pb.go
index 56de50e04..ec2e944e1 100644
--- a/block/proto/block.pb.go
+++ b/block/proto/block.pb.go
@@ -1,4 +1,4 @@
-// Copyright 2020 The OpenSDS Authors.
+// Copyright 2020 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/contrib/datastore/block/aws/aws.go b/contrib/datastore/block/aws/aws.go
index 1304c2889..6b9bb51b3 100644
--- a/contrib/datastore/block/aws/aws.go
+++ b/contrib/datastore/block/aws/aws.go
@@ -17,8 +17,8 @@ package aws
import (
"context"
- block "github.com/opensds/multi-cloud/block/proto"
- "github.com/opensds/multi-cloud/contrib/utils"
+ block "github.com/soda/multi-cloud/block/proto"
+ "github.com/soda/multi-cloud/contrib/utils"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
diff --git a/contrib/datastore/block/aws/constants.go b/contrib/datastore/block/aws/constants.go
index 621e39b8a..8c1b9a211 100644
--- a/contrib/datastore/block/aws/constants.go
+++ b/contrib/datastore/block/aws/constants.go
@@ -1,4 +1,4 @@
-// Copyright 2020 The OpenSDS Authors.
+// Copyright 2020 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/contrib/datastore/block/aws/factory.go b/contrib/datastore/block/aws/factory.go
index e57c4fbb2..d315972f7 100644
--- a/contrib/datastore/block/aws/factory.go
+++ b/contrib/datastore/block/aws/factory.go
@@ -20,10 +20,10 @@ import (
"github.com/aws/aws-sdk-go/aws/session"
"github.com/micro/go-micro/v2/util/log"
- "github.com/opensds/multi-cloud/backend/pkg/utils/constants"
- "github.com/opensds/multi-cloud/contrib/datastore/block/driver"
+ "github.com/soda/multi-cloud/backend/pkg/utils/constants"
+ "github.com/soda/multi-cloud/contrib/datastore/block/driver"
- backendpb "github.com/opensds/multi-cloud/backend/proto"
+ backendpb "github.com/soda/multi-cloud/backend/proto"
)
type AwsBlockDriverFactory struct {
diff --git a/contrib/datastore/block/common/constants.go b/contrib/datastore/block/common/constants.go
index 676388b94..df82fac39 100644
--- a/contrib/datastore/block/common/constants.go
+++ b/contrib/datastore/block/common/constants.go
@@ -1,4 +1,4 @@
-// Copyright 2020 The OpenSDS Authors.
+// Copyright 2020 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/contrib/datastore/block/driver/driver.go b/contrib/datastore/block/driver/driver.go
index 225284d45..d07b8efe1 100644
--- a/contrib/datastore/block/driver/driver.go
+++ b/contrib/datastore/block/driver/driver.go
@@ -17,7 +17,7 @@ package driver
import (
"context"
- block "github.com/opensds/multi-cloud/block/proto"
+ block "github.com/soda/multi-cloud/block/proto"
)
// define the block driver interface.
diff --git a/contrib/datastore/block/driver/factory.go b/contrib/datastore/block/driver/factory.go
index ac2e4e71b..b6d2fd4c5 100644
--- a/contrib/datastore/block/driver/factory.go
+++ b/contrib/datastore/block/driver/factory.go
@@ -15,8 +15,8 @@
package driver
import (
- backendpb "github.com/opensds/multi-cloud/backend/proto"
- exp "github.com/opensds/multi-cloud/block/pkg/exception"
+ backendpb "github.com/soda/multi-cloud/backend/proto"
+ exp "github.com/soda/multi-cloud/block/pkg/exception"
)
type DriverFactory interface {
diff --git a/contrib/datastore/block/hpc/factory.go b/contrib/datastore/block/hpc/factory.go
index d0c12b0a5..10e299194 100644
--- a/contrib/datastore/block/hpc/factory.go
+++ b/contrib/datastore/block/hpc/factory.go
@@ -18,9 +18,9 @@ import (
"errors"
"strings"
- "github.com/opensds/multi-cloud/backend/pkg/utils/constants"
- backend "github.com/opensds/multi-cloud/backend/proto"
- "github.com/opensds/multi-cloud/contrib/datastore/block/driver"
+ "github.com/soda/multi-cloud/backend/pkg/utils/constants"
+ backend "github.com/soda/multi-cloud/backend/proto"
+ "github.com/soda/multi-cloud/contrib/datastore/block/driver"
"github.com/huaweicloud/huaweicloud-sdk-go-v3/core/auth/basic"
"github.com/huaweicloud/huaweicloud-sdk-go-v3/core/config"
diff --git a/contrib/datastore/block/hpc/hpc.go b/contrib/datastore/block/hpc/hpc.go
index e30a93835..38f73086c 100644
--- a/contrib/datastore/block/hpc/hpc.go
+++ b/contrib/datastore/block/hpc/hpc.go
@@ -20,9 +20,9 @@ import (
"context"
"errors"
- block "github.com/opensds/multi-cloud/block/proto"
- "github.com/opensds/multi-cloud/contrib/datastore/block/common"
- "github.com/opensds/multi-cloud/contrib/utils"
+ block "github.com/soda/multi-cloud/block/proto"
+ "github.com/soda/multi-cloud/contrib/datastore/block/common"
+ "github.com/soda/multi-cloud/contrib/utils"
evs "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/evs/v2"
"github.com/huaweicloud/huaweicloud-sdk-go-v3/services/evs/v2/model"
diff --git a/contrib/datastore/file/aws/aws.go b/contrib/datastore/file/aws/aws.go
index 165c84ab1..38914b72b 100644
--- a/contrib/datastore/file/aws/aws.go
+++ b/contrib/datastore/file/aws/aws.go
@@ -24,11 +24,11 @@ import (
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/efs"
- "github.com/opensds/multi-cloud/contrib/utils"
+ "github.com/soda/multi-cloud/contrib/utils"
log "github.com/sirupsen/logrus"
- pb "github.com/opensds/multi-cloud/file/proto"
+ pb "github.com/soda/multi-cloud/file/proto"
)
type AwsAdapter struct {
diff --git a/contrib/datastore/file/aws/factory.go b/contrib/datastore/file/aws/factory.go
index 0b5528f01..ea47249c0 100644
--- a/contrib/datastore/file/aws/factory.go
+++ b/contrib/datastore/file/aws/factory.go
@@ -20,10 +20,10 @@ import (
"github.com/aws/aws-sdk-go/aws/session"
"github.com/micro/go-micro/v2/util/log"
- "github.com/opensds/multi-cloud/backend/pkg/utils/constants"
- "github.com/opensds/multi-cloud/contrib/datastore/file/driver"
+ "github.com/soda/multi-cloud/backend/pkg/utils/constants"
+ "github.com/soda/multi-cloud/contrib/datastore/file/driver"
- backendpb "github.com/opensds/multi-cloud/backend/proto"
+ backendpb "github.com/soda/multi-cloud/backend/proto"
)
type AwsFSDriverFactory struct {
diff --git a/contrib/datastore/file/azure/azure.go b/contrib/datastore/file/azure/azure.go
index 955748ca1..d06afcb62 100644
--- a/contrib/datastore/file/azure/azure.go
+++ b/contrib/datastore/file/azure/azure.go
@@ -25,13 +25,13 @@ import (
"github.com/Azure/azure-sdk-for-go/storage"
"github.com/Azure/azure-storage-file-go/azfile"
- "github.com/opensds/multi-cloud/contrib/utils"
+ "github.com/soda/multi-cloud/contrib/utils"
log "github.com/sirupsen/logrus"
- backendpb "github.com/opensds/multi-cloud/backend/proto"
- fileUtils "github.com/opensds/multi-cloud/file/pkg/utils"
- file "github.com/opensds/multi-cloud/file/proto"
+ backendpb "github.com/soda/multi-cloud/backend/proto"
+ fileUtils "github.com/soda/multi-cloud/file/pkg/utils"
+ file "github.com/soda/multi-cloud/file/proto"
)
// TryTimeout indicates the maximum time allowed for any single try of an HTTP request.
diff --git a/contrib/datastore/file/azure/factory.go b/contrib/datastore/file/azure/factory.go
index b44f86dee..3122cd25a 100644
--- a/contrib/datastore/file/azure/factory.go
+++ b/contrib/datastore/file/azure/factory.go
@@ -17,10 +17,10 @@ package azure
import (
"github.com/micro/go-micro/v2/util/log"
- "github.com/opensds/multi-cloud/backend/pkg/utils/constants"
- "github.com/opensds/multi-cloud/contrib/datastore/file/driver"
+ "github.com/soda/multi-cloud/backend/pkg/utils/constants"
+ "github.com/soda/multi-cloud/contrib/datastore/file/driver"
- backendpb "github.com/opensds/multi-cloud/backend/proto"
+ backendpb "github.com/soda/multi-cloud/backend/proto"
)
type AzureFSDriverFactory struct {
diff --git a/contrib/datastore/file/driver/driver.go b/contrib/datastore/file/driver/driver.go
index 62b2f199f..9b5d828a8 100644
--- a/contrib/datastore/file/driver/driver.go
+++ b/contrib/datastore/file/driver/driver.go
@@ -17,7 +17,7 @@ package driver
import (
"context"
- pb "github.com/opensds/multi-cloud/file/proto"
+ pb "github.com/soda/multi-cloud/file/proto"
)
// define the fileshare driver interface.
diff --git a/contrib/datastore/file/driver/factory.go b/contrib/datastore/file/driver/factory.go
index d92899dd2..66d91cdd0 100644
--- a/contrib/datastore/file/driver/factory.go
+++ b/contrib/datastore/file/driver/factory.go
@@ -15,8 +15,8 @@
package driver
import (
- backendpb "github.com/opensds/multi-cloud/backend/proto"
- exp "github.com/opensds/multi-cloud/s3/pkg/exception"
+ backendpb "github.com/soda/multi-cloud/backend/proto"
+ exp "github.com/soda/multi-cloud/s3/pkg/exception"
)
type DriverFactory interface {
diff --git a/contrib/datastore/file/gcp/factory.go b/contrib/datastore/file/gcp/factory.go
index 080a01cb5..4d9b9637c 100644
--- a/contrib/datastore/file/gcp/factory.go
+++ b/contrib/datastore/file/gcp/factory.go
@@ -23,14 +23,14 @@ import (
"google.golang.org/api/compute/v1"
"google.golang.org/api/option"
- "github.com/opensds/multi-cloud/api/pkg/filters/signature/credentials/keystonecredentials"
- "github.com/opensds/multi-cloud/api/pkg/utils/cryptography"
- "github.com/opensds/multi-cloud/backend/pkg/utils/constants"
- "github.com/opensds/multi-cloud/contrib/datastore/file/driver"
+ "github.com/soda/multi-cloud/api/pkg/filters/signature/credentials/keystonecredentials"
+ "github.com/soda/multi-cloud/api/pkg/utils/cryptography"
+ "github.com/soda/multi-cloud/backend/pkg/utils/constants"
+ "github.com/soda/multi-cloud/contrib/datastore/file/driver"
gcpfilev1 "google.golang.org/api/file/v1"
- backendpb "github.com/opensds/multi-cloud/backend/proto"
+ backendpb "github.com/soda/multi-cloud/backend/proto"
)
type GcpFSDriverFactory struct {
diff --git a/contrib/datastore/file/gcp/gcp.go b/contrib/datastore/file/gcp/gcp.go
index 6a8d00f15..5c595409b 100644
--- a/contrib/datastore/file/gcp/gcp.go
+++ b/contrib/datastore/file/gcp/gcp.go
@@ -28,12 +28,12 @@ import (
"github.com/micro/go-micro/v2/util/log"
"k8s.io/apimachinery/pkg/util/wait"
- "github.com/opensds/multi-cloud/contrib/utils"
+ "github.com/soda/multi-cloud/contrib/utils"
gcpfilev1 "google.golang.org/api/file/v1"
- backendpb "github.com/opensds/multi-cloud/backend/proto"
- file "github.com/opensds/multi-cloud/file/proto"
+ backendpb "github.com/soda/multi-cloud/backend/proto"
+ file "github.com/soda/multi-cloud/file/proto"
)
const (
diff --git a/contrib/datastore/file/huawei/factory.go b/contrib/datastore/file/huawei/factory.go
index a3a77b0e4..8ffa48178 100644
--- a/contrib/datastore/file/huawei/factory.go
+++ b/contrib/datastore/file/huawei/factory.go
@@ -19,10 +19,10 @@ import (
"github.com/huaweicloud/golangsdk/openstack"
"github.com/micro/go-micro/v2/util/log"
- "github.com/opensds/multi-cloud/backend/pkg/utils/constants"
- "github.com/opensds/multi-cloud/contrib/datastore/file/driver"
+ "github.com/soda/multi-cloud/backend/pkg/utils/constants"
+ "github.com/soda/multi-cloud/contrib/datastore/file/driver"
- backendpb "github.com/opensds/multi-cloud/backend/proto"
+ backendpb "github.com/soda/multi-cloud/backend/proto"
)
type HwSFSDriverFactory struct {
diff --git a/contrib/datastore/file/huawei/huawei.go b/contrib/datastore/file/huawei/huawei.go
index f0a9c2e35..a34ab7e2e 100644
--- a/contrib/datastore/file/huawei/huawei.go
+++ b/contrib/datastore/file/huawei/huawei.go
@@ -20,9 +20,9 @@ import (
"github.com/huaweicloud/golangsdk"
- "github.com/opensds/multi-cloud/contrib/datastore/file/huawei/sfs"
+ "github.com/soda/multi-cloud/contrib/datastore/file/huawei/sfs"
- pb "github.com/opensds/multi-cloud/file/proto"
+ pb "github.com/soda/multi-cloud/file/proto"
)
type HwFSAdapter struct {
diff --git a/contrib/datastore/file/huawei/sfs/hw_sfs.go b/contrib/datastore/file/huawei/sfs/hw_sfs.go
index 0bf3a20ae..fe0e3412a 100644
--- a/contrib/datastore/file/huawei/sfs/hw_sfs.go
+++ b/contrib/datastore/file/huawei/sfs/hw_sfs.go
@@ -22,9 +22,9 @@ import (
"github.com/huaweicloud/golangsdk/openstack/sfs/v2/shares"
"github.com/micro/go-micro/v2/util/log"
- "github.com/opensds/multi-cloud/contrib/utils"
+ "github.com/soda/multi-cloud/contrib/utils"
- pb "github.com/opensds/multi-cloud/file/proto"
+ pb "github.com/soda/multi-cloud/file/proto"
)
type HwSfsAdapter struct {
diff --git a/contrib/datastore/init.go b/contrib/datastore/init.go
index 1030d667b..99039dccf 100644
--- a/contrib/datastore/init.go
+++ b/contrib/datastore/init.go
@@ -15,10 +15,10 @@
package datastore
import (
- _ "github.com/opensds/multi-cloud/contrib/datastore/block/aws"
- _ "github.com/opensds/multi-cloud/contrib/datastore/block/hpc"
- _ "github.com/opensds/multi-cloud/contrib/datastore/file/aws"
- _ "github.com/opensds/multi-cloud/contrib/datastore/file/azure"
- _ "github.com/opensds/multi-cloud/contrib/datastore/file/gcp"
- _ "github.com/opensds/multi-cloud/contrib/datastore/file/huawei"
+ _ "github.com/soda/multi-cloud/contrib/datastore/block/aws"
+ _ "github.com/soda/multi-cloud/contrib/datastore/block/hpc"
+ _ "github.com/soda/multi-cloud/contrib/datastore/file/aws"
+ _ "github.com/soda/multi-cloud/contrib/datastore/file/azure"
+ _ "github.com/soda/multi-cloud/contrib/datastore/file/gcp"
+ _ "github.com/soda/multi-cloud/contrib/datastore/file/huawei"
)
diff --git a/dataflow/cmd/main.go b/dataflow/cmd/main.go
index ba4702bef..3b3e2c255 100644
--- a/dataflow/cmd/main.go
+++ b/dataflow/cmd/main.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -17,11 +17,11 @@ package main
import (
"os"
- "github.com/opensds/multi-cloud/api/pkg/utils/obs"
- handler "github.com/opensds/multi-cloud/dataflow/pkg"
- "github.com/opensds/multi-cloud/dataflow/pkg/scheduler"
- _ "github.com/opensds/multi-cloud/dataflow/pkg/scheduler/trigger/crontrigger"
- dataflow "github.com/opensds/multi-cloud/dataflow/proto"
+ "github.com/soda/multi-cloud/api/pkg/utils/obs"
+ handler "github.com/soda/multi-cloud/dataflow/pkg"
+ "github.com/soda/multi-cloud/dataflow/pkg/scheduler"
+ _ "github.com/soda/multi-cloud/dataflow/pkg/scheduler/trigger/crontrigger"
+ dataflow "github.com/soda/multi-cloud/dataflow/proto"
"github.com/micro/go-micro/v2"
log "github.com/sirupsen/logrus"
diff --git a/dataflow/hooks/pre_build b/dataflow/hooks/pre_build
index 0ec2a6202..9519411b8 100644
--- a/dataflow/hooks/pre_build
+++ b/dataflow/hooks/pre_build
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2019 The OpenSDS Authors.
+# Copyright 2019 The soda Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -22,8 +22,8 @@ echo 'export PATH=$PATH:/usr/local/go/bin' >> /etc/profile
echo 'export GOPATH=$HOME/gopath' >> /etc/profile
source /etc/profile
cd $HOME
-mkdir -p gopath/src/github.com/opensds/multi-cloud
-cd gopath/src/github.com/opensds/multi-cloud
+mkdir -p gopath/src/github.com/soda/multi-cloud
+cd gopath/src/github.com/soda/multi-cloud
cp -r ${BASE_DIR}/* .
make docker
cp dataflow/dataflow ${BASE_DIR}/dataflow
diff --git a/dataflow/pkg/db/db.go b/dataflow/pkg/db/db.go
index d1e97175f..ed18b49a0 100644
--- a/dataflow/pkg/db/db.go
+++ b/dataflow/pkg/db/db.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -17,9 +17,9 @@ package db
import (
"context"
- "github.com/opensds/multi-cloud/dataflow/pkg/db/drivers/mongo"
- "github.com/opensds/multi-cloud/dataflow/pkg/model"
- . "github.com/opensds/multi-cloud/dataflow/pkg/utils"
+ "github.com/soda/multi-cloud/dataflow/pkg/db/drivers/mongo"
+ "github.com/soda/multi-cloud/dataflow/pkg/model"
+ . "github.com/soda/multi-cloud/dataflow/pkg/utils"
log "github.com/sirupsen/logrus"
)
diff --git a/dataflow/pkg/db/drivers/mongo/mongo.go b/dataflow/pkg/db/drivers/mongo/mongo.go
index 880c199da..516c9dc5c 100644
--- a/dataflow/pkg/db/drivers/mongo/mongo.go
+++ b/dataflow/pkg/db/drivers/mongo/mongo.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -25,8 +25,8 @@ import (
"github.com/micro/go-micro/v2/metadata"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- . "github.com/opensds/multi-cloud/dataflow/pkg/model"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ . "github.com/soda/multi-cloud/dataflow/pkg/model"
)
var adap = &adapter{}
diff --git a/dataflow/pkg/job/job.go b/dataflow/pkg/job/job.go
index 2d16f5aac..c4986c0da 100644
--- a/dataflow/pkg/job/job.go
+++ b/dataflow/pkg/job/job.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -17,8 +17,8 @@ package job
import (
"context"
- "github.com/opensds/multi-cloud/dataflow/pkg/db"
- . "github.com/opensds/multi-cloud/dataflow/pkg/model"
+ "github.com/soda/multi-cloud/dataflow/pkg/db"
+ . "github.com/soda/multi-cloud/dataflow/pkg/model"
log "github.com/sirupsen/logrus"
)
diff --git a/dataflow/pkg/model/dataflow_type.go b/dataflow/pkg/model/dataflow_type.go
index 029504c39..cef6da5ab 100644
--- a/dataflow/pkg/model/dataflow_type.go
+++ b/dataflow/pkg/model/dataflow_type.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@ import (
)
var (
- STOR_TYPE_OPENSDS = "opensds-obj"
+ STOR_TYPE_soda = "soda-obj"
STOR_TYPE_AWS_S3 = "aws-s3"
STOR_TYPE_AZURE_BLOB = "azure-blob"
STOR_TYPE_HW_OBS = "hw-obs"
@@ -98,8 +98,8 @@ type KeyValue struct {
}
type Connector struct {
- StorType string `json:"storType" bson:"storeType"` //opensds-obj, aws-obj,azure-obj,ceph-s3,hw-obj,nas
- BucketName string `json:"bucketName" bson:"bucketName"` //when StorType is opensds, need this
+ StorType string `json:"storType" bson:"storeType"` //soda-obj, aws-obj,azure-obj,ceph-s3,hw-obj,nas
+ BucketName string `json:"bucketName" bson:"bucketName"` //when StorType is soda, need this
ConnConfig []KeyValue `json:"connConfig" bson:"connConfig"`
}
@@ -144,7 +144,7 @@ type Job struct {
TotalCapacity int64 `json:"totalCapacity" bson:"totalCapacity"`
PassedCapacity int64 `json:"passedCapacity" bson:"passedCapacity"`
MigratedCapacity float64 `json:"migratedCapacity" bson:"migratedCapacity"`
- //when the plan related connector type is OPENSDS, then location should be bucket name
+ //when the plan related connector type is soda, then location should be bucket name
SourceLocation string `json:"sourceLocation" bson:"sourceLocation"`
DestLocation string `json:"destLocation" bson:"destLocation"`
CreateTime time.Time `json:"createTime" bson:"createTime"`
diff --git a/dataflow/pkg/plan/plan.go b/dataflow/pkg/plan/plan.go
index f79adddde..6bacd07dd 100644
--- a/dataflow/pkg/plan/plan.go
+++ b/dataflow/pkg/plan/plan.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -21,12 +21,12 @@ import (
"regexp"
"time"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/dataflow/pkg/db"
- "github.com/opensds/multi-cloud/dataflow/pkg/kafka"
- . "github.com/opensds/multi-cloud/dataflow/pkg/model"
- "github.com/opensds/multi-cloud/dataflow/pkg/scheduler/trigger"
- datamover "github.com/opensds/multi-cloud/datamover/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/dataflow/pkg/db"
+ "github.com/soda/multi-cloud/dataflow/pkg/kafka"
+ . "github.com/soda/multi-cloud/dataflow/pkg/model"
+ "github.com/soda/multi-cloud/dataflow/pkg/scheduler/trigger"
+ datamover "github.com/soda/multi-cloud/datamover/proto"
"github.com/globalsign/mgo/bson"
"github.com/micro/go-micro/v2/metadata"
@@ -48,8 +48,8 @@ const (
func isEqual(src *Connector, dest *Connector) bool {
switch src.StorType {
- case STOR_TYPE_OPENSDS:
- if dest.StorType == STOR_TYPE_OPENSDS && src.BucketName == dest.BucketName {
+ case STOR_TYPE_soda:
+ if dest.StorType == STOR_TYPE_soda && src.BucketName == dest.BucketName {
return true
} else {
return false
@@ -61,8 +61,8 @@ func isEqual(src *Connector, dest *Connector) bool {
func checkConnValidation(conn *Connector) error {
var flag int
- if conn.StorType == STOR_TYPE_OPENSDS {
- //If StorType is opensds-obj, no connector needed.
+ if conn.StorType == STOR_TYPE_soda {
+ //If StorType is soda-obj, no connector needed.
return nil
}
if conn.StorType == STOR_TYPE_CEPH_S3 {
@@ -245,7 +245,7 @@ func List(ctx context.Context, limit int, offset int, filter interface{}) ([]Pla
func getLocation(conn *Connector) (string, error) {
switch conn.StorType {
- case STOR_TYPE_OPENSDS:
+ case STOR_TYPE_soda:
return conn.BucketName, nil
case STOR_TYPE_HW_OBS, STOR_TYPE_AWS_S3, STOR_TYPE_HW_FUSIONSTORAGE, STOR_TYPE_HW_FUSIONCLOUD,
STOR_TYPE_AZURE_BLOB, STOR_TYPE_CEPH_S3, STOR_TYPE_GCP_S3, STOR_TYPE_IBM_COS, STOR_TYPE_ALIBABA_OSS, STOR_TYPE_SONY_ODA:
@@ -273,7 +273,7 @@ func sendJob(req *datamover.RunJobRequest) error {
}
func buildConn(reqConn *datamover.Connector, conn *Connector) {
- if conn.StorType == STOR_TYPE_OPENSDS {
+ if conn.StorType == STOR_TYPE_soda {
reqConn.BucketName = conn.BucketName
} else {
for i := 0; i < len(conn.ConnConfig); i++ {
diff --git a/dataflow/pkg/policy/policy.go b/dataflow/pkg/policy/policy.go
index 92144d83d..f8b01785c 100644
--- a/dataflow/pkg/policy/policy.go
+++ b/dataflow/pkg/policy/policy.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -21,10 +21,10 @@ import (
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/dataflow/pkg/db"
- . "github.com/opensds/multi-cloud/dataflow/pkg/model"
- "github.com/opensds/multi-cloud/dataflow/pkg/plan"
- "github.com/opensds/multi-cloud/dataflow/pkg/scheduler/trigger"
+ "github.com/soda/multi-cloud/dataflow/pkg/db"
+ . "github.com/soda/multi-cloud/dataflow/pkg/model"
+ "github.com/soda/multi-cloud/dataflow/pkg/plan"
+ "github.com/soda/multi-cloud/dataflow/pkg/scheduler/trigger"
)
func Create(ctx context.Context, pol *Policy) (*Policy, error) {
diff --git a/dataflow/pkg/scheduler/lifecycle/lifecycle_sched.go b/dataflow/pkg/scheduler/lifecycle/lifecycle_sched.go
index 9596d359a..25d487e9c 100644
--- a/dataflow/pkg/scheduler/lifecycle/lifecycle_sched.go
+++ b/dataflow/pkg/scheduler/lifecycle/lifecycle_sched.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -23,17 +23,17 @@ import (
"sync"
"time"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/utils/constants"
- "github.com/opensds/multi-cloud/dataflow/pkg/db"
- "github.com/opensds/multi-cloud/dataflow/pkg/kafka"
- . "github.com/opensds/multi-cloud/dataflow/pkg/model"
- . "github.com/opensds/multi-cloud/dataflow/pkg/utils"
- datamover "github.com/opensds/multi-cloud/datamover/proto"
- s3error "github.com/opensds/multi-cloud/s3/error"
- s3utils "github.com/opensds/multi-cloud/s3/pkg/utils"
- osdss3 "github.com/opensds/multi-cloud/s3/proto"
- s3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/utils/constants"
+ "github.com/soda/multi-cloud/dataflow/pkg/db"
+ "github.com/soda/multi-cloud/dataflow/pkg/kafka"
+ . "github.com/soda/multi-cloud/dataflow/pkg/model"
+ . "github.com/soda/multi-cloud/dataflow/pkg/utils"
+ datamover "github.com/soda/multi-cloud/datamover/proto"
+ s3error "github.com/soda/multi-cloud/s3/error"
+ s3utils "github.com/soda/multi-cloud/s3/pkg/utils"
+ osdss3 "github.com/soda/multi-cloud/s3/proto"
+ s3 "github.com/soda/multi-cloud/s3/proto"
"github.com/micro/go-micro/v2/client"
"github.com/micro/go-micro/v2/metadata"
diff --git a/dataflow/pkg/scheduler/scheduler.go b/dataflow/pkg/scheduler/scheduler.go
index 0a59375f7..e2009b062 100644
--- a/dataflow/pkg/scheduler/scheduler.go
+++ b/dataflow/pkg/scheduler/scheduler.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -24,12 +24,12 @@ import (
"github.com/robfig/cron"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/dataflow/pkg/db"
- "github.com/opensds/multi-cloud/dataflow/pkg/model"
- "github.com/opensds/multi-cloud/dataflow/pkg/plan"
- "github.com/opensds/multi-cloud/dataflow/pkg/scheduler/lifecycle"
- "github.com/opensds/multi-cloud/dataflow/pkg/scheduler/trigger"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/dataflow/pkg/db"
+ "github.com/soda/multi-cloud/dataflow/pkg/model"
+ "github.com/soda/multi-cloud/dataflow/pkg/plan"
+ "github.com/soda/multi-cloud/dataflow/pkg/scheduler/lifecycle"
+ "github.com/soda/multi-cloud/dataflow/pkg/scheduler/trigger"
)
func LoadAllPlans() {
diff --git a/dataflow/pkg/scheduler/trigger/crontrigger/crontrigger.go b/dataflow/pkg/scheduler/trigger/crontrigger/crontrigger.go
index 5231e03ae..83eeed699 100644
--- a/dataflow/pkg/scheduler/trigger/crontrigger/crontrigger.go
+++ b/dataflow/pkg/scheduler/trigger/crontrigger/crontrigger.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -20,8 +20,8 @@ import (
"github.com/robfig/cron"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/dataflow/pkg/model"
- "github.com/opensds/multi-cloud/dataflow/pkg/scheduler/trigger"
+ "github.com/soda/multi-cloud/dataflow/pkg/model"
+ "github.com/soda/multi-cloud/dataflow/pkg/scheduler/trigger"
)
type CronTrigger struct {
diff --git a/dataflow/pkg/scheduler/trigger/manager.go b/dataflow/pkg/scheduler/trigger/manager.go
index c18983ed4..f354bfed4 100644
--- a/dataflow/pkg/scheduler/trigger/manager.go
+++ b/dataflow/pkg/scheduler/trigger/manager.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -22,8 +22,8 @@ import (
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/dataflow/pkg/db"
- "github.com/opensds/multi-cloud/dataflow/pkg/model"
+ "github.com/soda/multi-cloud/dataflow/pkg/db"
+ "github.com/soda/multi-cloud/dataflow/pkg/model"
)
var mgr *Manager
diff --git a/dataflow/pkg/scheduler/trigger/trigger.go b/dataflow/pkg/scheduler/trigger/trigger.go
index 3517192ab..64daf1b98 100644
--- a/dataflow/pkg/scheduler/trigger/trigger.go
+++ b/dataflow/pkg/scheduler/trigger/trigger.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/dataflow/pkg/service.go b/dataflow/pkg/service.go
index 4a58d4a6c..7931d0c88 100644
--- a/dataflow/pkg/service.go
+++ b/dataflow/pkg/service.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -24,15 +24,15 @@ import (
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/dataflow/pkg/db"
- "github.com/opensds/multi-cloud/dataflow/pkg/job"
- "github.com/opensds/multi-cloud/dataflow/pkg/kafka"
- "github.com/opensds/multi-cloud/dataflow/pkg/model"
- "github.com/opensds/multi-cloud/dataflow/pkg/plan"
- "github.com/opensds/multi-cloud/dataflow/pkg/policy"
- "github.com/opensds/multi-cloud/dataflow/pkg/utils"
- . "github.com/opensds/multi-cloud/dataflow/pkg/utils"
- pb "github.com/opensds/multi-cloud/dataflow/proto"
+ "github.com/soda/multi-cloud/dataflow/pkg/db"
+ "github.com/soda/multi-cloud/dataflow/pkg/job"
+ "github.com/soda/multi-cloud/dataflow/pkg/kafka"
+ "github.com/soda/multi-cloud/dataflow/pkg/model"
+ "github.com/soda/multi-cloud/dataflow/pkg/plan"
+ "github.com/soda/multi-cloud/dataflow/pkg/policy"
+ "github.com/soda/multi-cloud/dataflow/pkg/utils"
+ . "github.com/soda/multi-cloud/dataflow/pkg/utils"
+ pb "github.com/soda/multi-cloud/dataflow/proto"
)
type dataflowService struct{}
@@ -197,7 +197,7 @@ func (b *dataflowService) UpdatePolicy(ctx context.Context, in *pb.UpdatePolicyR
func fillRspConnector(out *pb.Connector, in *model.Connector) {
switch in.StorType {
- case model.STOR_TYPE_OPENSDS:
+ case model.STOR_TYPE_soda:
out.BucketName = in.BucketName
case model.STOR_TYPE_AWS_S3, model.STOR_TYPE_HW_OBS, model.STOR_TYPE_HW_FUSIONSTORAGE, model.STOR_TYPE_HW_FUSIONCLOUD,
model.STOR_TYPE_AZURE_BLOB, model.STOR_TYPE_CEPH_S3, model.STOR_TYPE_GCP_S3, model.STOR_TYPE_ALIBABA_OSS, model.STOR_TYPE_SONY_ODA:
@@ -303,7 +303,7 @@ func (b *dataflowService) ListPlan(ctx context.Context, in *pb.ListPlanRequest,
func fillReqConnector(out *model.Connector, in *pb.Connector) error {
switch in.StorType {
- case model.STOR_TYPE_OPENSDS:
+ case model.STOR_TYPE_soda:
out.BucketName = in.BucketName
return nil
case model.STOR_TYPE_AWS_S3, model.STOR_TYPE_HW_OBS, model.STOR_TYPE_HW_FUSIONSTORAGE, model.STOR_TYPE_HW_FUSIONCLOUD,
diff --git a/dataflow/pkg/utils/utils.go b/dataflow/pkg/utils/utils.go
index becd3590b..d24625875 100644
--- a/dataflow/pkg/utils/utils.go
+++ b/dataflow/pkg/utils/utils.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -21,7 +21,7 @@ import (
"github.com/micro/go-log"
"github.com/micro/go-micro/v2/metadata"
- "github.com/opensds/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/common"
)
const (
diff --git a/datamover/cmd/main.go b/datamover/cmd/main.go
index f4e353117..7d5fa7f8f 100644
--- a/datamover/cmd/main.go
+++ b/datamover/cmd/main.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -18,8 +18,8 @@ import (
"fmt"
"os"
- "github.com/opensds/multi-cloud/api/pkg/utils/obs"
- datamover "github.com/opensds/multi-cloud/datamover/pkg"
+ "github.com/soda/multi-cloud/api/pkg/utils/obs"
+ datamover "github.com/soda/multi-cloud/datamover/pkg"
"github.com/micro/go-micro/v2"
log "github.com/sirupsen/logrus"
diff --git a/datamover/hooks/pre_build b/datamover/hooks/pre_build
index 06ecd8324..65a20467b 100644
--- a/datamover/hooks/pre_build
+++ b/datamover/hooks/pre_build
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2019 The OpenSDS Authors.
+# Copyright 2019 The soda Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -22,8 +22,8 @@ echo 'export PATH=$PATH:/usr/local/go/bin' >> /etc/profile
echo 'export GOPATH=$HOME/gopath' >> /etc/profile
source /etc/profile
cd $HOME
-mkdir -p gopath/src/github.com/opensds/multi-cloud
-cd gopath/src/github.com/opensds/multi-cloud
+mkdir -p gopath/src/github.com/soda/multi-cloud
+cd gopath/src/github.com/soda/multi-cloud
cp -r ${BASE_DIR}/* .
make docker
cp datamover/datamover ${BASE_DIR}/datamover
diff --git a/datamover/pkg/alibaba/oss/osslifecycle.go b/datamover/pkg/alibaba/oss/osslifecycle.go
index be450f897..44b501cdb 100644
--- a/datamover/pkg/alibaba/oss/osslifecycle.go
+++ b/datamover/pkg/alibaba/oss/osslifecycle.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@ import (
"github.com/aliyun/aliyun-oss-go-sdk/oss"
log "github.com/sirupsen/logrus"
- . "github.com/opensds/multi-cloud/datamover/pkg/utils"
+ . "github.com/soda/multi-cloud/datamover/pkg/utils"
)
func (mover *OSSMover) ChangeStorageClass(objKey *string, newClass *string, bkend *BackendInfo) error {
diff --git a/datamover/pkg/alibaba/oss/ossmover.go b/datamover/pkg/alibaba/oss/ossmover.go
index 7e35dc17d..5984edf8c 100644
--- a/datamover/pkg/alibaba/oss/ossmover.go
+++ b/datamover/pkg/alibaba/oss/ossmover.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -20,11 +20,11 @@ import (
"github.com/aliyun/aliyun-oss-go-sdk/oss"
- . "github.com/opensds/multi-cloud/datamover/pkg/utils"
+ . "github.com/soda/multi-cloud/datamover/pkg/utils"
log "github.com/sirupsen/logrus"
- _ "github.com/opensds/multi-cloud/s3/proto"
+ _ "github.com/soda/multi-cloud/s3/proto"
)
type OSSMover struct {
diff --git a/datamover/pkg/amazon/s3/s3lifecycle.go b/datamover/pkg/amazon/s3/s3lifecycle.go
index 0ab4a55c2..208bba940 100644
--- a/datamover/pkg/amazon/s3/s3lifecycle.go
+++ b/datamover/pkg/amazon/s3/s3lifecycle.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -21,7 +21,7 @@ import (
"github.com/aws/aws-sdk-go/service/s3"
log "github.com/sirupsen/logrus"
- . "github.com/opensds/multi-cloud/datamover/pkg/utils"
+ . "github.com/soda/multi-cloud/datamover/pkg/utils"
)
func (mover *S3Mover) ChangeStorageClass(objKey *string, newClass *string, loca *BackendInfo) error {
diff --git a/datamover/pkg/amazon/s3/s3mover.go b/datamover/pkg/amazon/s3/s3mover.go
index 7bc0b9844..3842e6f9f 100644
--- a/datamover/pkg/amazon/s3/s3mover.go
+++ b/datamover/pkg/amazon/s3/s3mover.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -27,8 +27,8 @@ import (
"github.com/aws/aws-sdk-go/service/s3/s3manager"
log "github.com/sirupsen/logrus"
- . "github.com/opensds/multi-cloud/datamover/pkg/utils"
- pb "github.com/opensds/multi-cloud/datamover/proto"
+ . "github.com/soda/multi-cloud/datamover/pkg/utils"
+ pb "github.com/soda/multi-cloud/datamover/proto"
)
type S3Mover struct {
diff --git a/datamover/pkg/azure/blob/bloblifecycle.go b/datamover/pkg/azure/blob/bloblifecycle.go
index 25fd44ef5..a5a119fc4 100644
--- a/datamover/pkg/azure/blob/bloblifecycle.go
+++ b/datamover/pkg/azure/blob/bloblifecycle.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -21,7 +21,7 @@ import (
"github.com/Azure/azure-storage-blob-go/azblob"
log "github.com/sirupsen/logrus"
- . "github.com/opensds/multi-cloud/datamover/pkg/utils"
+ . "github.com/soda/multi-cloud/datamover/pkg/utils"
)
func (mover *BlobMover) setTier(objKey *string, newClass *string) error {
diff --git a/datamover/pkg/azure/blob/blobmover.go b/datamover/pkg/azure/blob/blobmover.go
index 3cf701f6e..7ad8d0b94 100644
--- a/datamover/pkg/azure/blob/blobmover.go
+++ b/datamover/pkg/azure/blob/blobmover.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -27,8 +27,8 @@ import (
"github.com/Azure/azure-storage-blob-go/azblob"
log "github.com/sirupsen/logrus"
- . "github.com/opensds/multi-cloud/datamover/pkg/utils"
- pb "github.com/opensds/multi-cloud/datamover/proto"
+ . "github.com/soda/multi-cloud/datamover/pkg/utils"
+ pb "github.com/soda/multi-cloud/datamover/proto"
)
var (
diff --git a/datamover/pkg/ceph/s3/s3lifecycle.go b/datamover/pkg/ceph/s3/s3lifecycle.go
index 574e983fd..c4f559d8b 100644
--- a/datamover/pkg/ceph/s3/s3lifecycle.go
+++ b/datamover/pkg/ceph/s3/s3lifecycle.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -20,7 +20,7 @@ import (
log "github.com/sirupsen/logrus"
. "github.com/webrtcn/s3client"
- . "github.com/opensds/multi-cloud/datamover/pkg/utils"
+ . "github.com/soda/multi-cloud/datamover/pkg/utils"
)
func (mover *CephS3Mover) ChangeStorageClass(objKey *string, newClass *string, bkend *BackendInfo) error {
diff --git a/datamover/pkg/ceph/s3/s3mover.go b/datamover/pkg/ceph/s3/s3mover.go
index a448ce877..ef2d225ba 100644
--- a/datamover/pkg/ceph/s3/s3mover.go
+++ b/datamover/pkg/ceph/s3/s3mover.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -26,8 +26,8 @@ import (
. "github.com/webrtcn/s3client"
"github.com/webrtcn/s3client/models"
- . "github.com/opensds/multi-cloud/datamover/pkg/utils"
- pb "github.com/opensds/multi-cloud/datamover/proto"
+ . "github.com/soda/multi-cloud/datamover/pkg/utils"
+ pb "github.com/soda/multi-cloud/datamover/proto"
)
type CreateMultipartUploadOutput struct {
diff --git a/datamover/pkg/db/db.go b/datamover/pkg/db/db.go
index 927af0e6a..73f449c74 100644
--- a/datamover/pkg/db/db.go
+++ b/datamover/pkg/db/db.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -17,10 +17,10 @@ package db
import (
log "github.com/sirupsen/logrus"
- backend "github.com/opensds/multi-cloud/backend/pkg/model"
- "github.com/opensds/multi-cloud/dataflow/pkg/model"
- . "github.com/opensds/multi-cloud/dataflow/pkg/utils"
- "github.com/opensds/multi-cloud/datamover/pkg/db/drivers/mongo"
+ backend "github.com/soda/multi-cloud/backend/pkg/model"
+ "github.com/soda/multi-cloud/dataflow/pkg/model"
+ . "github.com/soda/multi-cloud/dataflow/pkg/utils"
+ "github.com/soda/multi-cloud/datamover/pkg/db/drivers/mongo"
)
// C is a global variable that controls database module.
diff --git a/datamover/pkg/db/drivers/mongo/mongo.go b/datamover/pkg/db/drivers/mongo/mongo.go
index c59ce55a5..3bc0bf16d 100644
--- a/datamover/pkg/db/drivers/mongo/mongo.go
+++ b/datamover/pkg/db/drivers/mongo/mongo.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -21,8 +21,8 @@ import (
"github.com/globalsign/mgo/bson"
log "github.com/sirupsen/logrus"
- backend "github.com/opensds/multi-cloud/backend/pkg/model"
- . "github.com/opensds/multi-cloud/dataflow/pkg/model"
+ backend "github.com/soda/multi-cloud/backend/pkg/model"
+ . "github.com/soda/multi-cloud/dataflow/pkg/model"
)
var adap = &adapter{}
diff --git a/datamover/pkg/drivers/https/migration.go b/datamover/pkg/drivers/https/migration.go
index a5560e266..6157cb468 100644
--- a/datamover/pkg/drivers/https/migration.go
+++ b/datamover/pkg/drivers/https/migration.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -28,14 +28,14 @@ import (
"github.com/micro/go-micro/v2/metadata"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- backend "github.com/opensds/multi-cloud/backend/proto"
- flowtype "github.com/opensds/multi-cloud/dataflow/pkg/model"
- "github.com/opensds/multi-cloud/datamover/pkg/db"
- . "github.com/opensds/multi-cloud/datamover/pkg/utils"
- pb "github.com/opensds/multi-cloud/datamover/proto"
- s3utils "github.com/opensds/multi-cloud/s3/pkg/utils"
- osdss3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ backend "github.com/soda/multi-cloud/backend/proto"
+ flowtype "github.com/soda/multi-cloud/dataflow/pkg/model"
+ "github.com/soda/multi-cloud/datamover/pkg/db"
+ . "github.com/soda/multi-cloud/datamover/pkg/utils"
+ pb "github.com/soda/multi-cloud/datamover/proto"
+ s3utils "github.com/soda/multi-cloud/s3/pkg/utils"
+ osdss3 "github.com/soda/multi-cloud/s3/proto"
)
var simuRoutines = 10
diff --git a/datamover/pkg/drivers/https/prepare.go b/datamover/pkg/drivers/https/prepare.go
index 32895bf78..b71097188 100644
--- a/datamover/pkg/drivers/https/prepare.go
+++ b/datamover/pkg/drivers/https/prepare.go
@@ -10,10 +10,10 @@ import (
log "github.com/sirupsen/logrus"
- flowtype "github.com/opensds/multi-cloud/dataflow/pkg/model"
- . "github.com/opensds/multi-cloud/datamover/pkg/utils"
- pb "github.com/opensds/multi-cloud/datamover/proto"
- osdss3 "github.com/opensds/multi-cloud/s3/proto"
+ flowtype "github.com/soda/multi-cloud/dataflow/pkg/model"
+ . "github.com/soda/multi-cloud/datamover/pkg/utils"
+ pb "github.com/soda/multi-cloud/datamover/proto"
+ osdss3 "github.com/soda/multi-cloud/s3/proto"
)
func GetCtxTimeout(key string, min, max, def int64) time.Duration {
@@ -37,7 +37,7 @@ func GetCtxTimeout(key string, min, max, def int64) time.Duration {
func getObjs(ctx context.Context, in *pb.RunJobRequest, marker string, limit int32) ([]*osdss3.Object, error) {
switch in.SourceConn.Type {
- case flowtype.STOR_TYPE_OPENSDS:
+ case flowtype.STOR_TYPE_soda:
return getOsdsS3Objs(ctx, in, marker, limit)
default:
log.Errorf("unsupport storage type:%v\n", in.SourceConn.Type)
@@ -66,7 +66,7 @@ func countOsdsS3Objs(ctx context.Context, in *pb.RunJobRequest) (count, size int
func countObjs(ctx context.Context, in *pb.RunJobRequest) (count, size int64, err error) {
switch in.SourceConn.Type {
- case flowtype.STOR_TYPE_OPENSDS:
+ case flowtype.STOR_TYPE_soda:
return countOsdsS3Objs(ctx, in)
default:
log.Errorf("unsupport storage type:%v\n", in.SourceConn.Type)
diff --git a/datamover/pkg/drivers/lifecycle/abortIncompleteMultipartUpload.go b/datamover/pkg/drivers/lifecycle/abortIncompleteMultipartUpload.go
index 4ed4f49fa..09d9b6580 100644
--- a/datamover/pkg/drivers/lifecycle/abortIncompleteMultipartUpload.go
+++ b/datamover/pkg/drivers/lifecycle/abortIncompleteMultipartUpload.go
@@ -8,9 +8,9 @@ import (
"github.com/micro/go-micro/v2/metadata"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- datamover "github.com/opensds/multi-cloud/datamover/proto"
- osdss3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ datamover "github.com/soda/multi-cloud/datamover/proto"
+ osdss3 "github.com/soda/multi-cloud/s3/proto"
)
func doAbortUpload(acReq *datamover.LifecycleActionRequest) error {
diff --git a/datamover/pkg/drivers/lifecycle/crosscloud_transition.go b/datamover/pkg/drivers/lifecycle/crosscloud_transition.go
index 45a1e2b5f..2c3b86773 100644
--- a/datamover/pkg/drivers/lifecycle/crosscloud_transition.go
+++ b/datamover/pkg/drivers/lifecycle/crosscloud_transition.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -24,12 +24,12 @@ import (
"github.com/micro/go-micro/v2/metadata"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- migration "github.com/opensds/multi-cloud/datamover/pkg/drivers/https"
- . "github.com/opensds/multi-cloud/datamover/pkg/utils"
- datamover "github.com/opensds/multi-cloud/datamover/proto"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- osdss3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ migration "github.com/soda/multi-cloud/datamover/pkg/drivers/https"
+ . "github.com/soda/multi-cloud/datamover/pkg/utils"
+ datamover "github.com/soda/multi-cloud/datamover/proto"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ osdss3 "github.com/soda/multi-cloud/s3/proto"
)
// If transition for an object is in-progress, then the next transition message will be abandoned.
diff --git a/datamover/pkg/drivers/lifecycle/expiration.go b/datamover/pkg/drivers/lifecycle/expiration.go
index 1f16e352b..8e360e567 100644
--- a/datamover/pkg/drivers/lifecycle/expiration.go
+++ b/datamover/pkg/drivers/lifecycle/expiration.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -23,10 +23,10 @@ import (
"github.com/micro/go-micro/v2/metadata"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/datamover/pkg/utils"
- datamover "github.com/opensds/multi-cloud/datamover/proto"
- osdss3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/datamover/pkg/utils"
+ datamover "github.com/soda/multi-cloud/datamover/proto"
+ osdss3 "github.com/soda/multi-cloud/s3/proto"
)
func doExpirationAction(acReq *datamover.LifecycleActionRequest) error {
diff --git a/datamover/pkg/drivers/lifecycle/incloud_transition.go b/datamover/pkg/drivers/lifecycle/incloud_transition.go
index 98b1d4f39..934266ff3 100644
--- a/datamover/pkg/drivers/lifecycle/incloud_transition.go
+++ b/datamover/pkg/drivers/lifecycle/incloud_transition.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -23,12 +23,12 @@ import (
"github.com/micro/go-micro/v2/metadata"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- migration "github.com/opensds/multi-cloud/datamover/pkg/drivers/https"
- . "github.com/opensds/multi-cloud/datamover/pkg/utils"
- datamover "github.com/opensds/multi-cloud/datamover/proto"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- osdss3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ migration "github.com/soda/multi-cloud/datamover/pkg/drivers/https"
+ . "github.com/soda/multi-cloud/datamover/pkg/utils"
+ datamover "github.com/soda/multi-cloud/datamover/proto"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ osdss3 "github.com/soda/multi-cloud/s3/proto"
)
func doInCloudTransition(acReq *datamover.LifecycleActionRequest) error {
diff --git a/datamover/pkg/drivers/lifecycle/lifecycle.go b/datamover/pkg/drivers/lifecycle/lifecycle.go
index ff6d8486d..1c4fd9fa4 100644
--- a/datamover/pkg/drivers/lifecycle/lifecycle.go
+++ b/datamover/pkg/drivers/lifecycle/lifecycle.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -22,10 +22,10 @@ import (
"github.com/micro/go-micro/v2/client"
log "github.com/sirupsen/logrus"
- backend "github.com/opensds/multi-cloud/backend/proto"
- "github.com/opensds/multi-cloud/dataflow/pkg/utils"
- datamover "github.com/opensds/multi-cloud/datamover/proto"
- osdss3 "github.com/opensds/multi-cloud/s3/proto"
+ backend "github.com/soda/multi-cloud/backend/proto"
+ "github.com/soda/multi-cloud/dataflow/pkg/utils"
+ datamover "github.com/soda/multi-cloud/datamover/proto"
+ osdss3 "github.com/soda/multi-cloud/s3/proto"
)
var s3client osdss3.S3Service
diff --git a/datamover/pkg/gcp/s3/gcplifecycle.go b/datamover/pkg/gcp/s3/gcplifecycle.go
index 16eba6cee..3fcb4d298 100644
--- a/datamover/pkg/gcp/s3/gcplifecycle.go
+++ b/datamover/pkg/gcp/s3/gcplifecycle.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@ import (
log "github.com/sirupsen/logrus"
- . "github.com/opensds/multi-cloud/datamover/pkg/utils"
+ . "github.com/soda/multi-cloud/datamover/pkg/utils"
)
func (mover *GcpS3Mover) ChangeStorageClass(objKey *string, newClass *string, bkend *BackendInfo) error {
diff --git a/datamover/pkg/gcp/s3/s3mover.go b/datamover/pkg/gcp/s3/s3mover.go
index 0be919198..8ea3d18e2 100644
--- a/datamover/pkg/gcp/s3/s3mover.go
+++ b/datamover/pkg/gcp/s3/s3mover.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -26,8 +26,8 @@ import (
. "github.com/webrtcn/s3client"
"github.com/webrtcn/s3client/models"
- . "github.com/opensds/multi-cloud/datamover/pkg/utils"
- pb "github.com/opensds/multi-cloud/datamover/proto"
+ . "github.com/soda/multi-cloud/datamover/pkg/utils"
+ pb "github.com/soda/multi-cloud/datamover/proto"
)
type CreateMultipartUploadOutput struct {
diff --git a/datamover/pkg/huawei/obs/obslifecycle.go b/datamover/pkg/huawei/obs/obslifecycle.go
index aa353b87e..ba4510851 100644
--- a/datamover/pkg/huawei/obs/obslifecycle.go
+++ b/datamover/pkg/huawei/obs/obslifecycle.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -19,8 +19,8 @@ import (
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/utils/obs"
- . "github.com/opensds/multi-cloud/datamover/pkg/utils"
+ "github.com/soda/multi-cloud/api/pkg/utils/obs"
+ . "github.com/soda/multi-cloud/datamover/pkg/utils"
)
func (mover *ObsMover) ChangeStorageClass(objKey *string, newClass *string, bkend *BackendInfo) error {
diff --git a/datamover/pkg/huawei/obs/obsmover.go b/datamover/pkg/huawei/obs/obsmover.go
index 5ae295d5f..d10de3721 100644
--- a/datamover/pkg/huawei/obs/obsmover.go
+++ b/datamover/pkg/huawei/obs/obsmover.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -21,9 +21,9 @@ import (
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/utils/obs"
- . "github.com/opensds/multi-cloud/datamover/pkg/utils"
- pb "github.com/opensds/multi-cloud/datamover/proto"
+ "github.com/soda/multi-cloud/api/pkg/utils/obs"
+ . "github.com/soda/multi-cloud/datamover/pkg/utils"
+ pb "github.com/soda/multi-cloud/datamover/proto"
)
type ObsMover struct {
diff --git a/datamover/pkg/ibm/cos/cosmover.go b/datamover/pkg/ibm/cos/cosmover.go
index 9c6831e67..e39917d39 100644
--- a/datamover/pkg/ibm/cos/cosmover.go
+++ b/datamover/pkg/ibm/cos/cosmover.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
package ibmcosmover
import (
- s3mover "github.com/opensds/multi-cloud/datamover/pkg/amazon/s3"
+ s3mover "github.com/soda/multi-cloud/datamover/pkg/amazon/s3"
)
type IBMCOSMover = s3mover.S3Mover
diff --git a/datamover/pkg/kafka/consumer.go b/datamover/pkg/kafka/consumer.go
index f3ee0afe0..bc3605f0e 100644
--- a/datamover/pkg/kafka/consumer.go
+++ b/datamover/pkg/kafka/consumer.go
@@ -9,8 +9,8 @@ import (
"github.com/Shopify/sarama"
cluster "github.com/bsm/sarama-cluster"
- migration "github.com/opensds/multi-cloud/datamover/pkg/drivers/https"
- "github.com/opensds/multi-cloud/datamover/pkg/drivers/lifecycle"
+ migration "github.com/soda/multi-cloud/datamover/pkg/drivers/https"
+ "github.com/soda/multi-cloud/datamover/pkg/drivers/lifecycle"
)
var consumer *cluster.Consumer
diff --git a/datamover/pkg/service.go b/datamover/pkg/service.go
index dc83fff9b..af888ea99 100644
--- a/datamover/pkg/service.go
+++ b/datamover/pkg/service.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -20,9 +20,9 @@ import (
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/dataflow/pkg/utils"
- "github.com/opensds/multi-cloud/datamover/pkg/db"
- "github.com/opensds/multi-cloud/datamover/pkg/kafka"
+ "github.com/soda/multi-cloud/dataflow/pkg/utils"
+ "github.com/soda/multi-cloud/datamover/pkg/db"
+ "github.com/soda/multi-cloud/datamover/pkg/kafka"
)
var dataMoverGroup = "datamover"
diff --git a/datamover/pkg/sonyoda/odalifecycle.go b/datamover/pkg/sonyoda/odalifecycle.go
index 74f7a8efb..dd5aca888 100644
--- a/datamover/pkg/sonyoda/odalifecycle.go
+++ b/datamover/pkg/sonyoda/odalifecycle.go
@@ -7,7 +7,7 @@ import (
"github.com/aws/aws-sdk-go/service/s3"
log "github.com/sirupsen/logrus"
- . "github.com/opensds/multi-cloud/datamover/pkg/utils"
+ . "github.com/soda/multi-cloud/datamover/pkg/utils"
)
//Sony-ODA only support standard(Tier-1)
diff --git a/datamover/pkg/sonyoda/odamover.go b/datamover/pkg/sonyoda/odamover.go
index 8eef306f2..074b38a59 100644
--- a/datamover/pkg/sonyoda/odamover.go
+++ b/datamover/pkg/sonyoda/odamover.go
@@ -13,8 +13,8 @@ import (
"github.com/aws/aws-sdk-go/service/s3/s3manager"
log "github.com/sirupsen/logrus"
- . "github.com/opensds/multi-cloud/datamover/pkg/utils"
- pb "github.com/opensds/multi-cloud/datamover/proto"
+ . "github.com/soda/multi-cloud/datamover/pkg/utils"
+ pb "github.com/soda/multi-cloud/datamover/proto"
)
type ODAMover struct {
diff --git a/datamover/pkg/utils/data_type.go b/datamover/pkg/utils/data_type.go
index 6a04a3828..5be1b39ab 100644
--- a/datamover/pkg/utils/data_type.go
+++ b/datamover/pkg/utils/data_type.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/datamover/proto/datamover.pb.go b/datamover/proto/datamover.pb.go
index 98e399613..3d60fa4fa 100644
--- a/datamover/proto/datamover.pb.go
+++ b/datamover/proto/datamover.pb.go
@@ -140,7 +140,7 @@ type Connector struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Type string `protobuf:"bytes,1,opt,name=Type,json=type,proto3" json:"Type,omitempty"` //opensds,aws,azure,hwcloud,etc.
+ Type string `protobuf:"bytes,1,opt,name=Type,json=type,proto3" json:"Type,omitempty"` //soda,aws,azure,hwcloud,etc.
BucketName string `protobuf:"bytes,2,opt,name=BucketName,json=bucketName,proto3" json:"BucketName,omitempty"`
ConnConfig []*KV `protobuf:"bytes,3,rep,name=ConnConfig,json=connConfig,proto3" json:"ConnConfig,omitempty"`
BackendName string `protobuf:"bytes,4,opt,name=BackendName,json=backendName,proto3" json:"BackendName,omitempty"`
diff --git a/datamover/proto/datamover.proto b/datamover/proto/datamover.proto
index dbb454bb9..56a46f057 100644
--- a/datamover/proto/datamover.proto
+++ b/datamover/proto/datamover.proto
@@ -16,7 +16,7 @@ message Filter {
}
message Connector {
- string Type = 1; //opensds,aws,azure,hwcloud,etc.
+ string Type = 1; //soda,aws,azure,hwcloud,etc.
string BucketName = 2;
repeated KV ConnConfig = 3;
string BackendName = 4;
diff --git a/docker-compose.yml b/docker-compose.yml
index 6c2c25f70..d8506a7a2 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -38,8 +38,8 @@ services:
- OS_AUTH_AUTHSTRATEGY=keystone
- OS_AUTH_URL=http://10.10.3.154/identity
- OS_USER_DOMIN_ID=Default
- - OS_USERNAME=opensds
- - OS_PASSWORD=opensds@123
+ - OS_USERNAME=soda
+ - OS_PASSWORD=soda@123
- OS_PROJECT_NAME=service
- TRANSFER_SPEED_MIN=10 #Bytes/Sec
- SVC_FLAG=ctrl
@@ -60,8 +60,8 @@ services:
- OS_AUTH_AUTHSTRATEGY=keystone
- OS_AUTH_URL=http://10.10.3.154/identity
- OS_USER_DOMIN_ID=Default
- - OS_USERNAME=opensds
- - OS_PASSWORD=opensds@123
+ - OS_USERNAME=soda
+ - OS_PASSWORD=soda@123
- OS_PROJECT_NAME=service
- TRANSFER_SPEED_MIN=10 #Bytes/Sec
- SVC_FLAG=s3
@@ -119,8 +119,8 @@ services:
- OS_AUTH_AUTHSTRATEGY=keystone
- OS_AUTH_URL=http://10.10.3.154/identity
- OS_USER_DOMIN_ID=Default
- - OS_USERNAME=opensds
- - OS_PASSWORD=opensds@123
+ - OS_USERNAME=soda
+ - OS_PASSWORD=soda@123
- OS_PROJECT_NAME=service
volumes:
- /etc/localtime:/etc/localtime
diff --git a/file/cmd/main.go b/file/cmd/main.go
index 6bca8834f..6b2fbb026 100644
--- a/file/cmd/main.go
+++ b/file/cmd/main.go
@@ -19,15 +19,15 @@ import (
"github.com/micro/go-micro/v2"
- "github.com/opensds/multi-cloud/api/pkg/utils/obs"
- _ "github.com/opensds/multi-cloud/contrib/datastore"
- "github.com/opensds/multi-cloud/file/pkg/db"
- "github.com/opensds/multi-cloud/file/pkg/utils/config"
+ "github.com/soda/multi-cloud/api/pkg/utils/obs"
+ _ "github.com/soda/multi-cloud/contrib/datastore"
+ "github.com/soda/multi-cloud/file/pkg/db"
+ "github.com/soda/multi-cloud/file/pkg/utils/config"
log "github.com/sirupsen/logrus"
- handler "github.com/opensds/multi-cloud/file/pkg/service"
- pb "github.com/opensds/multi-cloud/file/proto"
+ handler "github.com/soda/multi-cloud/file/pkg/service"
+ pb "github.com/soda/multi-cloud/file/proto"
)
const (
diff --git a/file/pkg/db/db.go b/file/pkg/db/db.go
index 219cef1bf..3078b5d6f 100644
--- a/file/pkg/db/db.go
+++ b/file/pkg/db/db.go
@@ -18,10 +18,10 @@ import (
"context"
"fmt"
- "github.com/opensds/multi-cloud/file/pkg/model"
+ "github.com/soda/multi-cloud/file/pkg/model"
- "github.com/opensds/multi-cloud/file/pkg/db/drivers/mongo"
- "github.com/opensds/multi-cloud/file/pkg/utils/config"
+ "github.com/soda/multi-cloud/file/pkg/db/drivers/mongo"
+ "github.com/soda/multi-cloud/file/pkg/utils/config"
)
// DbAdapter is a global variable that controls database module.
diff --git a/file/pkg/db/drivers/mongo/mongo.go b/file/pkg/db/drivers/mongo/mongo.go
index b41adfaee..96be12c49 100644
--- a/file/pkg/db/drivers/mongo/mongo.go
+++ b/file/pkg/db/drivers/mongo/mongo.go
@@ -25,8 +25,8 @@ import (
"github.com/micro/go-micro/v2/metadata"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/file/pkg/model"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/file/pkg/model"
)
var adapter = &mongoAdapter{}
diff --git a/file/pkg/service/service.go b/file/pkg/service/service.go
index 0b488fc2a..4333158da 100644
--- a/file/pkg/service/service.go
+++ b/file/pkg/service/service.go
@@ -25,15 +25,15 @@ import (
"github.com/micro/go-micro/v2/client"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/backend/pkg/utils/constants"
- backend "github.com/opensds/multi-cloud/backend/proto"
- "github.com/opensds/multi-cloud/contrib/datastore/file/aws"
- "github.com/opensds/multi-cloud/contrib/datastore/file/driver"
- driverutils "github.com/opensds/multi-cloud/contrib/utils"
- "github.com/opensds/multi-cloud/file/pkg/db"
- "github.com/opensds/multi-cloud/file/pkg/model"
- "github.com/opensds/multi-cloud/file/pkg/utils"
- pb "github.com/opensds/multi-cloud/file/proto"
+ "github.com/soda/multi-cloud/backend/pkg/utils/constants"
+ backend "github.com/soda/multi-cloud/backend/proto"
+ "github.com/soda/multi-cloud/contrib/datastore/file/aws"
+ "github.com/soda/multi-cloud/contrib/datastore/file/driver"
+ driverutils "github.com/soda/multi-cloud/contrib/utils"
+ "github.com/soda/multi-cloud/file/pkg/db"
+ "github.com/soda/multi-cloud/file/pkg/model"
+ "github.com/soda/multi-cloud/file/pkg/utils"
+ pb "github.com/soda/multi-cloud/file/proto"
)
const (
diff --git a/file/pkg/service/service_test.go b/file/pkg/service/service_test.go
index ed287017a..e307e077b 100644
--- a/file/pkg/service/service_test.go
+++ b/file/pkg/service/service_test.go
@@ -22,13 +22,13 @@ import (
"github.com/micro/go-micro/v2/client"
"github.com/stretchr/testify/mock"
- bkendpb "github.com/opensds/multi-cloud/backend/proto"
- "github.com/opensds/multi-cloud/file/pkg/db"
- pb "github.com/opensds/multi-cloud/file/proto"
- bksvc "github.com/opensds/multi-cloud/testutils/backend/proto"
- sdtest "github.com/opensds/multi-cloud/testutils/contrib/datastore/drivers"
- "github.com/opensds/multi-cloud/testutils/file/collection"
- dbtest "github.com/opensds/multi-cloud/testutils/file/db/testing"
+ bkendpb "github.com/soda/multi-cloud/backend/proto"
+ "github.com/soda/multi-cloud/file/pkg/db"
+ pb "github.com/soda/multi-cloud/file/proto"
+ bksvc "github.com/soda/multi-cloud/testutils/backend/proto"
+ sdtest "github.com/soda/multi-cloud/testutils/contrib/datastore/drivers"
+ "github.com/soda/multi-cloud/testutils/file/collection"
+ dbtest "github.com/soda/multi-cloud/testutils/file/db/testing"
)
//====================Mock methods of type (_m *DBAdapter)=============================
diff --git a/file/pkg/utils/utils.go b/file/pkg/utils/utils.go
index 9405e6e7a..8279f2194 100644
--- a/file/pkg/utils/utils.go
+++ b/file/pkg/utils/utils.go
@@ -21,14 +21,14 @@ import (
"strconv"
"strings"
- backend "github.com/opensds/multi-cloud/backend/proto"
- "github.com/opensds/multi-cloud/file/pkg/model"
+ backend "github.com/soda/multi-cloud/backend/proto"
+ "github.com/soda/multi-cloud/file/pkg/model"
pstruct "github.com/golang/protobuf/ptypes/struct"
log "github.com/sirupsen/logrus"
- driverutils "github.com/opensds/multi-cloud/contrib/utils"
- pb "github.com/opensds/multi-cloud/file/proto"
+ driverutils "github.com/soda/multi-cloud/contrib/utils"
+ pb "github.com/soda/multi-cloud/file/proto"
)
const (
diff --git a/go.mod b/go.mod
index dffef4797..2700c99ce 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module github.com/opensds/multi-cloud
+module github.com/soda/multi-cloud
go 1.13
diff --git a/install/CI/coverage b/install/CI/coverage
index 9eb924d91..65093dc8f 100755
--- a/install/CI/coverage
+++ b/install/CI/coverage
@@ -17,8 +17,8 @@
set -o errexit
# Keep track of the script directory
TOP_DIR=$(cd $(dirname "$0") && pwd)
-# OpenSDS Root directory
-OPENSDS_DIR=$(cd $TOP_DIR/../.. && pwd)
+# soda Root directory
+soda_DIR=$(cd $TOP_DIR/../.. && pwd)
split_line(){
echo "================================================================================================"
@@ -29,11 +29,11 @@ split_line(){
# Start unit test.
split_line "Start unit test"
# api tests
-go test -v github.com/opensds/multi-cloud/api/pkg/utils/... -cover
-go test -v github.com/opensds/multi-cloud/api/pkg/policy/... -cover
+go test -v github.com/soda/multi-cloud/api/pkg/utils/... -cover
+go test -v github.com/soda/multi-cloud/api/pkg/policy/... -cover
#block test
-go test -v github.com/opensds/multi-cloud/block/pkg/... -cover
+go test -v github.com/soda/multi-cloud/block/pkg/... -cover
#file and backend tests
-go test -v github.com/opensds/multi-cloud/file/pkg/service/... -cover
-go test -v github.com/opensds/multi-cloud/backend/pkg/service/... -cover
+go test -v github.com/soda/multi-cloud/file/pkg/service/... -cover
+go test -v github.com/soda/multi-cloud/backend/pkg/service/... -cover
diff --git a/openapi-spec/swagger.yaml b/openapi-spec/swagger.yaml
index 895e36cc0..04feea063 100644
--- a/openapi-spec/swagger.yaml
+++ b/openapi-spec/swagger.yaml
@@ -25,7 +25,7 @@ openapi: 3.0.0
servers:
- description: SwaggerHub API Auto Mocking
url: 'https://virtserver.swaggerhub.com/open83/multi-cloud/1.0.0'
- - url: 'http://virtserver.swaggerhub.com/opensds.io/OpenSDS-Multi-Cloud/1.0.0'
+ - url: 'http://virtserver.swaggerhub.com/soda.io/soda-Multi-Cloud/1.0.0'
info:
description: |
SODA Multi-cloud API to manage multi-cloud backend storages.
@@ -36,7 +36,7 @@ info:
termsOfService: '://www.linuxfoundation.org/terms'
contact:
name: SODA Support
- url: 'https://opensds.slack.com'
+ url: 'https://soda.slack.com'
email: support@sodafoundation.io
license:
name: Apache 2.0
@@ -1988,12 +1988,12 @@ components:
type: string
description: >-
The name of bucket which is created in SODA Multi-Cloud. When the type of
- connector is opensds-obj, this parameter should be provided.
+ connector is soda-obj, this parameter should be provided.
example: bucket001
ConnType:
type: string
description: Connector type.
- example: opensds-obj
+ example: soda-obj
enum: *CLOUD_BACKENDS
Plan:
type: object
diff --git a/s3/cmd/main.go b/s3/cmd/main.go
index 4a6ef01cf..1c4e7630f 100644
--- a/s3/cmd/main.go
+++ b/s3/cmd/main.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The OpenSDS Authors.
+// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -22,15 +22,15 @@ import (
log "github.com/sirupsen/logrus"
_ "go.uber.org/automaxprocs"
- "github.com/opensds/multi-cloud/api/pkg/utils/obs"
- _ "github.com/opensds/multi-cloud/s3/pkg/datastore"
- "github.com/opensds/multi-cloud/s3/pkg/datastore/driver"
- "github.com/opensds/multi-cloud/s3/pkg/datastore/yig/config"
- gc "github.com/opensds/multi-cloud/s3/pkg/gc"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
- "github.com/opensds/multi-cloud/s3/pkg/meta/redis"
- handler "github.com/opensds/multi-cloud/s3/pkg/service"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/utils/obs"
+ _ "github.com/soda/multi-cloud/s3/pkg/datastore"
+ "github.com/soda/multi-cloud/s3/pkg/datastore/driver"
+ "github.com/soda/multi-cloud/s3/pkg/datastore/yig/config"
+ gc "github.com/soda/multi-cloud/s3/pkg/gc"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
+ "github.com/soda/multi-cloud/s3/pkg/meta/redis"
+ handler "github.com/soda/multi-cloud/s3/pkg/service"
+ pb "github.com/soda/multi-cloud/s3/proto"
)
const (
diff --git a/s3/cmd/s3cov.html b/s3/cmd/s3cov.html
index dae444ade..ddbed447e 100644
--- a/s3/cmd/s3cov.html
+++ b/s3/cmd/s3cov.html
@@ -54,333 +54,333 @@
@@ -394,7 +394,7 @@
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -418,7 +418,7 @@
"github.com/emicklei/go-restful"
"github.com/micro/go-micro/metadata"
- c "github.com/opensds/multi-cloud/api/pkg/context"
+ c "github.com/soda/multi-cloud/api/pkg/context"
log "github.com/sirupsen/logrus"
)
@@ -555,7 +555,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License. You may obtain
@@ -684,7 +684,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -821,7 +821,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License. You may obtain
@@ -844,7 +844,7 @@
"strings"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/utils"
+ "github.com/soda/multi-cloud/api/pkg/utils"
)
func init() {
@@ -1169,7 +1169,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License. You may obtain
@@ -1189,7 +1189,7 @@
"fmt"
"strings"
- "github.com/opensds/multi-cloud/api/pkg/utils"
+ "github.com/soda/multi-cloud/api/pkg/utils"
)
type TokenPair struct {
@@ -1374,7 +1374,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License. You may obtain
@@ -1400,10 +1400,10 @@
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/context"
- "github.com/opensds/multi-cloud/api/pkg/model"
- "github.com/opensds/multi-cloud/api/pkg/utils"
- "github.com/opensds/multi-cloud/api/pkg/utils/constants"
+ "github.com/soda/multi-cloud/api/pkg/context"
+ "github.com/soda/multi-cloud/api/pkg/model"
+ "github.com/soda/multi-cloud/api/pkg/utils"
+ "github.com/soda/multi-cloud/api/pkg/utils/constants"
)
var enforcer *Enforcer
@@ -1596,8 +1596,8 @@
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -1630,8 +1630,8 @@
"net/http"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- . "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ . "github.com/soda/multi-cloud/api/pkg/s3/datatype"
)
func getAclFromHeader(request *restful.Request) (acl Acl, err error) {
@@ -1683,9 +1683,9 @@
"time"
"github.com/emicklei/go-restful"
- . "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- "github.com/opensds/multi-cloud/s3/pkg/meta/types"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ . "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ "github.com/soda/multi-cloud/s3/pkg/meta/types"
+ pb "github.com/soda/multi-cloud/s3/proto"
)
// Refer: https://docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonResponseHeaders.html
@@ -1762,9 +1762,9 @@
"time"
"github.com/emicklei/go-restful"
- . "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
+ . "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
log "github.com/sirupsen/logrus"
)
@@ -1977,7 +1977,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -2001,10 +2001,10 @@
"github.com/emicklei/go-restful"
"github.com/journeymidnight/yig/helper"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- s3error "github.com/opensds/multi-cloud/s3/error"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ s3error "github.com/soda/multi-cloud/s3/error"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -2092,7 +2092,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -2110,8 +2110,8 @@
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -2130,7 +2130,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -2153,13 +2153,13 @@
"unicode/utf8"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- "github.com/opensds/multi-cloud/api/pkg/utils/constants"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ "github.com/soda/multi-cloud/api/pkg/utils/constants"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -2332,7 +2332,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -2350,8 +2350,8 @@
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -2371,7 +2371,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -2390,11 +2390,11 @@
import (
"fmt"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- . "github.com/opensds/multi-cloud/api/pkg/utils/constants"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ . "github.com/soda/multi-cloud/api/pkg/utils/constants"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -2502,7 +2502,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -2526,12 +2526,12 @@
"sync"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- . "github.com/opensds/multi-cloud/api/pkg/utils/constants"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ . "github.com/soda/multi-cloud/api/pkg/utils/constants"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
"golang.org/x/net/context"
)
@@ -2757,7 +2757,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -2779,13 +2779,13 @@
"time"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- c "github.com/opensds/multi-cloud/api/pkg/context"
- "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- "github.com/opensds/multi-cloud/s3/proto"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ c "github.com/soda/multi-cloud/api/pkg/context"
+ "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ "github.com/soda/multi-cloud/s3/proto"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -2860,7 +2860,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -2884,9 +2884,9 @@
"sync"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -2961,7 +2961,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -2981,11 +2981,11 @@
"crypto/md5"
"encoding/xml"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- s3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ s3 "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -3052,12 +3052,12 @@
"strings"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
- . "github.com/opensds/multi-cloud/s3/error"
+ . "github.com/soda/multi-cloud/s3/error"
)
func (s *APIService) CompleteMultipartUpload(request *restful.Request, response *restful.Response) {
@@ -3137,8 +3137,8 @@
import (
"encoding/xml"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
log "github.com/sirupsen/logrus"
)
@@ -3366,7 +3366,7 @@
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -3706,11 +3706,11 @@
"time"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/policy"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- s3 "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/policy"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ s3 "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -3783,10 +3783,10 @@
"sort"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- s3error "github.com/opensds/multi-cloud/s3/error"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ s3error "github.com/soda/multi-cloud/s3/error"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -3873,9 +3873,9 @@
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -3941,7 +3941,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -3962,10 +3962,10 @@
"net/http"
"github.com/emicklei/go-restful"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/policy"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/policy"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ "github.com/soda/multi-cloud/s3/proto"
)
func (s *APIService) GetStorageClasses(request *restful.Request, response *restful.Response) {
@@ -4000,7 +4000,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -4018,11 +4018,11 @@
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
- . "github.com/opensds/multi-cloud/s3/error"
+ . "github.com/soda/multi-cloud/s3/error"
)
func (s *APIService) MultiPartUploadInit(request *restful.Request, response *restful.Response) {
@@ -4096,8 +4096,8 @@
"strings"
"time"
- . "github.com/opensds/multi-cloud/s3/error"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ . "github.com/soda/multi-cloud/s3/error"
+ pb "github.com/soda/multi-cloud/s3/proto"
)
// Validates the preconditions for CopyObject, returns nil if validates
@@ -4337,7 +4337,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -4361,10 +4361,10 @@
"github.com/emicklei/go-restful"
"github.com/journeymidnight/yig/helper"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- s3error "github.com/opensds/multi-cloud/s3/error"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ s3error "github.com/soda/multi-cloud/s3/error"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -4455,7 +4455,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -4478,11 +4478,11 @@
"github.com/emicklei/go-restful"
"github.com/micro/go-micro/client"
- "github.com/opensds/multi-cloud/api/pkg/common"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/meta/types"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/meta/types"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -4667,7 +4667,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -4687,9 +4687,9 @@
"strings"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -4737,7 +4737,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -4761,10 +4761,10 @@
"github.com/emicklei/go-restful"
"github.com/micro/go-micro/client"
- "github.com/opensds/multi-cloud/api/pkg/common"
- . "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- s3error "github.com/opensds/multi-cloud/s3/error"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ . "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ s3error "github.com/soda/multi-cloud/s3/error"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -4979,7 +4979,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -5002,11 +5002,11 @@
"github.com/emicklei/go-restful"
"github.com/journeymidnight/yig/helper"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- . "github.com/opensds/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ . "github.com/soda/multi-cloud/s3/error"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -5151,7 +5151,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -5174,12 +5174,12 @@
"strconv"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
- "github.com/opensds/multi-cloud/s3/proto"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
+ "github.com/soda/multi-cloud/s3/proto"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -5343,7 +5343,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -5368,10 +5368,10 @@
"strings"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/proto"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/proto"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -5543,7 +5543,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -5561,7 +5561,7 @@
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/policy"
+ "github.com/soda/multi-cloud/api/pkg/policy"
)
func (s *APIService) RouteBucketDelete(request *restful.Request, response *restful.Response) {
@@ -5589,7 +5589,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -5607,7 +5607,7 @@
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/policy"
+ "github.com/soda/multi-cloud/api/pkg/policy"
)
func (s *APIService) RouteBucketGet(request *restful.Request, response *restful.Response) {
@@ -5637,7 +5637,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -5655,7 +5655,7 @@
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/policy"
+ "github.com/soda/multi-cloud/api/pkg/policy"
)
func (s *APIService) RouteBucketHead(request *restful.Request, response *restful.Response) {
@@ -5667,7 +5667,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -5687,7 +5687,7 @@
"errors"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/policy"
+ "github.com/soda/multi-cloud/api/pkg/policy"
"net/http"
)
@@ -5723,7 +5723,7 @@
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/policy"
+ "github.com/soda/multi-cloud/api/pkg/policy"
)
func (s *APIService) RouteObjectDelete(request *restful.Request, response *restful.Response) {
@@ -5738,7 +5738,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -5756,7 +5756,7 @@
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/policy"
+ "github.com/soda/multi-cloud/api/pkg/policy"
)
func (s *APIService) RouteObjectGet(request *restful.Request, response *restful.Response) {
@@ -5773,7 +5773,7 @@
}
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -5791,7 +5791,7 @@
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/policy"
+ "github.com/soda/multi-cloud/api/pkg/policy"
)
func (s *APIService) RouteObjectHead(request *restful.Request, response *restful.Response) {
@@ -5803,7 +5803,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -5823,8 +5823,8 @@
"regexp"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/policy"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/policy"
)
func (s *APIService) RouteObjectPost(request *restful.Request, response *restful.Response) {
@@ -5847,7 +5847,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -5865,7 +5865,7 @@
import (
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/policy"
+ "github.com/soda/multi-cloud/api/pkg/policy"
)
func (s *APIService) RouteObjectPut(request *restful.Request, response *restful.Response) {
@@ -5893,7 +5893,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -5945,7 +5945,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -5969,10 +5969,10 @@
"github.com/emicklei/go-restful"
"github.com/micro/go-micro/client"
- "github.com/opensds/multi-cloud/backend/proto"
- backendpb "github.com/opensds/multi-cloud/backend/proto"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/backend/proto"
+ backendpb "github.com/soda/multi-cloud/backend/proto"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -6092,7 +6092,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -6114,9 +6114,9 @@
"strconv"
"github.com/emicklei/go-restful"
- "github.com/opensds/multi-cloud/api/pkg/common"
- . "github.com/opensds/multi-cloud/s3/error"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ . "github.com/soda/multi-cloud/s3/error"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -8892,7 +8892,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -10707,7 +10707,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -11603,7 +11603,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -11623,15 +11623,15 @@
"fmt"
"github.com/micro/go-micro"
- "github.com/opensds/multi-cloud/api/pkg/utils/obs"
- _ "github.com/opensds/multi-cloud/s3/pkg/datastore"
- "github.com/opensds/multi-cloud/s3/pkg/datastore/driver"
- "github.com/opensds/multi-cloud/s3/pkg/datastore/yig/config"
- gc "github.com/opensds/multi-cloud/s3/pkg/gc"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
- "github.com/opensds/multi-cloud/s3/pkg/meta/redis"
- handler "github.com/opensds/multi-cloud/s3/pkg/service"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/utils/obs"
+ _ "github.com/soda/multi-cloud/s3/pkg/datastore"
+ "github.com/soda/multi-cloud/s3/pkg/datastore/driver"
+ "github.com/soda/multi-cloud/s3/pkg/datastore/yig/config"
+ gc "github.com/soda/multi-cloud/s3/pkg/gc"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
+ "github.com/soda/multi-cloud/s3/pkg/meta/redis"
+ handler "github.com/soda/multi-cloud/s3/pkg/service"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
_ "go.uber.org/automaxprocs"
)
@@ -12421,7 +12421,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -12454,13 +12454,13 @@
"github.com/aws/aws-sdk-go/aws/session"
awss3 "github.com/aws/aws-sdk-go/service/s3"
"github.com/aws/aws-sdk-go/service/s3/s3manager"
- backendpb "github.com/opensds/multi-cloud/backend/proto"
- . "github.com/opensds/multi-cloud/s3/error"
- dscommon "github.com/opensds/multi-cloud/s3/pkg/datastore/common"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- osdss3 "github.com/opensds/multi-cloud/s3/pkg/service"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ backendpb "github.com/soda/multi-cloud/backend/proto"
+ . "github.com/soda/multi-cloud/s3/error"
+ dscommon "github.com/soda/multi-cloud/s3/pkg/datastore/common"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ osdss3 "github.com/soda/multi-cloud/s3/pkg/service"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -12773,9 +12773,9 @@
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/credentials"
"github.com/aws/aws-sdk-go/aws/session"
- "github.com/opensds/multi-cloud/backend/pkg/utils/constants"
- backendpb "github.com/opensds/multi-cloud/backend/proto"
- "github.com/opensds/multi-cloud/s3/pkg/datastore/driver"
+ "github.com/soda/multi-cloud/backend/pkg/utils/constants"
+ backendpb "github.com/soda/multi-cloud/backend/proto"
+ "github.com/soda/multi-cloud/s3/pkg/datastore/driver"
)
type AwsS3DriverFactory struct {
@@ -12811,7 +12811,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -12840,13 +12840,13 @@
"encoding/hex"
"github.com/Azure/azure-storage-blob-go/azblob"
- backendpb "github.com/opensds/multi-cloud/backend/proto"
- . "github.com/opensds/multi-cloud/s3/error"
- dscommon "github.com/opensds/multi-cloud/s3/pkg/datastore/common"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- osdss3 "github.com/opensds/multi-cloud/s3/pkg/service"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ backendpb "github.com/soda/multi-cloud/backend/proto"
+ . "github.com/soda/multi-cloud/s3/error"
+ dscommon "github.com/soda/multi-cloud/s3/pkg/datastore/common"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ osdss3 "github.com/soda/multi-cloud/s3/pkg/service"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
"strconv"
)
@@ -13170,9 +13170,9 @@
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -15846,7 +15846,7 @@
package meta
import (
- "github.com/opensds/multi-cloud/s3/pkg/datastore/yig/meta/types"
+ "github.com/soda/multi-cloud/s3/pkg/datastore/yig/meta/types"
)
// delete multipart uploaded part objects and put them into gc
@@ -15872,8 +15872,8 @@
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -16576,8 +16576,8 @@
"sync"
"time"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/datastore/yig/meta/types"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/datastore/yig/meta/types"
log "github.com/sirupsen/logrus"
)
@@ -16849,11 +16849,11 @@
"sort"
"strconv"
- s3err "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/datastore/common"
- "github.com/opensds/multi-cloud/s3/pkg/datastore/yig/meta/types"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ s3err "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/datastore/common"
+ "github.com/soda/multi-cloud/s3/pkg/datastore/yig/meta/types"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -17136,8 +17136,8 @@
import (
"io"
- s3err "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/datastore/yig/meta/types"
+ s3err "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/datastore/yig/meta/types"
log "github.com/sirupsen/logrus"
)
@@ -17253,10 +17253,10 @@
"math/rand"
"time"
- . "github.com/opensds/multi-cloud/s3/error"
- dscommon "github.com/opensds/multi-cloud/s3/pkg/datastore/common"
- "github.com/opensds/multi-cloud/s3/pkg/datastore/yig/meta/types"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ . "github.com/soda/multi-cloud/s3/error"
+ dscommon "github.com/soda/multi-cloud/s3/pkg/datastore/common"
+ "github.com/soda/multi-cloud/s3/pkg/datastore/yig/meta/types"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -17644,7 +17644,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -17668,10 +17668,10 @@
"io"
"path/filepath"
- "github.com/opensds/multi-cloud/s3/pkg/datastore/yig/config"
- "github.com/opensds/multi-cloud/s3/pkg/datastore/yig/crypto"
- "github.com/opensds/multi-cloud/s3/pkg/datastore/yig/meta"
- "github.com/opensds/multi-cloud/s3/pkg/datastore/yig/utils"
+ "github.com/soda/multi-cloud/s3/pkg/datastore/yig/config"
+ "github.com/soda/multi-cloud/s3/pkg/datastore/yig/crypto"
+ "github.com/soda/multi-cloud/s3/pkg/datastore/yig/meta"
+ "github.com/soda/multi-cloud/s3/pkg/datastore/yig/utils"
log "github.com/sirupsen/logrus"
)
@@ -17848,7 +17848,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -17952,7 +17952,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -17972,10 +17972,10 @@
"context"
"fmt"
- "github.com/opensds/multi-cloud/s3/pkg/db/drivers/mongo"
- . "github.com/opensds/multi-cloud/s3/pkg/exception"
- . "github.com/opensds/multi-cloud/s3/pkg/utils"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/s3/pkg/db/drivers/mongo"
+ . "github.com/soda/multi-cloud/s3/pkg/exception"
+ . "github.com/soda/multi-cloud/s3/pkg/utils"
+ pb "github.com/soda/multi-cloud/s3/proto"
)
// DbAdapter is a global variable that controls database module.
@@ -18029,7 +18029,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -18052,8 +18052,8 @@
"github.com/globalsign/mgo"
"github.com/globalsign/mgo/bson"
log "github.com/sirupsen/logrus"
- . "github.com/opensds/multi-cloud/s3/pkg/exception"
- . "github.com/opensds/multi-cloud/s3/pkg/utils"
+ . "github.com/soda/multi-cloud/s3/pkg/exception"
+ . "github.com/soda/multi-cloud/s3/pkg/utils"
)
func (ad *adapter) DeleteBucket(ctx context.Context, bucketName string) S3Error {
@@ -18095,7 +18095,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -18117,9 +18117,9 @@
"github.com/globalsign/mgo"
"github.com/globalsign/mgo/bson"
log "github.com/sirupsen/logrus"
- . "github.com/opensds/multi-cloud/s3/pkg/exception"
- . "github.com/opensds/multi-cloud/s3/pkg/utils"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ . "github.com/soda/multi-cloud/s3/pkg/exception"
+ . "github.com/soda/multi-cloud/s3/pkg/utils"
+ pb "github.com/soda/multi-cloud/s3/proto"
)
func (ad *adapter) GetBucketByName(ctx context.Context, bucketName string, out *pb.Bucket) S3Error {
@@ -18147,7 +18147,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -18169,9 +18169,9 @@
"github.com/globalsign/mgo"
"github.com/globalsign/mgo/bson"
log "github.com/sirupsen/logrus"
- . "github.com/opensds/multi-cloud/s3/pkg/exception"
- . "github.com/opensds/multi-cloud/s3/pkg/utils"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ . "github.com/soda/multi-cloud/s3/pkg/exception"
+ . "github.com/soda/multi-cloud/s3/pkg/utils"
+ pb "github.com/soda/multi-cloud/s3/proto"
)
func (ad *adapter) CreateBucket(ctx context.Context, in *pb.Bucket) S3Error {
@@ -18226,7 +18226,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -18247,8 +18247,8 @@
"github.com/globalsign/mgo/bson"
log "github.com/sirupsen/logrus"
- . "github.com/opensds/multi-cloud/s3/pkg/exception"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ . "github.com/soda/multi-cloud/s3/pkg/exception"
+ pb "github.com/soda/multi-cloud/s3/proto"
)
func (ad *adapter) ListBuckets(ctx context.Context, in *pb.BaseRequest, out *[]pb.Bucket) S3Error {
@@ -18274,7 +18274,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -18295,10 +18295,10 @@
"github.com/globalsign/mgo"
"github.com/globalsign/mgo/bson"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/api/pkg/common"
- . "github.com/opensds/multi-cloud/s3/pkg/exception"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ . "github.com/soda/multi-cloud/s3/pkg/exception"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ pb "github.com/soda/multi-cloud/s3/proto"
)
func (ad *adapter) CountObjects(ctx context.Context, in *pb.ListObjectsRequest, out *utils.ObjsCountInfo) S3Error {
@@ -18354,7 +18354,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -18378,7 +18378,7 @@
"github.com/globalsign/mgo"
"github.com/globalsign/mgo/bson"
"github.com/micro/go-micro/metadata"
- "github.com/opensds/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/common"
)
var adap = &adapter{}
@@ -18440,9 +18440,9 @@
"github.com/globalsign/mgo"
"github.com/globalsign/mgo/bson"
log "github.com/sirupsen/logrus"
- . "github.com/opensds/multi-cloud/s3/pkg/exception"
- . "github.com/opensds/multi-cloud/s3/pkg/utils"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ . "github.com/soda/multi-cloud/s3/pkg/exception"
+ . "github.com/soda/multi-cloud/s3/pkg/utils"
+ pb "github.com/soda/multi-cloud/s3/proto"
)
var CollMultipartUploadRecord = "multipartUploadRecords"
@@ -18473,7 +18473,7 @@
return InternalError
}
- // objectkey is unique in OpenSDS, uploadid is unique for a specific physical bucket
+ // objectkey is unique in soda, uploadid is unique for a specific physical bucket
err = session.DB(DataBaseName).C(CollMultipartUploadRecord).Remove(m)
if err != nil && err != mgo.ErrNotFound {
log.Errorf("delete multipart upload record[uploadid=%s] from database failed: %v\n", record.UploadId, err)
@@ -18511,7 +18511,7 @@
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -18533,9 +18533,9 @@
"github.com/globalsign/mgo"
"github.com/globalsign/mgo/bson"
log "github.com/sirupsen/logrus"
- . "github.com/opensds/multi-cloud/s3/pkg/exception"
- . "github.com/opensds/multi-cloud/s3/pkg/utils"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ . "github.com/soda/multi-cloud/s3/pkg/exception"
+ . "github.com/soda/multi-cloud/s3/pkg/utils"
+ pb "github.com/soda/multi-cloud/s3/proto"
)
func (ad *adapter) DeleteObject(ctx context.Context, in *pb.DeleteObjectInput) S3Error {
@@ -18562,7 +18562,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -18584,9 +18584,9 @@
"github.com/globalsign/mgo"
"github.com/globalsign/mgo/bson"
log "github.com/sirupsen/logrus"
- . "github.com/opensds/multi-cloud/s3/pkg/exception"
- . "github.com/opensds/multi-cloud/s3/pkg/utils"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ . "github.com/soda/multi-cloud/s3/pkg/exception"
+ . "github.com/soda/multi-cloud/s3/pkg/utils"
+ pb "github.com/soda/multi-cloud/s3/proto"
)
func (ad *adapter) GetObject(ctx context.Context, in *pb.GetObjectInput, out *pb.Object) S3Error {
@@ -18613,7 +18613,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -18635,9 +18635,9 @@
"github.com/globalsign/mgo"
"github.com/globalsign/mgo/bson"
log "github.com/sirupsen/logrus"
- . "github.com/opensds/multi-cloud/s3/pkg/exception"
- . "github.com/opensds/multi-cloud/s3/pkg/utils"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ . "github.com/soda/multi-cloud/s3/pkg/exception"
+ . "github.com/soda/multi-cloud/s3/pkg/utils"
+ pb "github.com/soda/multi-cloud/s3/proto"
)
func (ad *adapter) CreateObject(ctx context.Context, in *pb.Object) S3Error {
@@ -18713,7 +18713,7 @@
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -18771,15 +18771,15 @@
"time"
"github.com/micro/go-micro/client"
- bkd "github.com/opensds/multi-cloud/backend/proto"
- "github.com/opensds/multi-cloud/s3/pkg/meta/types"
+ bkd "github.com/soda/multi-cloud/backend/proto"
+ "github.com/soda/multi-cloud/s3/pkg/meta/types"
"github.com/micro/go-micro/metadata"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/s3/pkg/datastore/driver"
- "github.com/opensds/multi-cloud/s3/pkg/meta"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/s3/pkg/datastore/driver"
+ "github.com/soda/multi-cloud/s3/pkg/meta"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -19319,7 +19319,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -19338,11 +19338,11 @@
"context"
"fmt"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
- "github.com/opensds/multi-cloud/s3/pkg/meta/redis"
- . "github.com/opensds/multi-cloud/s3/pkg/meta/types"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
+ "github.com/soda/multi-cloud/s3/pkg/meta/redis"
+ . "github.com/soda/multi-cloud/s3/pkg/meta/types"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -19504,8 +19504,8 @@
import (
"errors"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
- "github.com/opensds/multi-cloud/s3/pkg/meta/redis"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
+ "github.com/soda/multi-cloud/s3/pkg/meta/redis"
log "github.com/sirupsen/logrus"
)
@@ -19669,7 +19669,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -19693,13 +19693,13 @@
"time"
_ "github.com/go-sql-driver/mysql"
- "github.com/opensds/multi-cloud/api/pkg/common"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
- . "github.com/opensds/multi-cloud/s3/pkg/meta/types"
- "github.com/opensds/multi-cloud/s3/pkg/meta/util"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
+ . "github.com/soda/multi-cloud/s3/pkg/meta/types"
+ "github.com/soda/multi-cloud/s3/pkg/meta/util"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -20392,7 +20392,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -20418,9 +20418,9 @@
"strings"
_ "github.com/go-sql-driver/mysql"
- "github.com/opensds/multi-cloud/api/pkg/common"
- . "github.com/opensds/multi-cloud/s3/error"
- . "github.com/opensds/multi-cloud/s3/pkg/meta/types"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ . "github.com/soda/multi-cloud/s3/error"
+ . "github.com/soda/multi-cloud/s3/pkg/meta/types"
log "github.com/sirupsen/logrus"
"github.com/xxtea/xxtea-go/xxtea"
)
@@ -20545,7 +20545,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -20567,8 +20567,8 @@
"strconv"
"time"
- . "github.com/opensds/multi-cloud/s3/pkg/meta/types"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ . "github.com/soda/multi-cloud/s3/pkg/meta/types"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -20667,7 +20667,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -20688,10 +20688,10 @@
"strings"
"time"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
- . "github.com/opensds/multi-cloud/s3/pkg/meta/types"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
+ . "github.com/soda/multi-cloud/s3/pkg/meta/types"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -21016,7 +21016,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -21040,8 +21040,8 @@
"strconv"
"time"
- . "github.com/opensds/multi-cloud/s3/pkg/meta/types"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ . "github.com/soda/multi-cloud/s3/pkg/meta/types"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
"github.com/xxtea/xxtea-go/xxtea"
)
@@ -21135,7 +21135,7 @@
sqlTx, _ = tx.(*sql.Tx)
sql, args := object.GetCreateSql()
_, err = sqlTx.Exec(sql, args...)
- // TODO: multi-part handle, see issue https://github.com/opensds/multi-cloud/issues/690
+ // TODO: multi-part handle, see issue https://github.com/soda/multi-cloud/issues/690
return err
}
@@ -21212,7 +21212,7 @@
import (
"database/sql"
- . "github.com/opensds/multi-cloud/s3/pkg/meta/types"
+ . "github.com/soda/multi-cloud/s3/pkg/meta/types"
"strconv"
)
@@ -21295,7 +21295,7 @@
import (
"context"
- "github.com/opensds/multi-cloud/s3/pkg/meta/types"
+ "github.com/soda/multi-cloud/s3/pkg/meta/types"
)
func (m *Meta) AddGcobjRecord(ctx context.Context, obj *types.Object) error {
@@ -21314,9 +21314,9 @@
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -21367,7 +21367,7 @@
import (
"context"
- . "github.com/opensds/multi-cloud/s3/pkg/meta/types"
+ . "github.com/soda/multi-cloud/s3/pkg/meta/types"
)
func (m *Meta) GetMultipart(bucketName, objectName, uploadId string) (Multipart, error) {
@@ -21389,7 +21389,7 @@
// TODO: usage need to be updated for charging, it depends on redis, and the mechanism is:
// 1. Update usage in redis when each delete happens.
// 2. Update usage in database periodically based on redis.
- // see https://github.com/opensds/multi-cloud/issues/698 for redis related issue.
+ // see https://github.com/soda/multi-cloud/issues/698 for redis related issue.
err = m.Db.CommitTrans(tx)
return
@@ -21412,7 +21412,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -21430,11 +21430,11 @@
import (
"context"
- . "github.com/opensds/multi-cloud/s3/error"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
- "github.com/opensds/multi-cloud/s3/pkg/meta/db/drivers/tidb"
- "github.com/opensds/multi-cloud/s3/pkg/meta/redis"
- . "github.com/opensds/multi-cloud/s3/pkg/meta/types"
+ . "github.com/soda/multi-cloud/s3/error"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
+ "github.com/soda/multi-cloud/s3/pkg/meta/db/drivers/tidb"
+ "github.com/soda/multi-cloud/s3/pkg/meta/redis"
+ . "github.com/soda/multi-cloud/s3/pkg/meta/types"
log "github.com/sirupsen/logrus"
"strconv"
)
@@ -21523,7 +21523,7 @@
// TODO: usage need to be updated for charging, and it depends on redis, and the mechanism is:
// 1. Update usage in redis when each put happens.
// 2. Update usage in database periodically based on redis.
- // see https://github.com/opensds/multi-cloud/issues/698 for redis related issue.
+ // see https://github.com/soda/multi-cloud/issues/698 for redis related issue.
err = m.Db.CommitTrans(tx)
return nil
@@ -21550,7 +21550,7 @@
// TODO: usage need to be updated for charging, it depends on redis, and the mechanism is:
// 1. Update usage in redis when each delete happens.
// 2. Update usage in database periodically based on redis.
- // see https://github.com/opensds/multi-cloud/issues/698 for redis related issue.
+ // see https://github.com/soda/multi-cloud/issues/698 for redis related issue.
err = m.Db.CommitTrans(tx)
@@ -21593,8 +21593,8 @@
"strconv"
log "github.com/sirupsen/logrus"
- "github.com/opensds/multi-cloud/s3/pkg/datastore/yig/config"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
+ "github.com/soda/multi-cloud/s3/pkg/datastore/yig/config"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
)
var (
@@ -21984,7 +21984,7 @@
log "github.com/sirupsen/logrus"
"github.com/go-redis/redis"
- "github.com/opensds/multi-cloud/s3/pkg/datastore/yig/config"
+ "github.com/soda/multi-cloud/s3/pkg/datastore/yig/config"
)
const (
@@ -22377,8 +22377,8 @@
"time"
"github.com/dustin/go-humanize"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -22494,7 +22494,7 @@
"fmt"
"strconv"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
)
type Cluster struct {
@@ -22536,7 +22536,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -22623,8 +22623,8 @@
"strconv"
"time"
- "github.com/opensds/multi-cloud/api/pkg/s3/datatype"
- "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/s3/datatype"
+ "github.com/soda/multi-cloud/s3/proto"
"github.com/xxtea/xxtea-go/xxtea"
)
@@ -22762,9 +22762,9 @@
"strconv"
"time"
- "github.com/opensds/multi-cloud/s3/pkg/helper"
- "github.com/opensds/multi-cloud/s3/pkg/meta/util"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/s3/pkg/helper"
+ "github.com/soda/multi-cloud/s3/pkg/meta/util"
+ pb "github.com/soda/multi-cloud/s3/proto"
"github.com/xxtea/xxtea-go/xxtea"
)
@@ -23099,8 +23099,8 @@
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -23344,7 +23344,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -23362,13 +23362,13 @@
import (
"context"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
- "github.com/opensds/multi-cloud/api/pkg/s3"
- . "github.com/opensds/multi-cloud/s3/error"
- . "github.com/opensds/multi-cloud/s3/pkg/meta/types"
- "github.com/opensds/multi-cloud/s3/pkg/meta/util"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/s3"
+ . "github.com/soda/multi-cloud/s3/error"
+ . "github.com/soda/multi-cloud/s3/pkg/meta/types"
+ "github.com/soda/multi-cloud/s3/pkg/meta/util"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -23576,7 +23576,7 @@
bucket.LifecycleConfiguration = in.Lc
err = s.MetaStorage.Db.PutBucket(ctx, bucket)
- /* TODO: enable cache, see https://github.com/opensds/multi-cloud/issues/698
+ /* TODO: enable cache, see https://github.com/soda/multi-cloud/issues/698
if err == nil {
s.MetaStorage.Cache.Remove(redis.BucketTable, meta.BUCKET_CACHE_PREFIX, bucketName)
}*/
@@ -23706,7 +23706,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -23730,14 +23730,14 @@
"strconv"
"time"
- . "github.com/opensds/multi-cloud/s3/error"
- dscommon "github.com/opensds/multi-cloud/s3/pkg/datastore/common"
- "github.com/opensds/multi-cloud/s3/pkg/datastore/driver"
- . "github.com/opensds/multi-cloud/s3/pkg/meta/types"
- "github.com/opensds/multi-cloud/s3/pkg/meta/util"
- "github.com/opensds/multi-cloud/s3/pkg/model"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ . "github.com/soda/multi-cloud/s3/error"
+ dscommon "github.com/soda/multi-cloud/s3/pkg/datastore/common"
+ "github.com/soda/multi-cloud/s3/pkg/datastore/driver"
+ . "github.com/soda/multi-cloud/s3/pkg/meta/types"
+ "github.com/soda/multi-cloud/s3/pkg/meta/util"
+ "github.com/soda/multi-cloud/s3/pkg/model"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -24444,7 +24444,7 @@
}
-
// Copyright 2019 The OpenSDS Authors.
+
// Copyright 2019 The soda Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -24471,17 +24471,17 @@
"github.com/journeymidnight/yig/helper"
"github.com/micro/go-micro/metadata"
- "github.com/opensds/multi-cloud/api/pkg/common"
- "github.com/opensds/multi-cloud/api/pkg/utils/constants"
- . "github.com/opensds/multi-cloud/s3/error"
- dscommon "github.com/opensds/multi-cloud/s3/pkg/datastore/common"
- "github.com/opensds/multi-cloud/s3/pkg/datastore/driver"
- "github.com/opensds/multi-cloud/s3/pkg/meta/types"
- . "github.com/opensds/multi-cloud/s3/pkg/meta/types"
- meta "github.com/opensds/multi-cloud/s3/pkg/meta/types"
- "github.com/opensds/multi-cloud/s3/pkg/meta/util"
- "github.com/opensds/multi-cloud/s3/pkg/utils"
- pb "github.com/opensds/multi-cloud/s3/proto"
+ "github.com/soda/multi-cloud/api/pkg/common"
+ "github.com/soda/multi-cloud/api/pkg/utils/constants"
+ . "github.com/soda/multi-cloud/s3/error"
+ dscommon "github.com/soda/multi-cloud/s3/pkg/datastore/common"
+ "github.com/soda/multi-cloud/s3/pkg/datastore/driver"
+ "github.com/soda/multi-cloud/s3/pkg/meta/types"
+ . "github.com/soda/multi-cloud/s3/pkg/meta/types"
+ meta "github.com/soda/multi-cloud/s3/pkg/meta/types"
+ "github.com/soda/multi-cloud/s3/pkg/meta/util"
+ "github.com/soda/multi-cloud/s3/pkg/utils"
+ pb "github.com/soda/multi-cloud/s3/proto"
log "github.com/sirupsen/logrus"
)
@@ -24731,7 +24731,7 @@
}
out.Object = object.Object
- object.StorageClass, _ = GetNameFromTier(object.Tier, utils.OSTYPE_OPENSDS)
+ object.StorageClass, _ = GetNameFromTier(object.Tier, utils.OSTYPE_soda)
return nil
}
@@ -25537,7 +25537,7 @@
} else {
object.ObjectKey = obj.ObjectKey
}
- object.StorageClass, _ = GetNameFromTier(obj.Tier, utils.OSTYPE_OPENSDS)
+ object.StorageClass, _ = GetNameFromTier(obj.Tier, utils.OSTYPE_soda)
objects = append(objects, &object)
log.Debugf("object:%+v\n", object)
}
@@ -25664,7 +25664,7 @@
}