Skip to content

Commit f89bd61

Browse files
authored
Merge pull request #372 from checkr/zz/bump-vendor-and-swagger-gen
Bump vendor and go swagger
2 parents 41d2757 + 20e9771 commit f89bd61

File tree

664 files changed

+113766
-94237
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

664 files changed

+113766
-94237
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
steps:
1111
- checkout
1212
- run: make deps
13+
- run: make verify_swagger_nochange
1314
- run: make ci
1415
- run: bash <(curl -s https://codecov.io/bash)
1516

.fsw.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,9 @@ gen: api_docs swagger
4141

4242
deps:
4343
@GO111MODULE=off go get -u github.com/myitcv/gobin
44-
@gobin github.com/go-swagger/go-swagger/cmd/[email protected]
45-
@gobin github.com/codeskyblue/fswatch
44+
@gobin github.com/go-swagger/go-swagger/cmd/[email protected]
4645
@gobin github.com/golangci/golangci-lint/cmd/[email protected]
4746

48-
watch:
49-
@fswatch
50-
5147
serve_docs:
5248
@npm install -g docsify-cli@4
5349
@docsify serve $(PWD)/docs
@@ -70,6 +66,10 @@ verify_swagger:
7066
@echo "Running $@"
7167
@swagger validate $(PWD)/docs/api_docs/bundle.yaml
7268

69+
verify_swagger_nochange: swagger
70+
@echo "Running verify_swagger_nochange to make sure the swagger generated code is checked in"
71+
@git diff --exit-code
72+
7373
clean:
7474
@echo "Cleaning up all the generated files"
7575
@find . -name '*.test' | xargs rm -fv

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,17 @@ Or try it on [https://try-flagr.herokuapp.com](https://try-flagr.herokuapp.com),
4848

4949
```
5050
curl --request POST \
51-
--url https://try-flagr.herokuapp.com/api/v1/evaluation \
52-
--header 'content-type: application/json' \
53-
--data '{
54-
"entityID": "127",
55-
"entityType": "user",
56-
"entityContext": {
57-
"state": "NY"
58-
},
59-
"flagID": 1,
60-
"enableDebug": true
61-
}'
51+
--url https://try-flagr.herokuapp.com/api/v1/evaluation \
52+
--header 'content-type: application/json' \
53+
--data '{
54+
"entityID": "127",
55+
"entityType": "user",
56+
"entityContext": {
57+
"state": "NY"
58+
},
59+
"flagID": 1,
60+
"enableDebug": true
61+
}'
6262
```
6363

6464

go.mod

Lines changed: 11 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,8 @@ go 1.14
55
require (
66
cloud.google.com/go v0.37.4
77
github.com/DataDog/datadog-go v0.0.0-20180330214955-e67964b4021a
8-
github.com/PuerkitoBio/purell v1.1.0 // indirect
9-
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
108
github.com/Shopify/sarama v1.19.0
119
github.com/a8m/kinesis-producer v0.0.0-20180723062609-03228a9f79b3
12-
github.com/asaskevich/govalidator v0.0.0-20180315120708-ccb8e960c48f // indirect
1310
github.com/auth0/go-jwt-middleware v0.0.0-20170425171159-5493cabe49f7
1411
github.com/avast/retry-go v2.2.0+incompatible
1512
github.com/aws/aws-sdk-go v1.15.32
@@ -22,22 +19,17 @@ require (
2219
github.com/dchest/uniuri v0.0.0-20160212164326-8902c56451e9
2320
github.com/denisenkom/go-mssqldb v0.0.0-20190418034912-35416408c946 // indirect
2421
github.com/dgrijalva/jwt-go v3.2.0+incompatible
25-
github.com/docker/go-units v0.3.3 // indirect
2622
github.com/erikstmartin/go-testdb v0.0.0-20160219214506-8d10e4a1bae5 // indirect
2723
github.com/evalphobia/logrus_sentry v0.4.6
2824
github.com/getsentry/raven-go v0.0.0-20180903072508-084a9de9eb03
29-
github.com/globalsign/mgo v0.0.0-20180905125535-1ca0a4f7cbcb // indirect
3025
github.com/go-ini/ini v1.38.2 // indirect
31-
github.com/go-openapi/analysis v0.0.0-20180801175213-7c1bef8f6d9f // indirect
32-
github.com/go-openapi/errors v0.0.0-20180827163446-87bb65328877
33-
github.com/go-openapi/jsonpointer v0.0.0-20180322222829-3a0015ad55fa // indirect
34-
github.com/go-openapi/jsonreference v0.0.0-20180322222742-3fb327e6747d // indirect
35-
github.com/go-openapi/loads v0.0.0-20180825180312-fd899182a268
36-
github.com/go-openapi/runtime v0.0.0-20180910204625-41cb9a631c39
37-
github.com/go-openapi/spec v0.0.0-20180825180323-f1468acb3b29
38-
github.com/go-openapi/strfmt v0.0.0-20180910212104-776114108ccc
39-
github.com/go-openapi/swag v0.0.0-20180908172849-dd0dad036e67
40-
github.com/go-openapi/validate v0.0.0-20180825180342-e0648ff40507
26+
github.com/go-openapi/errors v0.19.6
27+
github.com/go-openapi/loads v0.19.5
28+
github.com/go-openapi/runtime v0.19.19
29+
github.com/go-openapi/spec v0.19.8
30+
github.com/go-openapi/strfmt v0.19.5
31+
github.com/go-openapi/swag v0.19.9
32+
github.com/go-openapi/validate v0.19.10
4133
github.com/go-sql-driver/mysql v1.4.0 // indirect
4234
github.com/gohttp/pprof v0.0.0-20141119085724-c9d246cbb3ba
4335
github.com/gorilla/mux v1.7.1 // indirect
@@ -46,35 +38,31 @@ require (
4638
github.com/jinzhu/inflection v0.0.0-20180308033659-04140366298a // indirect
4739
github.com/jinzhu/now v1.0.0 // indirect
4840
github.com/jpillora/backoff v0.0.0-20170918002102-8eab2debe79d // indirect
49-
github.com/kr/pretty v0.1.0 // indirect
5041
github.com/lib/pq v1.0.0 // indirect
51-
github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329 // indirect
5242
github.com/mattn/go-sqlite3 v1.9.0 // indirect
5343
github.com/meatballhat/negroni-logrus v0.0.0-20170801195057-31067281800f
54-
github.com/mitchellh/mapstructure v1.1.2 // indirect
5544
github.com/newrelic/go-agent v2.1.0+incompatible
5645
github.com/onsi/ginkgo v1.8.0 // indirect
5746
github.com/onsi/gomega v1.5.0 // indirect
5847
github.com/opentracing/opentracing-go v1.1.0 // indirect
59-
github.com/pborman/uuid v1.2.0 // indirect
6048
github.com/philhofer/fwd v1.0.0 // indirect
6149
github.com/phyber/negroni-gzip v0.0.0-20180113114010-ef6356a5d029
6250
github.com/prashantv/gostub v0.0.0-20170112001514-5c68b99bb088
6351
github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829
6452
github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90 // indirect
6553
github.com/prometheus/procfs v0.0.0-20190219184716-e4d4a2206da0 // indirect
6654
github.com/rs/cors v1.5.0
67-
github.com/sirupsen/logrus v1.2.0
55+
github.com/sirupsen/logrus v1.4.2
6856
github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a // indirect
6957
github.com/spf13/cast v1.3.0
70-
github.com/stretchr/testify v1.3.0
58+
github.com/stretchr/testify v1.6.1
7159
github.com/tinylib/msgp v1.1.0 // indirect
7260
github.com/urfave/negroni v0.3.0
7361
github.com/yadvendar/negroni-newrelic-go-agent v0.0.0-20160803090806-3dc58758cb67
7462
github.com/zhouzhuojie/conditions v0.0.0-20190705160302-784df330cb87
7563
github.com/zhouzhuojie/withtimeout v0.0.0-20190405051827-12b39eb2edd5
76-
golang.org/x/net v0.0.0-20190313220215-9f648a60d977
77-
golang.org/x/sys v0.0.0-20190312061237-fead79001313 // indirect
64+
golang.org/x/net v0.0.0-20200602114024-627f9648deb9
65+
golang.org/x/text v0.3.3 // indirect
7866
google.golang.org/api v0.3.1
7967
google.golang.org/grpc v1.19.0
8068
gopkg.in/DataDog/dd-trace-go.v1 v1.9.0

0 commit comments

Comments
 (0)