Skip to content

Commit

Permalink
fixed: removed dependency to manipulate
Browse files Browse the repository at this point in the history
  • Loading branch information
primalmotion committed Jul 9, 2019
1 parent 25a323e commit 0e964c6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ go 1.12
require (
go.aporeto.io/elemental v1.80.1
go.aporeto.io/gaia v1.18.0
go.aporeto.io/manipulate v1.83.0
go.aporeto.io/tg v1.22.1
)

Expand Down
7 changes: 0 additions & 7 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
github.com/gliderlabs/ssh v0.1.3/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0=
github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8/go.mod h1:xkRDCp4j0OGD1HRkm4kmhM+pmpv3AKq5SU7GMg4oO/Q=
github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE=
github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk=
Expand Down Expand Up @@ -66,9 +65,6 @@ github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoA
github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs=
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk=
github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY=
github.com/hashicorp/go-immutable-radix v1.1.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
github.com/hashicorp/go-memdb v1.0.3/go.mod h1:LWQ8R70vPrS4OEY9k28D2z8/Zzyu34NVzeRibGAzHO0=
github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
Expand Down Expand Up @@ -171,12 +167,9 @@ go.aporeto.io/elemental v1.80.1 h1:wLukLKl3iWxhex4miSUffzXcDIJsEUjs0/KJ/nmBTh4=
go.aporeto.io/elemental v1.80.1/go.mod h1:hsCdspEFXOqFj4OhtzJfOAbF7SI1vm5VN7IlYwfA2C0=
go.aporeto.io/gaia v1.18.0 h1:v5L81phEZGa51fEpZ6NuvLIDoZuKFqICZhqN+1Jl+94=
go.aporeto.io/gaia v1.18.0/go.mod h1:XLbgLVkZETMCm1D3fi9+F16p7exrtFHOQ4k8IhMe5U0=
go.aporeto.io/manipulate v1.83.0 h1:NQKQ/izs0PwtEK7iDyy/C4G3g7cvNFHiZDRqYCj5W5I=
go.aporeto.io/manipulate v1.83.0/go.mod h1:ylDFrVfZSbhUHm+S6R6Rr2VxQx/BR28/IiJmueUldss=
go.aporeto.io/regolithe v1.38.1/go.mod h1:n5Wi2kGXJ+eZe4fUTiVZ++RlgIo3DKiG71I7TV1Pfz4=
go.aporeto.io/tg v1.22.1 h1:BIh5VjuyY+YsZ5KKwolJc/TFY7f2dqj64yReDkV3Xd4=
go.aporeto.io/tg v1.22.1/go.mod h1:t9IL2iIzj9902gGj+nc/rsowvDiTF5oQvRn+2srFGhg=
go.aporeto.io/wsc v1.28.1/go.mod h1:RtLQspKU7si9US0WNw8RnOy70R+ep0MKjhLtvfRKIb0=
go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
go.uber.org/atomic v1.4.0 h1:cxzIVoETapQEqDhQu3QfnvXAV4AlzcvUCxkVUFw3+EU=
Expand Down
5 changes: 0 additions & 5 deletions tokenmanager/x509_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"time"

. "github.com/smartystreets/goconvey/convey"
"go.aporeto.io/manipulate"
)

func TestTOkenManager_NewX509TokenManager(t *testing.T) {
Expand All @@ -34,10 +33,6 @@ func TestTOkenManager_NewX509TokenManager(t *testing.T) {

t := NewX509TokenManager(ts.URL, 10*time.Second, &tls.Config{})

Convey("Then t should should implement manipulate.TokenManager", func() {
So(t, ShouldImplement, (*manipulate.TokenManager)(nil))
})

Convey("Then it should be correctly initialized", func() {
So(t.validity, ShouldEqual, 10*time.Second)
So(t.issuerFunc, ShouldNotBeNil)
Expand Down

0 comments on commit 0e964c6

Please sign in to comment.