Skip to content

Commit

Permalink
Moved authentication to be an internal pkg
Browse files Browse the repository at this point in the history
Signed-off-by: ItalyPaleAle <[email protected]>
  • Loading branch information
ItalyPaleAle committed Jul 6, 2022
1 parent a193cc1 commit 3b9bb86
Show file tree
Hide file tree
Showing 30 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion bindings/aws/dynamodb/dynamodb.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (
"github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute"
"github.com/mitchellh/mapstructure"

aws_auth "github.com/dapr/components-contrib/authentication/aws"
"github.com/dapr/components-contrib/bindings"
aws_auth "github.com/dapr/components-contrib/internal/authentication/aws"
"github.com/dapr/kit/logger"
)

Expand Down
2 changes: 1 addition & 1 deletion bindings/aws/kinesis/kinesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ import (
"github.com/vmware/vmware-go-kcl/clientlibrary/interfaces"
"github.com/vmware/vmware-go-kcl/clientlibrary/worker"

aws_auth "github.com/dapr/components-contrib/authentication/aws"
"github.com/dapr/components-contrib/bindings"
aws_auth "github.com/dapr/components-contrib/internal/authentication/aws"
"github.com/dapr/kit/logger"
)

Expand Down
2 changes: 1 addition & 1 deletion bindings/aws/s3/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import (
"github.com/aws/aws-sdk-go/service/s3/s3manager"
"github.com/google/uuid"

aws_auth "github.com/dapr/components-contrib/authentication/aws"
"github.com/dapr/components-contrib/bindings"
aws_auth "github.com/dapr/components-contrib/internal/authentication/aws"
"github.com/dapr/components-contrib/internal/utils"
"github.com/dapr/kit/logger"
)
Expand Down
2 changes: 1 addition & 1 deletion bindings/aws/ses/ses.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (

"github.com/aws/aws-sdk-go/aws"

aws_auth "github.com/dapr/components-contrib/authentication/aws"
aws_auth "github.com/dapr/components-contrib/internal/authentication/aws"

"github.com/aws/aws-sdk-go/service/ses"

Expand Down
2 changes: 1 addition & 1 deletion bindings/aws/sns/sns.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (

"github.com/aws/aws-sdk-go/service/sns"

aws_auth "github.com/dapr/components-contrib/authentication/aws"
"github.com/dapr/components-contrib/bindings"
aws_auth "github.com/dapr/components-contrib/internal/authentication/aws"
"github.com/dapr/kit/logger"
)

Expand Down
2 changes: 1 addition & 1 deletion bindings/aws/sqs/sqs.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/sqs"

aws_auth "github.com/dapr/components-contrib/authentication/aws"
"github.com/dapr/components-contrib/bindings"
aws_auth "github.com/dapr/components-contrib/internal/authentication/aws"
"github.com/dapr/kit/logger"
)

Expand Down
2 changes: 1 addition & 1 deletion bindings/azure/blobstorage/blobstorage.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import (
"github.com/Azure/azure-storage-blob-go/azblob"
"github.com/google/uuid"

azauth "github.com/dapr/components-contrib/authentication/azure"
"github.com/dapr/components-contrib/bindings"
azauth "github.com/dapr/components-contrib/internal/authentication/azure"
mdutils "github.com/dapr/components-contrib/metadata"
"github.com/dapr/kit/logger"
)
Expand Down
2 changes: 1 addition & 1 deletion bindings/azure/cosmosdb/cosmosdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (
"github.com/a8m/documentdb"
backoff "github.com/cenkalti/backoff/v4"

"github.com/dapr/components-contrib/authentication/azure"
"github.com/dapr/components-contrib/bindings"
"github.com/dapr/components-contrib/internal/authentication/azure"
"github.com/dapr/kit/logger"
)

Expand Down
2 changes: 1 addition & 1 deletion bindings/azure/eventhubs/eventhubs.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import (
"github.com/Azure/azure-storage-blob-go/azblob"
"github.com/Azure/go-autorest/autorest/azure"

azauth "github.com/dapr/components-contrib/authentication/azure"
"github.com/dapr/components-contrib/bindings"
azauth "github.com/dapr/components-contrib/internal/authentication/azure"
"github.com/dapr/kit/logger"
)

Expand Down
2 changes: 1 addition & 1 deletion bindings/azure/servicebusqueues/servicebusqueues.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import (
"github.com/Azure/go-amqp"
backoff "github.com/cenkalti/backoff/v4"

azauth "github.com/dapr/components-contrib/authentication/azure"
"github.com/dapr/components-contrib/bindings"
azauth "github.com/dapr/components-contrib/internal/authentication/azure"
impl "github.com/dapr/components-contrib/internal/component/azure/servicebus"
contrib_metadata "github.com/dapr/components-contrib/metadata"
"github.com/dapr/kit/logger"
Expand Down
2 changes: 1 addition & 1 deletion bindings/azure/storagequeues/storagequeues.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import (

"github.com/Azure/azure-storage-queue-go/azqueue"

azauth "github.com/dapr/components-contrib/authentication/azure"
"github.com/dapr/components-contrib/bindings"
azauth "github.com/dapr/components-contrib/internal/authentication/azure"
contrib_metadata "github.com/dapr/components-contrib/metadata"
mdutils "github.com/dapr/components-contrib/metadata"
"github.com/dapr/kit/logger"
Expand Down
2 changes: 1 addition & 1 deletion bindings/kubernetes/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import (
"k8s.io/client-go/kubernetes"
"k8s.io/client-go/tools/cache"

kubeclient "github.com/dapr/components-contrib/authentication/kubernetes"
"github.com/dapr/components-contrib/bindings"
kubeclient "github.com/dapr/components-contrib/internal/authentication/kubernetes"
"github.com/dapr/kit/logger"
)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pubsub/aws/snssqs/snssqs.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (

gonanoid "github.com/matoous/go-nanoid/v2"

aws_auth "github.com/dapr/components-contrib/authentication/aws"
aws_auth "github.com/dapr/components-contrib/internal/authentication/aws"
"github.com/dapr/components-contrib/pubsub"
"github.com/dapr/kit/logger"
)
Expand Down
2 changes: 1 addition & 1 deletion pubsub/azure/eventhubs/eventhubs.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
"github.com/Azure/azure-storage-blob-go/azblob"
"github.com/Azure/go-autorest/autorest/azure"

azauth "github.com/dapr/components-contrib/authentication/azure"
azauth "github.com/dapr/components-contrib/internal/authentication/azure"
"github.com/dapr/components-contrib/pubsub"
"github.com/dapr/kit/logger"
"github.com/dapr/kit/retry"
Expand Down
2 changes: 1 addition & 1 deletion pubsub/azure/servicebus/servicebus.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
servicebus "github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus"
sbadmin "github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus/admin"

azauth "github.com/dapr/components-contrib/authentication/azure"
azauth "github.com/dapr/components-contrib/internal/authentication/azure"
impl "github.com/dapr/components-contrib/internal/component/azure/servicebus"
contrib_metadata "github.com/dapr/components-contrib/metadata"
"github.com/dapr/components-contrib/pubsub"
Expand Down
2 changes: 1 addition & 1 deletion secretstores/aws/parameterstore/parameterstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/aws/aws-sdk-go/service/ssm"
"github.com/aws/aws-sdk-go/service/ssm/ssmiface"

aws_auth "github.com/dapr/components-contrib/authentication/aws"
aws_auth "github.com/dapr/components-contrib/internal/authentication/aws"
"github.com/dapr/components-contrib/secretstores"
"github.com/dapr/kit/logger"
)
Expand Down
2 changes: 1 addition & 1 deletion secretstores/aws/secretmanager/secretmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"github.com/aws/aws-sdk-go/service/secretsmanager"
"github.com/aws/aws-sdk-go/service/secretsmanager/secretsmanageriface"

aws_auth "github.com/dapr/components-contrib/authentication/aws"
aws_auth "github.com/dapr/components-contrib/internal/authentication/aws"
"github.com/dapr/components-contrib/secretstores"
"github.com/dapr/kit/logger"
)
Expand Down
2 changes: 1 addition & 1 deletion secretstores/azure/keyvault/keyvault.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"github.com/Azure/azure-sdk-for-go/sdk/azcore/policy"
"github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets"

azauth "github.com/dapr/components-contrib/authentication/azure"
azauth "github.com/dapr/components-contrib/internal/authentication/azure"
"github.com/dapr/components-contrib/secretstores"
"github.com/dapr/kit/logger"
)
Expand Down
2 changes: 1 addition & 1 deletion secretstores/kubernetes/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/client-go/kubernetes"

kubeclient "github.com/dapr/components-contrib/authentication/kubernetes"
kubeclient "github.com/dapr/components-contrib/internal/authentication/kubernetes"
"github.com/dapr/components-contrib/secretstores"
"github.com/dapr/kit/logger"
)
Expand Down
2 changes: 1 addition & 1 deletion state/aws/dynamodb/dynamodb.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"github.com/aws/aws-sdk-go/service/dynamodb/dynamodbiface"
jsoniterator "github.com/json-iterator/go"

aws_auth "github.com/dapr/components-contrib/authentication/aws"
aws_auth "github.com/dapr/components-contrib/internal/authentication/aws"
"github.com/dapr/components-contrib/state"
)

Expand Down
2 changes: 1 addition & 1 deletion state/azure/blobstorage/blobstorage.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import (
"github.com/agrea/ptr"
jsoniter "github.com/json-iterator/go"

azauth "github.com/dapr/components-contrib/authentication/azure"
azauth "github.com/dapr/components-contrib/internal/authentication/azure"
mdutils "github.com/dapr/components-contrib/metadata"
"github.com/dapr/components-contrib/state"
"github.com/dapr/kit/logger"
Expand Down
2 changes: 1 addition & 1 deletion state/azure/cosmosdb/cosmosdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ import (
"github.com/google/uuid"
jsoniter "github.com/json-iterator/go"

"github.com/dapr/components-contrib/authentication/azure"
"github.com/dapr/components-contrib/contenttype"
"github.com/dapr/components-contrib/internal/authentication/azure"
"github.com/dapr/components-contrib/state"
"github.com/dapr/components-contrib/state/query"
"github.com/dapr/kit/logger"
Expand Down
2 changes: 1 addition & 1 deletion state/azure/tablestorage/tablestorage.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import (
jsoniter "github.com/json-iterator/go"
"github.com/pkg/errors"

azauth "github.com/dapr/components-contrib/authentication/azure"
azauth "github.com/dapr/components-contrib/internal/authentication/azure"
mdutils "github.com/dapr/components-contrib/metadata"
"github.com/dapr/components-contrib/state"
"github.com/dapr/kit/logger"
Expand Down

0 comments on commit 3b9bb86

Please sign in to comment.