Skip to content

Commit

Permalink
Merge pull request #3 from krancour/hash-from-foundations
Browse files Browse the repository at this point in the history
use crypto.Hash from brigade-foundations
  • Loading branch information
krancour committed Aug 5, 2021
2 parents d166d5c + 3b2a541 commit 449817c
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 53 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/brigadecore/brigade-cloudevents-gateway
go 1.16

require (
github.com/brigadecore/brigade-foundations v0.2.0
github.com/brigadecore/brigade-foundations v0.3.0
github.com/brigadecore/brigade/sdk/v2 v2.0.0-beta.1
github.com/cloudevents/sdk-go/v2 v2.4.1
github.com/gorilla/mux v1.8.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/brigadecore/brigade-foundations v0.2.0 h1:pUtIQgN5Qa1I5JjpJOu+9E7J/kXC/QY2fzdGZt/I50I=
github.com/brigadecore/brigade-foundations v0.2.0/go.mod h1:edMgSJCUgfHN1RNGiiVOTRW4X4VykBLgssgWHPZK7Sg=
github.com/brigadecore/brigade-foundations v0.3.0 h1:galsMzxSprURAEc2pxsmYJandiW4D+Npchx6ZiBIHkY=
github.com/brigadecore/brigade-foundations v0.3.0/go.mod h1:edMgSJCUgfHN1RNGiiVOTRW4X4VykBLgssgWHPZK7Sg=
github.com/brigadecore/brigade/sdk/v2 v2.0.0-beta.1 h1:diVZz6uGMAS2eImx39A15ZRP2eoitiC4TbhcgNVUwIg=
github.com/brigadecore/brigade/sdk/v2 v2.0.0-beta.1/go.mod h1:rB3y/pIheORX5AHbxaSAw5Xr/U6bUAUtSLkgJcbOHIY=
github.com/cloudevents/sdk-go/v2 v2.4.1 h1:rZJoz9QVLbWQmnvLPDFEmv17Czu+CfSPwMO6lhJ72xQ=
Expand Down
2 changes: 1 addition & 1 deletion internal/cloudevents/token_filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"
"strings"

"github.com/brigadecore/brigade-cloudevents-gateway/internal/crypto"
"github.com/brigadecore/brigade-foundations/crypto"
libHTTP "github.com/brigadecore/brigade-foundations/http"
"github.com/cloudevents/sdk-go/v2/binding"
cloudHTTP "github.com/cloudevents/sdk-go/v2/protocol/http"
Expand Down
2 changes: 1 addition & 1 deletion internal/cloudevents/token_filter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/http/httptest"
"testing"

"github.com/brigadecore/brigade-cloudevents-gateway/internal/crypto"
"github.com/brigadecore/brigade-foundations/crypto"
"github.com/stretchr/testify/require"
)

Expand Down
16 changes: 0 additions & 16 deletions internal/crypto/crypto.go

This file was deleted.

32 changes: 0 additions & 32 deletions internal/crypto/crypto_test.go

This file was deleted.

0 comments on commit 449817c

Please sign in to comment.