From 0e964c60019411ff77f35e289688227cddbf7428 Mon Sep 17 00:00:00 2001 From: Antoine Mercadal Date: Tue, 9 Jul 2019 16:46:35 -0700 Subject: [PATCH] fixed: removed dependency to manipulate --- go.mod | 1 - go.sum | 7 ------- tokenmanager/x509_test.go | 5 ----- 3 files changed, 13 deletions(-) diff --git a/go.mod b/go.mod index 0b5777e..3c2972b 100644 --- a/go.mod +++ b/go.mod @@ -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 ) diff --git a/go.sum b/go.sum index 2456e2d..bcecb8d 100644 --- a/go.sum +++ b/go.sum @@ -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= @@ -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= @@ -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= diff --git a/tokenmanager/x509_test.go b/tokenmanager/x509_test.go index 4fe5730..64a5862 100644 --- a/tokenmanager/x509_test.go +++ b/tokenmanager/x509_test.go @@ -20,7 +20,6 @@ import ( "time" . "github.com/smartystreets/goconvey/convey" - "go.aporeto.io/manipulate" ) func TestTOkenManager_NewX509TokenManager(t *testing.T) { @@ -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)