diff --git a/.travis.yml b/.travis.yml index 0be6c1c6..48526684 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,16 +3,15 @@ sudo: required services: - docker go: - - 1.7 + - 1.11 before_install: - - go get -u github.com/FiloSottile/gvt - - gvt restore + - go mod download - go get -u github.com/mattn/goveralls install: true env: - - GROUP=weaveworksdemos COMMIT=$TRAVIS_COMMIT TAG=$TRAVIS_TAG REPO=catalogue; + - GROUP=weaveworksdemos COMMIT=$TRAVIS_COMMIT TAG=$TRAVIS_TAG REPO=catalogue GO111MODULE=on script: - set -e diff --git a/README.md b/README.md index 3d5ad294..5482e67c 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,7 @@ Checkout the API Spec [here](http://microservices-demo.github.io/api/index?url=h #### Dependencies ``` -go get -u github.com/FiloSottile/gvt -gvt restore +GO111MODULE=on go mod download ``` #### Go tools @@ -31,7 +30,7 @@ $GOPATH directory: $GOPATH/src/github.com/microservices-demo/catalogue/. Once th ``` cd $GOPATH/src/github.com/microservices-demo/catalogue/cmd/cataloguesvc/ -go build -o catalogue +GO111MODULE=on go build -o catalogue ``` The result is a binary named `catalogue`, in the current directory. diff --git a/docker/catalogue/Dockerfile b/docker/catalogue/Dockerfile index dc82ab3c..d6939139 100644 --- a/docker/catalogue/Dockerfile +++ b/docker/catalogue/Dockerfile @@ -1,11 +1,11 @@ -FROM golang:1.7 +FROM golang:1.11 -COPY . /go/src/github.com/microservices-demo/catalogue +COPY go.mod go.sum /go/src/github.com/microservices-demo/catalogue/ WORKDIR /go/src/github.com/microservices-demo/catalogue - -RUN go get -u github.com/FiloSottile/gvt -RUN gvt restore && \ - CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o /app github.com/microservices-demo/catalogue/cmd/cataloguesvc +ENV GO111MODULE=on +RUN go mod download +ADD . /go/src/github.com/microservices-demo/catalogue/ +RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o /app github.com/microservices-demo/catalogue/cmd/cataloguesvc FROM alpine:3.4 diff --git a/go.mod b/go.mod new file mode 100644 index 00000000..5863c910 --- /dev/null +++ b/go.mod @@ -0,0 +1,66 @@ +module github.com/garden-io/sock-shop-mono/src/catalogue + +require ( + cloud.google.com/go v0.0.0-20170321144122-daf945bb8684 // indirect + github.com/Shopify/sarama v1.11.0 // indirect + github.com/Sirupsen/logrus v0.0.0-20170317143214-10f801ebc38b // indirect + github.com/VividCortex/gohistogram v1.0.0 // indirect + github.com/afex/hystrix-go v0.0.0-20160615205002-39520ddd07a9 // indirect + github.com/apache/thrift v0.0.0-20161222112917-30a8b65dcec8 // indirect + github.com/beorn7/perks v0.0.0-20160804104726-4c0e84591b9a // indirect + github.com/circonus-labs/circonus-gometrics v0.0.0-20161208202948-4d93a8f79cb1 // indirect + github.com/circonus-labs/circonusllhist v0.0.0-20161121135153-7d649b46cdc2 // indirect + github.com/davecgh/go-spew v1.1.0 // indirect + github.com/eapache/go-resiliency v0.0.0-20160104191539-b86b1ec0dd42 // indirect + github.com/eapache/go-xerial-snappy v0.0.0-20160609142408-bb955e01b934 // indirect + github.com/eapache/queue v1.1.0 // indirect + github.com/felixge/httpsnoop v0.0.0-20161125085600-287b56e9e314 // indirect + github.com/go-kit/kit v0.0.0-20170113143921-b8f878dd8851 + github.com/go-logfmt/logfmt v0.3.0 // indirect + github.com/go-sql-driver/mysql v1.3.0 + github.com/go-stack/stack v1.5.2 // indirect + github.com/gogo/protobuf v0.0.0-20161220170212-84af2615df1b // indirect + github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b // indirect + github.com/golang/mock v0.0.0-20160127222235-bd3c8e81be01 // indirect + github.com/golang/protobuf v0.0.0-20170307001533-c9c7427a2a70 // indirect + github.com/golang/snappy v0.0.0-20160529050041-d9eb7a3d35ec // indirect + github.com/googleapis/gax-go v0.0.0-20170321005343-9af46dd5a171 // indirect + github.com/gorilla/context v1.1.1 // indirect + github.com/gorilla/mux v0.0.0-20160920230813-757bef944d0f + github.com/hashicorp/go-cleanhttp v0.0.0-20160407174126-ad28ea4487f0 // indirect + github.com/hashicorp/go-retryablehttp v0.0.0-20160930035102-6e85be8fee1d // indirect + github.com/influxdata/influxdb v0.0.0-20161209155552-855c567c67d7 // indirect + github.com/jmoiron/sqlx v0.0.0-20161209024531-cac998c4f095 + github.com/kisielk/sqlstruct v0.0.0-20150923205031-648daed35d49 // indirect + github.com/klauspost/crc32 v0.0.0-20161016154125-cb6bfca970f6 // indirect + github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 // indirect + github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect + github.com/microservices-demo/catalogue v0.0.0-20180608164449-97545f4ae068 + github.com/opentracing/opentracing-go v0.0.0-20161202035312-ac5446f53f2c + github.com/openzipkin/zipkin-go-opentracing v0.2.2 + github.com/pborman/uuid v0.0.0-20161206184745-5007efa264d9 // indirect + github.com/performancecopilot/speed v0.0.0-20161205145110-6c862057c50f // indirect + github.com/pierrec/lz4 v0.0.0-20161206202305-5c9560bfa9ac // indirect + github.com/pierrec/xxHash v0.0.0-20160112165351-5a004441f897 // indirect + github.com/prometheus/client_golang v0.0.0-20161124155732-575f371f7862 + github.com/prometheus/client_model v0.0.0-20150212101744-fa8ad6fec335 // indirect + github.com/prometheus/common v0.0.0-20161201123508-195bde7883f7 // indirect + github.com/prometheus/procfs v0.0.0-20161206222141-fcdb11ccb438 // indirect + github.com/rcrowley/go-metrics v0.0.0-20161128210544-1f30fe9094a5 // indirect + github.com/sony/gobreaker v0.0.0-20160504140302-809bcd5a528f + github.com/stathat/go v1.0.0 // indirect + github.com/streadway/handy v0.0.0-20160402200321-f450267a206e // indirect + github.com/stretchr/testify v0.0.0-20161217200445-2402e8e7a02f // indirect + github.com/weaveworks/common v0.0.0-20170321114712-f94043b3da14 + golang.org/x/crypto v0.0.0-20170317163734-459e26527287 // indirect + golang.org/x/net v0.0.0-20170308210134-a6577fac2d73 + golang.org/x/oauth2 v0.0.0-20170321013421-7fdf09982454 // indirect + golang.org/x/sys v0.0.0-20170308153327-99f16d856c98 // indirect + golang.org/x/tools v0.0.0-20161213205818-ae0208420024 // indirect + google.golang.org/api v0.0.0-20170321005416-16ab375f9450 // indirect + google.golang.org/appengine v0.0.0-20170307235554-b79c28f01977 // indirect + google.golang.org/grpc v1.2.0 // indirect + gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0 + gopkg.in/airbrake/gobrake.v2 v2.0.9 // indirect + gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.1 // indirect +) diff --git a/go.sum b/go.sum new file mode 100644 index 00000000..0cbcb71b --- /dev/null +++ b/go.sum @@ -0,0 +1,103 @@ +cloud.google.com/go v0.0.0-20170321144122-daf945bb8684/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/Shopify/sarama v1.11.0 h1:JD701r42hP1ms1uytUMa34jZgoddt0XhiElhJt+2ERE= +github.com/Shopify/sarama v1.11.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= +github.com/Sirupsen/logrus v0.0.0-20170317143214-10f801ebc38b h1:rPRExiQXdUAAM9Y1ahb0oGVZzsD1vnK13PtAk5FcSL4= +github.com/Sirupsen/logrus v0.0.0-20170317143214-10f801ebc38b/go.mod h1:rmk17hk6i8ZSAJkSDa7nOxamrG+SP4P0mm+DAvExv4U= +github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= +github.com/afex/hystrix-go v0.0.0-20160615205002-39520ddd07a9 h1:u66crHBFVPAewNQgWzJ+gJmqThmHc3+4qRtPT7NR35A= +github.com/afex/hystrix-go v0.0.0-20160615205002-39520ddd07a9/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c= +github.com/apache/thrift v0.0.0-20161222112917-30a8b65dcec8 h1:G8pzjPir0sIjIUSn9HyNZstjwL8Vg9v2AuOv9eXRXTU= +github.com/apache/thrift v0.0.0-20161222112917-30a8b65dcec8/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= +github.com/beorn7/perks v0.0.0-20160804104726-4c0e84591b9a h1:BtpsbiV638WQZwhA98cEZw2BsbnQJrbd0BI7tsy0W1c= +github.com/beorn7/perks v0.0.0-20160804104726-4c0e84591b9a/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= +github.com/circonus-labs/circonus-gometrics v0.0.0-20161208202948-4d93a8f79cb1/go.mod h1:nmEj6Dob7S7YxXgwXpfOuvO54S+tGdZdw9fuRZt25Ag= +github.com/circonus-labs/circonusllhist v0.0.0-20161121135153-7d649b46cdc2/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I= +github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/eapache/go-resiliency v0.0.0-20160104191539-b86b1ec0dd42 h1:f8ERmXYuaC+kCSv2w+y3rBK/oVu6If4DEm3jywJJ0hc= +github.com/eapache/go-resiliency v0.0.0-20160104191539-b86b1ec0dd42/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= +github.com/eapache/go-xerial-snappy v0.0.0-20160609142408-bb955e01b934 h1:oGLoaVIefp3tiOgi7+KInR/nNPvEpPM6GFo+El7fd14= +github.com/eapache/go-xerial-snappy v0.0.0-20160609142408-bb955e01b934/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= +github.com/eapache/queue v1.1.0 h1:YOEu7KNc61ntiQlcEeUIoDTJ2o8mQznoNvUhiigpIqc= +github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= +github.com/felixge/httpsnoop v0.0.0-20161125085600-287b56e9e314/go.mod h1:3+D9sFq0ahK/JeJPhCBUV1xlf4/eIYrUQaxulT0VzX8= +github.com/go-kit/kit v0.0.0-20170113143921-b8f878dd8851 h1:UaqnVjGSkYqUusRaabgxhuL/a/63ooG6HjjccKqGHJ8= +github.com/go-kit/kit v0.0.0-20170113143921-b8f878dd8851/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-logfmt/logfmt v0.3.0 h1:8HUsc87TaSWLKwrnumgC8/YconD2fJQsRJAsWaPg2ic= +github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= +github.com/go-sql-driver/mysql v1.3.0 h1:pgwjLi/dvffoP9aabwkT3AKpXQM93QARkjFhDDqC1UE= +github.com/go-sql-driver/mysql v1.3.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= +github.com/go-stack/stack v1.5.2 h1:5sTB/0oZM2O31k/N1IRwxxVXzLIt5NF2Aqx/2gWI9OY= +github.com/go-stack/stack v1.5.2/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +github.com/gogo/protobuf v0.0.0-20161220170212-84af2615df1b h1:xEk31ToB+0XsD0BKkKSws9hrXoIVKC7mCSl0/tq04Co= +github.com/gogo/protobuf v0.0.0-20161220170212-84af2615df1b/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/mock v0.0.0-20160127222235-bd3c8e81be01/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/protobuf v0.0.0-20170307001533-c9c7427a2a70 h1:WKo1/VPcI3cbJwnIHISxazgDxbw+UIrktU3zNxzcp4c= +github.com/golang/protobuf v0.0.0-20170307001533-c9c7427a2a70/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/snappy v0.0.0-20160529050041-d9eb7a3d35ec h1:ZaSUjYC8aWT/om43c8YVz0SqjT8ABtqw7REbZGsCroE= +github.com/golang/snappy v0.0.0-20160529050041-d9eb7a3d35ec/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/googleapis/gax-go v0.0.0-20170321005343-9af46dd5a171/go.mod h1:SFVmujtThgffbyetf+mdk2eWhX2bMyUtNHzFKcPA9HY= +github.com/gorilla/context v1.1.1 h1:AWwleXJkX/nhcU9bZSnZoi3h/qGYqQAGhq6zZe/aQW8= +github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= +github.com/gorilla/mux v0.0.0-20160920230813-757bef944d0f h1:MMWIc1CNY0wbzX1vf1pTaNeK7X1gQQg036wVnlYPsaI= +github.com/gorilla/mux v0.0.0-20160920230813-757bef944d0f/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= +github.com/hashicorp/go-cleanhttp v0.0.0-20160407174126-ad28ea4487f0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= +github.com/hashicorp/go-retryablehttp v0.0.0-20160930035102-6e85be8fee1d/go.mod h1:fXcdFsQoipQa7mwORhKad5jmDCeSy/RCGzWA08PO0lM= +github.com/influxdata/influxdb v0.0.0-20161209155552-855c567c67d7/go.mod h1:qZna6X/4elxqT3yI9iZYdZrWWdeFOOprn86kgg4+IzY= +github.com/jmoiron/sqlx v0.0.0-20161209024531-cac998c4f095 h1:6uwZHp3lyVH2mZxH/NLFbfBmbra2a2VDMSN2sp5NgGc= +github.com/jmoiron/sqlx v0.0.0-20161209024531-cac998c4f095/go.mod h1:IiEW3SEiiErVyFdH8NTuWjSifiEQKUoyK3LNqr2kCHU= +github.com/kisielk/sqlstruct v0.0.0-20150923205031-648daed35d49/go.mod h1:yyMNCyc/Ib3bDTKd379tNMpB/7/H5TjM2Y9QJ5THLbE= +github.com/klauspost/crc32 v0.0.0-20161016154125-cb6bfca970f6 h1:KAZ1BW2TCmT6PRihDPpocIy1QTtsAsrx6TneU/4+CMg= +github.com/klauspost/crc32 v0.0.0-20161016154125-cb6bfca970f6/go.mod h1:+ZoRqAPRLkC4NPOvfYeR5KNOrY6TD+/sAC3HXPZgDYg= +github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 h1:T+h1c/A9Gawja4Y9mFVWj2vyii2bbUNDw3kt9VxK2EY= +github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= +github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= +github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= +github.com/microservices-demo/catalogue v0.0.0-20180608164449-97545f4ae068 h1:js0w8D8xHoJsUU8yGOSfk5IDw3FvZocl5QDugZtOVKs= +github.com/microservices-demo/catalogue v0.0.0-20180608164449-97545f4ae068/go.mod h1:h6AD/L9tyIOqcdNdVXvKvPrfoCebqmsiaUclMeIjw0M= +github.com/opentracing/opentracing-go v0.0.0-20161202035312-ac5446f53f2c h1:aZxDQDVPSq3xLeOFrOiLtn+dqo4BSTvZ/R7FoB7/sF0= +github.com/opentracing/opentracing-go v0.0.0-20161202035312-ac5446f53f2c/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= +github.com/openzipkin/zipkin-go-opentracing v0.2.2 h1:2PLiliCVlagg3bi13LIEfABAoNCJ9vrXxY2HLbPKztk= +github.com/openzipkin/zipkin-go-opentracing v0.2.2/go.mod h1:js2AbwmHW0YD9DwIw2JhQWmbfFi/UnWyYwdVhqbCDOE= +github.com/pborman/uuid v0.0.0-20161206184745-5007efa264d9/go.mod h1:VyrYX9gd7irzKovcSS6BIIEwPRkP2Wm2m9ufcdFSJ34= +github.com/performancecopilot/speed v0.0.0-20161205145110-6c862057c50f/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= +github.com/pierrec/lz4 v0.0.0-20161206202305-5c9560bfa9ac h1:tKcxwAA5OHUQjL6sWsuCIcP9OnzN+RwKfvomtIOsfy8= +github.com/pierrec/lz4 v0.0.0-20161206202305-5c9560bfa9ac/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= +github.com/pierrec/xxHash v0.0.0-20160112165351-5a004441f897 h1:jp3jc/PyyTrTKjJJ6rWnhTbmo7tGgBFyG9AL5FIrO1I= +github.com/pierrec/xxHash v0.0.0-20160112165351-5a004441f897/go.mod h1:w2waW5Zoa/Wc4Yqe0wgrIYAGKqRMf7czn2HNKXmuL+I= +github.com/prometheus/client_golang v0.0.0-20161124155732-575f371f7862 h1:iDIro+5xQV9yVkRhr91wWstwWp3/4KI76XJlSKJljU4= +github.com/prometheus/client_golang v0.0.0-20161124155732-575f371f7862/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= +github.com/prometheus/client_model v0.0.0-20150212101744-fa8ad6fec335 h1:0E/5GnGmzoDCtmzTycjGDWW33H0UBmAhR0h+FC8hWLs= +github.com/prometheus/client_model v0.0.0-20150212101744-fa8ad6fec335/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/common v0.0.0-20161201123508-195bde7883f7 h1:skjefbrmNeFoEDgFSE3ZXL9t3vWVLm63zPDvVVPreeM= +github.com/prometheus/common v0.0.0-20161201123508-195bde7883f7/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= +github.com/prometheus/procfs v0.0.0-20161206222141-fcdb11ccb438 h1:t0jDsBXJqPXOsFlEsxwz/iHeeN1p8dETvQzrKlIkfXg= +github.com/prometheus/procfs v0.0.0-20161206222141-fcdb11ccb438/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/rcrowley/go-metrics v0.0.0-20161128210544-1f30fe9094a5 h1:gwcdIpH6NU2iF8CmcqD+CP6+1CkRBOhHaPR+iu6raBY= +github.com/rcrowley/go-metrics v0.0.0-20161128210544-1f30fe9094a5/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= +github.com/sony/gobreaker v0.0.0-20160504140302-809bcd5a528f h1:V8bdX9yAqzObBVpJ7OvTOe88b0ygY4mjC8Szx5ID2VQ= +github.com/sony/gobreaker v0.0.0-20160504140302-809bcd5a528f/go.mod h1:XvpJiTD8NibaH7z0NzyfhR1+NQDtR9F/x92xheTwC9k= +github.com/stathat/go v1.0.0/go.mod h1:+9Eg2szqkcOGWv6gfheJmBBsmq9Qf5KDbzy8/aYYR0c= +github.com/streadway/handy v0.0.0-20160402200321-f450267a206e h1:kMuBo7Qw/VrZq9MrojwJZp8hyeywuc8J+KdnXIeRmMY= +github.com/streadway/handy v0.0.0-20160402200321-f450267a206e/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= +github.com/stretchr/testify v0.0.0-20161217200445-2402e8e7a02f/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/weaveworks/common v0.0.0-20170321114712-f94043b3da14 h1:ZGVMFdrTHz0tgb6DzqFRvacoiNpnrYeeui91mrL+RlA= +github.com/weaveworks/common v0.0.0-20170321114712-f94043b3da14/go.mod h1:pSm+0KR57BG3pvGoJWFXJSAC7+sEPewcvdt5StevL3A= +golang.org/x/crypto v0.0.0-20170317163734-459e26527287/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/net v0.0.0-20170308210134-a6577fac2d73 h1:5kGFsglTK4KqaHYb/WCmYmj+Gm1+dzbilbtzruHj6dw= +golang.org/x/net v0.0.0-20170308210134-a6577fac2d73/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/oauth2 v0.0.0-20170321013421-7fdf09982454/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/sys v0.0.0-20170308153327-99f16d856c98 h1:U3NsAsR1IG0Aet3Z+IToBDWbPoJ7hjwgDpqqch4APkU= +golang.org/x/sys v0.0.0-20170308153327-99f16d856c98/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/tools v0.0.0-20161213205818-ae0208420024/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +google.golang.org/api v0.0.0-20170321005416-16ab375f9450/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= +google.golang.org/appengine v0.0.0-20170307235554-b79c28f01977/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/grpc v1.2.0 h1:v8eFdETH8nqZHQ9x+0f2PLuU6W7zo5PFZuVEwH5126Y= +google.golang.org/grpc v1.2.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= +gopkg.in/DATA-DOG/go-sqlmock.v1 v1.1.4 h1:fJ175KxE4wUAZMv1f5kMw1k0OL0SrJ+bBk5UCAynuoA= +gopkg.in/DATA-DOG/go-sqlmock.v1 v1.1.4/go.mod h1:OdE7CF6DbADk7lN8LIKRzRJTTZXIjtWgA5THM5lhBAw= +gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0 h1:FVCohIoYO7IJoDDVpV2pdq7SgrMH6wHnuTyrdrxJNoY= +gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0/go.mod h1:OdE7CF6DbADk7lN8LIKRzRJTTZXIjtWgA5THM5lhBAw= +gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U= +gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.1/go.mod h1:Xk6kEKp8OKb+X14hQBKWaSkCsqBpgog8nAV2xsGOxlo= diff --git a/scripts/build.sh b/scripts/build.sh index 91eefadc..c3623630 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -33,8 +33,7 @@ cp -r $CODE_DIR/docker $BUILD_DIR/ cp -r $CODE_DIR/images/ $BUILD_DIR/docker/catalogue/images/ cp -r $CODE_DIR/cmd/ $BUILD_DIR/docker/catalogue/cmd/ cp $CODE_DIR/*.go $BUILD_DIR/docker/catalogue/ -mkdir -p $BUILD_DIR/docker/catalogue/vendor/ && \ -cp $CODE_DIR/vendor/manifest $BUILD_DIR/docker/catalogue/vendor/ +cp $CODE_DIR/go.* $BUILD_DIR/docker/catalogue/ REPO=${GROUP}/$(basename catalogue); diff --git a/service_test.go b/service_test.go index 26e50181..4a5ffdae 100644 --- a/service_test.go +++ b/service_test.go @@ -5,10 +5,9 @@ import ( "reflect" "strings" "testing" - + "gopkg.in/DATA-DOG/go-sqlmock.v1" "github.com/go-kit/kit/log" "github.com/jmoiron/sqlx" - "gopkg.in/DATA-DOG/go-sqlmock.v1" ) var ( @@ -131,7 +130,7 @@ func TestCatalogueServiceCount(t *testing.T) { if err != nil { t.Errorf( "Count(%v): returned error %s", - testcase.tags, err.Error(), + testcase.tags, err.Error(), ) } diff --git a/test/unit.py b/test/unit.py index fc1ed6fc..e2b56446 100755 --- a/test/unit.py +++ b/test/unit.py @@ -11,7 +11,7 @@ def test_go(self): code_dir = script_dir + "/.." home = expanduser("~") goPath = os.environ['GOPATH'] - command = ['docker', 'run', '--rm', '-v', goPath + ':/go/src/', '-v', code_dir + ':/go/src/github.com/microservices-demo/catalogue', '-w', '/go/src/github.com/microservices-demo/catalogue', '-e', 'GOPATH=/go/', 'golang:1.7', 'go', 'test', '-v', '-covermode=count', '-coverprofile=coverage.out'] + command = ['docker', 'run', '--rm', '-v', goPath + ':/go/src/', '-v', code_dir + ':/go/src/github.com/microservices-demo/catalogue', '-w', '/go/src/github.com/microservices-demo/catalogue', '-e', 'GOPATH=/go/','-e', 'GO111MODULE=on', 'golang:1.11', 'go', 'test', '-v', '-covermode=count', '-coverprofile=coverage.out'] print(Docker().execute(command)) diff --git a/vendor/manifest b/vendor/manifest deleted file mode 100644 index 8c1d1491..00000000 --- a/vendor/manifest +++ /dev/null @@ -1,790 +0,0 @@ -{ - "version": 0, - "dependencies": [ - { - "importpath": "cloud.google.com/go/compute/metadata", - "repository": "https://code.googlesource.com/gocloud", - "vcs": "git", - "revision": "daf945bb8684eb8df711af0c3e3a07930a2a01b0", - "branch": "master", - "path": "/compute/metadata", - "notests": true - }, - { - "importpath": "cloud.google.com/go/internal", - "repository": "https://code.googlesource.com/gocloud", - "vcs": "git", - "revision": "daf945bb8684eb8df711af0c3e3a07930a2a01b0", - "branch": "master", - "path": "internal", - "notests": true - }, - { - "importpath": "github.com/Shopify/sarama", - "repository": "https://github.com/Shopify/sarama", - "vcs": "git", - "revision": "0fb560e5f7fbcaee2f75e3c34174320709f69944", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/Sirupsen/logrus", - "repository": "https://github.com/Sirupsen/logrus", - "vcs": "git", - "revision": "10f801ebc38b33738c9d17d50860f484a0988ff5", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/VividCortex/gohistogram", - "repository": "https://github.com/VividCortex/gohistogram", - "vcs": "git", - "revision": "51564d9861991fb0ad0f531c99ef602d0f9866e6", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/afex/hystrix-go/hystrix", - "repository": "https://github.com/afex/hystrix-go", - "vcs": "git", - "revision": "39520ddd07a9d9a071d615f7476798659f5a3b89", - "branch": "master", - "path": "/hystrix", - "notests": true - }, - { - "importpath": "github.com/apache/thrift/lib/go/thrift", - "repository": "https://github.com/apache/thrift", - "vcs": "git", - "revision": "30a8b65dcec88d0710143ca2b94f71915a8549c5", - "branch": "master", - "path": "/lib/go/thrift", - "notests": true - }, - { - "importpath": "github.com/beorn7/perks/quantile", - "repository": "https://github.com/beorn7/perks", - "vcs": "git", - "revision": "4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9", - "branch": "master", - "path": "/quantile", - "notests": true - }, - { - "importpath": "github.com/circonus-labs/circonus-gometrics", - "repository": "https://github.com/circonus-labs/circonus-gometrics", - "vcs": "git", - "revision": "4d93a8f79cb1e34a38f99dd13e64e8bfd3df1c72", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/circonus-labs/circonusllhist", - "repository": "https://github.com/circonus-labs/circonusllhist", - "vcs": "git", - "revision": "7d649b46cdc2cd2ed102d350688a75a4fd7778c6", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/davecgh/go-spew/spew", - "repository": "https://github.com/davecgh/go-spew", - "vcs": "git", - "revision": "346938d642f2ec3594ed81d874461961cd0faa76", - "branch": "master", - "path": "/spew", - "notests": true - }, - { - "importpath": "github.com/eapache/go-resiliency/breaker", - "repository": "https://github.com/eapache/go-resiliency", - "vcs": "git", - "revision": "b86b1ec0dd4209a588dc1285cdd471e73525c0b3", - "branch": "master", - "path": "/breaker", - "notests": true - }, - { - "importpath": "github.com/eapache/go-xerial-snappy", - "repository": "https://github.com/eapache/go-xerial-snappy", - "vcs": "git", - "revision": "bb955e01b9346ac19dc29eb16586c90ded99a98c", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/eapache/queue", - "repository": "https://github.com/eapache/queue", - "vcs": "git", - "revision": "44cc805cf13205b55f69e14bcb69867d1ae92f98", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/felixge/httpsnoop", - "repository": "https://github.com/felixge/httpsnoop", - "vcs": "git", - "revision": "287b56e9e314227d3113c7c6b434d31aec68089d", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/go-kit/kit/circuitbreaker", - "repository": "https://github.com/go-kit/kit", - "vcs": "git", - "revision": "b8f878dd8851dd7b724c813f04d469fa2dae881a", - "branch": "master", - "path": "/circuitbreaker", - "notests": true - }, - { - "importpath": "github.com/go-kit/kit/endpoint", - "repository": "https://github.com/go-kit/kit", - "vcs": "git", - "revision": "32262326a664255a27b9cbac1741bc54f4c2e49e", - "branch": "master", - "path": "/endpoint", - "notests": true - }, - { - "importpath": "github.com/go-kit/kit/log", - "repository": "https://github.com/go-kit/kit", - "vcs": "git", - "revision": "32262326a664255a27b9cbac1741bc54f4c2e49e", - "branch": "master", - "path": "/log", - "notests": true - }, - { - "importpath": "github.com/go-kit/kit/metrics", - "repository": "https://github.com/go-kit/kit", - "vcs": "git", - "revision": "32262326a664255a27b9cbac1741bc54f4c2e49e", - "branch": "master", - "path": "metrics", - "notests": true - }, - { - "importpath": "github.com/go-kit/kit/tracing/opentracing", - "repository": "https://github.com/go-kit/kit", - "vcs": "git", - "revision": "905b60253dbac4a14625ce52217ede00d3a3aca7", - "branch": "master", - "path": "/tracing/opentracing", - "notests": true - }, - { - "importpath": "github.com/go-kit/kit/transport/http", - "repository": "https://github.com/go-kit/kit", - "vcs": "git", - "revision": "32262326a664255a27b9cbac1741bc54f4c2e49e", - "branch": "master", - "path": "/transport/http", - "notests": true - }, - { - "importpath": "github.com/go-kit/kit/util/conn", - "repository": "https://github.com/go-kit/kit", - "vcs": "git", - "revision": "32262326a664255a27b9cbac1741bc54f4c2e49e", - "branch": "master", - "path": "util/conn", - "notests": true - }, - { - "importpath": "github.com/go-logfmt/logfmt", - "repository": "https://github.com/go-logfmt/logfmt", - "vcs": "git", - "revision": "390ab7935ee28ec6b286364bba9b4dd6410cb3d5", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/go-sql-driver/mysql", - "repository": "https://github.com/go-sql-driver/mysql", - "vcs": "git", - "revision": "a0583e0143b1624142adab07e0e97fe106d99561", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/go-stack/stack", - "repository": "https://github.com/go-stack/stack", - "vcs": "git", - "revision": "100eb0c0a9c5b306ca2fb4f165df21d80ada4b82", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/gogo/protobuf/proto", - "repository": "https://github.com/gogo/protobuf", - "vcs": "git", - "revision": "84af2615df1ba1d35cc975ba94b64ee67d6c196e", - "branch": "master", - "path": "/proto", - "notests": true - }, - { - "importpath": "github.com/gogo/protobuf/sortkeys", - "repository": "https://github.com/gogo/protobuf", - "vcs": "git", - "revision": "84af2615df1ba1d35cc975ba94b64ee67d6c196e", - "branch": "master", - "path": "sortkeys", - "notests": true - }, - { - "importpath": "github.com/gogo/protobuf/types", - "repository": "https://github.com/gogo/protobuf", - "vcs": "git", - "revision": "84af2615df1ba1d35cc975ba94b64ee67d6c196e", - "branch": "master", - "path": "types", - "notests": true - }, - { - "importpath": "github.com/golang/glog", - "repository": "https://github.com/golang/glog", - "vcs": "git", - "revision": "23def4e6c14b4da8ac2ed8007337bc5eb5007998", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/golang/mock/gomock", - "repository": "https://github.com/golang/mock", - "vcs": "git", - "revision": "bd3c8e81be01eef76d4b503f5e687d2d1354d2d9", - "branch": "master", - "path": "/gomock", - "notests": true - }, - { - "importpath": "github.com/golang/protobuf/proto", - "repository": "https://github.com/golang/protobuf", - "vcs": "git", - "revision": "8ee79997227bf9b34611aee7946ae64735e6fd93", - "branch": "master", - "path": "/proto", - "notests": true - }, - { - "importpath": "github.com/golang/protobuf/protoc-gen-go/descriptor", - "repository": "https://github.com/golang/protobuf", - "vcs": "git", - "revision": "c9c7427a2a70d2eb3bafa0ab2dc163e45f143317", - "branch": "master", - "path": "/protoc-gen-go/descriptor", - "notests": true - }, - { - "importpath": "github.com/golang/protobuf/ptypes/any", - "repository": "https://github.com/golang/protobuf", - "vcs": "git", - "revision": "8ee79997227bf9b34611aee7946ae64735e6fd93", - "branch": "master", - "path": "ptypes/any", - "notests": true - }, - { - "importpath": "github.com/golang/snappy", - "repository": "https://github.com/golang/snappy", - "vcs": "git", - "revision": "d9eb7a3d35ec988b8585d4a0068e462c27d28380", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/googleapis/gax-go", - "repository": "https://github.com/googleapis/gax-go", - "vcs": "git", - "revision": "9af46dd5a1713e8b5cd71106287eba3cefdde50b", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/gorilla/context", - "repository": "https://github.com/gorilla/context", - "vcs": "git", - "revision": "08b5f424b9271eedf6f9f0ce86cb9396ed337a42", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/gorilla/mux", - "repository": "https://github.com/gorilla/mux", - "vcs": "git", - "revision": "757bef944d0f21880861c2dd9c871ca543023cba", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/hashicorp/go-cleanhttp", - "repository": "https://github.com/hashicorp/go-cleanhttp", - "vcs": "git", - "revision": "ad28ea4487f05916463e2423a55166280e8254b5", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/hashicorp/go-retryablehttp", - "repository": "https://github.com/hashicorp/go-retryablehttp", - "vcs": "git", - "revision": "6e85be8fee1dcaa02c0eaaac2df5a8fbecf94145", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/influxdata/influxdb/client/v2", - "repository": "https://github.com/influxdata/influxdb", - "vcs": "git", - "revision": "855c567c67d7fff1e2f91617c292ea20cf26e53c", - "branch": "master", - "path": "/client/v2", - "notests": true - }, - { - "importpath": "github.com/influxdata/influxdb/models", - "repository": "https://github.com/influxdata/influxdb", - "vcs": "git", - "revision": "855c567c67d7fff1e2f91617c292ea20cf26e53c", - "branch": "master", - "path": "models", - "notests": true - }, - { - "importpath": "github.com/influxdata/influxdb/pkg/escape", - "repository": "https://github.com/influxdata/influxdb", - "vcs": "git", - "revision": "855c567c67d7fff1e2f91617c292ea20cf26e53c", - "branch": "master", - "path": "pkg/escape", - "notests": true - }, - { - "importpath": "github.com/jmoiron/sqlx", - "repository": "https://github.com/jmoiron/sqlx", - "vcs": "git", - "revision": "cac998c4f0959c19c638c523e374fa8e4e0bcfe3", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/kisielk/sqlstruct", - "repository": "https://github.com/kisielk/sqlstruct", - "vcs": "git", - "revision": "648daed35d49dac24a4bff253b190a80da3ab6a5", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/klauspost/crc32", - "repository": "https://github.com/klauspost/crc32", - "vcs": "git", - "revision": "cb6bfca970f6908083f26f39a79009d608efd5cd", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/kr/logfmt", - "repository": "https://github.com/kr/logfmt", - "vcs": "git", - "revision": "b84e30acd515aadc4b783ad4ff83aff3299bdfe0", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/matttproud/golang_protobuf_extensions/pbutil", - "repository": "https://github.com/matttproud/golang_protobuf_extensions", - "vcs": "git", - "revision": "c12348ce28de40eed0136aa2b644d0ee0650e56c", - "branch": "master", - "path": "/pbutil", - "notests": true - }, - { - "importpath": "github.com/opentracing/opentracing-go", - "repository": "https://github.com/opentracing/opentracing-go", - "vcs": "git", - "revision": "ac5446f53f2c0fc68dc16dc5f426eae1cd288b34", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/openzipkin/zipkin-go-opentracing", - "repository": "https://github.com/openzipkin/zipkin-go-opentracing", - "vcs": "git", - "revision": "594640b9ef7e5c994e8d9499359d693c032d738c", - "branch": "master", - "notests": true, - "allfiles": true - }, - { - "importpath": "github.com/openzipkin/zipkin-go-opentracing.git", - "repository": "https://github.com/openzipkin/zipkin-go-opentracing.git", - "vcs": "git", - "revision": "594640b9ef7e5c994e8d9499359d693c032d738c", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/pborman/uuid", - "repository": "https://github.com/pborman/uuid", - "vcs": "git", - "revision": "5007efa264d92316c43112bc573e754bc889b7b1", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/performancecopilot/speed", - "repository": "https://github.com/performancecopilot/speed", - "vcs": "git", - "revision": "6c862057c50f0d597c08fd8c58cf88376bb243f3", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/pierrec/lz4", - "repository": "https://github.com/pierrec/lz4", - "vcs": "git", - "revision": "5c9560bfa9ace2bf86080bf40d46b34ae44604df", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/pierrec/xxHash/xxHash32", - "repository": "https://github.com/pierrec/xxHash", - "vcs": "git", - "revision": "5a004441f897722c627870a981d02b29924215fa", - "branch": "master", - "path": "/xxHash32", - "notests": true - }, - { - "importpath": "github.com/prometheus/client_golang/prometheus", - "repository": "https://github.com/prometheus/client_golang", - "vcs": "git", - "revision": "575f371f7862609249a1be4c9145f429fe065e32", - "branch": "master", - "path": "/prometheus", - "notests": true - }, - { - "importpath": "github.com/prometheus/client_model/go", - "repository": "https://github.com/prometheus/client_model", - "vcs": "git", - "revision": "fa8ad6fec33561be4280a8f0514318c79d7f6cb6", - "branch": "master", - "path": "/go", - "notests": true - }, - { - "importpath": "github.com/prometheus/common/expfmt", - "repository": "https://github.com/prometheus/common", - "vcs": "git", - "revision": "195bde7883f7c39ea62b0d92ab7359b5327065cb", - "branch": "master", - "path": "/expfmt", - "notests": true - }, - { - "importpath": "github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg", - "repository": "https://github.com/prometheus/common", - "vcs": "git", - "revision": "195bde7883f7c39ea62b0d92ab7359b5327065cb", - "branch": "master", - "path": "internal/bitbucket.org/ww/goautoneg", - "notests": true - }, - { - "importpath": "github.com/prometheus/common/model", - "repository": "https://github.com/prometheus/common", - "vcs": "git", - "revision": "195bde7883f7c39ea62b0d92ab7359b5327065cb", - "branch": "master", - "path": "model", - "notests": true - }, - { - "importpath": "github.com/prometheus/procfs", - "repository": "https://github.com/prometheus/procfs", - "vcs": "git", - "revision": "fcdb11ccb4389efb1b210b7ffb623ab71c5fdd60", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/rcrowley/go-metrics", - "repository": "https://github.com/rcrowley/go-metrics", - "vcs": "git", - "revision": "1f30fe9094a513ce4c700b9a54458bbb0c96996c", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/sony/gobreaker", - "repository": "https://github.com/sony/gobreaker", - "vcs": "git", - "revision": "809bcd5a528f344e95c2368796c9225d128f9b3e", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/stathat/go", - "repository": "https://github.com/stathat/go", - "vcs": "git", - "revision": "74669b9f388d9d788c97399a0824adbfee78400e", - "branch": "master", - "notests": true - }, - { - "importpath": "github.com/streadway/handy/breaker", - "repository": "https://github.com/streadway/handy", - "vcs": "git", - "revision": "f450267a206e480d863d2a92846a40f6e2896b2a", - "branch": "master", - "path": "/breaker", - "notests": true - }, - { - "importpath": "github.com/stretchr/testify/assert", - "repository": "https://github.com/stretchr/testify", - "vcs": "git", - "revision": "2402e8e7a02fc811447d11f881aa9746cdc57983", - "branch": "master", - "path": "/assert", - "notests": true, - "allfiles": true - }, - { - "importpath": "github.com/stretchr/testify/vendor/github.com/davecgh/go-spew/spew", - "repository": "https://github.com/stretchr/testify", - "vcs": "git", - "revision": "2402e8e7a02fc811447d11f881aa9746cdc57983", - "branch": "master", - "path": "vendor/github.com/davecgh/go-spew/spew", - "notests": true, - "allfiles": true - }, - { - "importpath": "github.com/stretchr/testify/vendor/github.com/pmezard/go-difflib/difflib", - "repository": "https://github.com/stretchr/testify", - "vcs": "git", - "revision": "2402e8e7a02fc811447d11f881aa9746cdc57983", - "branch": "master", - "path": "vendor/github.com/pmezard/go-difflib/difflib", - "notests": true, - "allfiles": true - }, - { - "importpath": "github.com/weaveworks/common/errors", - "repository": "https://github.com/weaveworks/common", - "vcs": "git", - "revision": "f94043b3da140c7a735b1f2f286d72d19014b200", - "branch": "master", - "path": "errors", - "notests": true - }, - { - "importpath": "github.com/weaveworks/common/middleware", - "repository": "https://github.com/weaveworks/common", - "vcs": "git", - "revision": "f94043b3da140c7a735b1f2f286d72d19014b200", - "branch": "master", - "path": "/middleware", - "notests": true - }, - { - "importpath": "github.com/weaveworks/common/user", - "repository": "https://github.com/weaveworks/common", - "vcs": "git", - "revision": "f94043b3da140c7a735b1f2f286d72d19014b200", - "branch": "master", - "path": "user", - "notests": true - }, - { - "importpath": "go4.org/syncutil/singleflight", - "repository": "https://github.com/camlistore/go4", - "vcs": "git", - "revision": "169ea6cabe2a4888dba958edaecc9e9751adc711", - "branch": "master", - "path": "/syncutil/singleflight", - "notests": true - }, - { - "importpath": "golang.org/x/crypto/acme", - "repository": "https://go.googlesource.com/crypto", - "vcs": "git", - "revision": "459e26527287adbc2adcc5d0d49abff9a5f315a7", - "branch": "master", - "path": "acme", - "notests": true - }, - { - "importpath": "golang.org/x/crypto/ssh/terminal", - "repository": "https://go.googlesource.com/crypto", - "vcs": "git", - "revision": "459e26527287adbc2adcc5d0d49abff9a5f315a7", - "branch": "master", - "path": "/ssh/terminal", - "notests": true - }, - { - "importpath": "golang.org/x/net/context", - "repository": "https://go.googlesource.com/net", - "vcs": "git", - "revision": "cfae461cedfdcab6e261a26eb77db53695623303", - "branch": "master", - "path": "/context", - "notests": true - }, - { - "importpath": "golang.org/x/net/http2", - "repository": "https://go.googlesource.com/net", - "vcs": "git", - "revision": "a6577fac2d73be281a500b310739095313165611", - "branch": "master", - "path": "http2", - "notests": true - }, - { - "importpath": "golang.org/x/net/idna", - "repository": "https://go.googlesource.com/net", - "vcs": "git", - "revision": "a6577fac2d73be281a500b310739095313165611", - "branch": "master", - "path": "idna", - "notests": true - }, - { - "importpath": "golang.org/x/net/internal/timeseries", - "repository": "https://go.googlesource.com/net", - "vcs": "git", - "revision": "45e771701b814666a7eb299e6c7a57d0b1799e91", - "branch": "master", - "path": "internal/timeseries", - "notests": true - }, - { - "importpath": "golang.org/x/net/lex/httplex", - "repository": "https://go.googlesource.com/net", - "vcs": "git", - "revision": "a6577fac2d73be281a500b310739095313165611", - "branch": "master", - "path": "lex/httplex", - "notests": true - }, - { - "importpath": "golang.org/x/net/trace", - "repository": "https://go.googlesource.com/net", - "vcs": "git", - "revision": "45e771701b814666a7eb299e6c7a57d0b1799e91", - "branch": "master", - "path": "/trace", - "notests": true - }, - { - "importpath": "golang.org/x/oauth2", - "repository": "https://go.googlesource.com/oauth2", - "vcs": "git", - "revision": "7fdf09982454086d5570c7db3e11f360194830ca", - "branch": "master", - "notests": true - }, - { - "importpath": "golang.org/x/sys/unix", - "repository": "https://go.googlesource.com/sys", - "vcs": "git", - "revision": "99f16d856c9836c42d24e7ab64ea72916925fa97", - "branch": "master", - "path": "/unix", - "notests": true - }, - { - "importpath": "golang.org/x/tools/cmd/cover", - "repository": "https://go.googlesource.com/tools", - "vcs": "git", - "revision": "ae0208420024a4690a48068625e8fe111e8cb448", - "branch": "master", - "path": "/cmd/cover", - "notests": true - }, - { - "importpath": "golang.org/x/tools/cover", - "repository": "https://go.googlesource.com/tools", - "vcs": "git", - "revision": "ae0208420024a4690a48068625e8fe111e8cb448", - "branch": "master", - "path": "cover", - "notests": true - }, - { - "importpath": "google.golang.org/api/compute/v1", - "repository": "https://code.googlesource.com/google-api-go-client", - "vcs": "git", - "revision": "16ab375f94503bfa0d19db78e96bffbe1a34354f", - "branch": "master", - "path": "/compute/v1", - "notests": true - }, - { - "importpath": "google.golang.org/api/gensupport", - "repository": "https://code.googlesource.com/google-api-go-client", - "vcs": "git", - "revision": "16ab375f94503bfa0d19db78e96bffbe1a34354f", - "branch": "master", - "path": "gensupport", - "notests": true - }, - { - "importpath": "google.golang.org/api/googleapi", - "repository": "https://code.googlesource.com/google-api-go-client", - "vcs": "git", - "revision": "16ab375f94503bfa0d19db78e96bffbe1a34354f", - "branch": "master", - "path": "googleapi", - "notests": true - }, - { - "importpath": "google.golang.org/appengine", - "repository": "https://github.com/golang/appengine", - "vcs": "git", - "revision": "b79c28f0197795b4050bfcd7c4c2209136c594b1", - "branch": "master", - "notests": true - }, - { - "importpath": "google.golang.org/grpc", - "repository": "https://github.com/grpc/grpc-go", - "vcs": "git", - "revision": "cdee119ee21e61eef7093a41ba148fa83585e143", - "branch": "master", - "notests": true - }, - { - "importpath": "gopkg.in/DATA-DOG/go-sqlmock.v1", - "repository": "https://gopkg.in/DATA-DOG/go-sqlmock.v1", - "vcs": "git", - "revision": "d4cd2ca2ad1cc2130bba385aab072218f131f636", - "branch": "master", - "notests": true - }, - { - "importpath": "gopkg.in/airbrake/gobrake.v2", - "repository": "https://gopkg.in/airbrake/gobrake.v2", - "vcs": "git", - "revision": "668876711219e8b0206e2994bf0a59d889c775aa", - "branch": "master", - "notests": true - }, - { - "importpath": "gopkg.in/gemnasium/logrus-airbrake-hook.v2", - "repository": "https://gopkg.in/gemnasium/logrus-airbrake-hook.v2", - "vcs": "git", - "revision": "bfee1239d796830ca346767650cce5ba90d58c57", - "branch": "master", - "notests": true - } - ] -} \ No newline at end of file