open-vault/vendor/github.com
Clint 6b4bdb1882
VLT091 plugin testing framework stepwise (#9270)
* Resolve merge conflicts and updates from running a test

* move testing/_test.go over to legacy

* updates

* Add core of plugin test framework Stepwise  (#9166)

* adding stepwise testing, but there are protocol buff error :/

* move file and update sdk/go.mo

* update/sync modules

* update from other branch

* update sdk/go.mod

* some cleanups after feedback

* remove enviornments from this PR

* update vendor

* change from running go mod tidy

* change from go mod tidy

* Update sdk/testing/stepwise/helpers.go

Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com>

* Update sdk/testing/stepwise/helpers.go

Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com>

* change panic to error

* Update sdk/testing/stepwise/helpers.go

return `nil` and not `err` at the end

Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com>

* Defer close() on successful Open of a file

* document the re-creation of steps

* Update sdk/testing/stepwise/stepwise.go

Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com>

* remove unused BarrierKeys()

* Update sdk/testing/stepwise/stepwise.go

Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com>

* updates from feedback

* fix return with bad arguments

* Rename things:

- StepOperation -> Operation
- StepwiseEnvironment -> Environment
- StepCheckFunc -> AssertionFunc
- step.Check -> step.Assert

* document the environment interface methods

* rename EnvironmentOptions to MountOptions

* rename Name to RegistryName

* remove ExpectError because it's redundant

* minor doc update

* Update sdk/testing/stepwise/stepwise.go

Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com>

* add checkShouldRun function

* remove redundant return

* remove vestigial PreCheck function

* add tt.Helper() to makeRequest

* minor code formatting and document 1-based index for log output of Steps

Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com>

* minor updates

* update sdk

* use local reference for api, vault dep

* Update sdk/testing/stepwise/stepwise.go

Co-authored-by: Calvin Leung Huang <cleung2010@gmail.com>

* Update sdk/testing/stepwise/stepwise.go

Co-authored-by: Calvin Leung Huang <cleung2010@gmail.com>

* cleanup some defer functions

* call fatal if environment setup fails, and don't call teardown

* defer re-setting client token in makeRequest

* Move legacy logicaltest back to testhelpers

* update mods and test files with go mod tidy

* go mod vendor

* remove relative replace directives

* restore old logical test location

* move declaration to main stepwise file

* remove index var and use i+1

* add testing for write, delete paths of makeRequest

* update stepwise core testing to do request counting

* remove unused methods

* Update sdk/testing/stepwise/stepwise.go

remove dead line

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>

* Update sdk/testing/stepwise/stepwise.go

fix capitalization in code comment

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>

* update code comments for SkipTeardown to clarify its use

* update stepwise

Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com>
Co-authored-by: Calvin Leung Huang <cleung2010@gmail.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-06-23 06:01:39 -05:00
..
aliyun
apple/foundationdb/bindings/go
armon Update to go-metrics 1.3.3 for Prometheus performance improvements. (#8507) 2020-03-09 09:54:55 -04:00
asaskevich/govalidator
aws/aws-sdk-go Update to latest go-kms-wrapping and fix protos/etcd (#8996) 2020-05-14 18:45:10 -04:00
Azure Update to latest go-kms-wrapping and fix protos/etcd (#8996) 2020-05-14 18:45:10 -04:00
beorn7/perks
bgentry/speakeasy
boombuler/barcode
briankassouf/jose
BurntSushi/toml
cenkalti/backoff
centrify/cloud-golang-sdk
cespare/xxhash/v2 Update to newest go-metrics, go mod vendor. (#8311) 2020-02-07 09:05:14 -05:00
chrismalek/oktasdk-go
circonus-labs
client9/misspell Update to latest go-kms-wrapping and fix protos/etcd (#8996) 2020-05-14 18:45:10 -04:00
cloudfoundry-community/go-cfclient Update go.mod to corrected plugin tags (#8759) 2020-04-17 11:50:19 -07:00
cockroachdb/cockroach-go
containerd/continuity
coreos Update to latest go-kms-wrapping and fix protos/etcd (#8996) 2020-05-14 18:45:10 -04:00
DataDog
davecgh/go-spew
denisenkom/go-mssqldb Bump go-kms-wrapping to remove proto warning, and vendor (#9066) 2020-05-22 10:48:50 -04:00
dgrijalva/jwt-go
dimchansky/utfbom
docker
dsnet/compress Update go.mod to corrected plugin tags (#8759) 2020-04-17 11:50:19 -07:00
duosecurity/duo_api_golang
elazarl/go-bindata-assetfs Update to latest go-kms-wrapping and fix protos/etcd (#8996) 2020-05-14 18:45:10 -04:00
fatih Add a new "vault monitor" command (#8477) 2020-05-21 13:07:50 -07:00
fullsailor/pkcs7
gammazero
ghodss/yaml
go-asn1-ber/asn1-ber
go-errors/errors
go-ldap/ldap/v3 Upgrade go-ldap to 3.1.10, containing the send race fix (#8937) 2020-05-11 11:28:01 -05:00
go-ole/go-ole
go-sql-driver/mysql Update to latest go-kms-wrapping and fix protos/etcd (#8996) 2020-05-14 18:45:10 -04:00
go-stack/stack
go-test/deep
go-yaml/yaml
gocql/gocql
gogo/protobuf Update to latest go-kms-wrapping and fix protos/etcd (#8996) 2020-05-14 18:45:10 -04:00
golang Update OpenLDAP secret engine to v0.1.3 (#9123) 2020-06-03 10:37:00 -06:00
golang-sql/civil Bump go-kms-wrapping to remove proto warning, and vendor (#9066) 2020-05-22 10:48:50 -04:00
google Update to latest go-kms-wrapping and fix protos/etcd (#8996) 2020-05-14 18:45:10 -04:00
googleapis/gax-go/v2
gorhill/cronexpr
gorilla/websocket
hailocab/go-hostpool
hashicorp VLT091 plugin testing framework stepwise (#9270) 2020-06-23 06:01:39 -05:00
influxdata/influxdb
jackc/pgx
jcmturner
Jeffail/gabs
jeffchao/backoff
jefferai
jmespath/go-jmespath Update to latest go-kms-wrapping and fix protos/etcd (#8996) 2020-05-14 18:45:10 -04:00
joyent/triton-go Update go.mod to corrected plugin tags (#8759) 2020-04-17 11:50:19 -07:00
json-iterator/go Update to newest go-metrics, go mod vendor. (#8311) 2020-02-07 09:05:14 -05:00
jstemmer/go-junit-report Update to latest go-kms-wrapping and fix protos/etcd (#8996) 2020-05-14 18:45:10 -04:00
kelseyhightower/envconfig
keybase/go-crypto
konsorten/go-windows-terminal-sequences
kr Add password_policy field to Azure docs (#9249) 2020-06-18 13:25:59 -06:00
lib/pq Update go.mod to corrected plugin tags (#8759) 2020-04-17 11:50:19 -07:00
Masterminds/semver
mattn Add a new "vault monitor" command (#8477) 2020-05-21 13:07:50 -07:00
matttproud/golang_protobuf_extensions
mholt/archiver
michaelklishin/rabbit-hole
Microsoft/go-winio
mitchellh Add password_policy field to Azure docs (#9249) 2020-06-18 13:25:59 -06:00
modern-go
mongodb/go-client-mongodb-atlas Bundle MongoDB Atlas (#8309) 2020-02-07 14:09:39 -08:00
mwielbut/pointy Bundle MongoDB Atlas (#8309) 2020-02-07 14:09:39 -08:00
natefinch/atomic Ensure that the .vault-token file writen by vault login always has the correct permissions and ownership. (#8867) 2020-04-27 19:55:13 -04:00
ncw/swift
Nvveen/Gotty
nwaples/rardecode
NYTimes/gziphandler
oklog/run
okta/okta-sdk-golang
opencontainers
oracle/oci-go-sdk
ory/dockertest Update go.mod to corrected plugin tags (#8759) 2020-04-17 11:50:19 -07:00
patrickmn/go-cache
petermattis/goid Add option to detect deadlocks in Core.stateLock using build tag deadlock (#8524) 2020-03-10 16:01:20 -04:00
pierrec/lz4 Add password_policy field to Azure docs (#9249) 2020-06-18 13:25:59 -06:00
pkg/errors Update to latest go-kms-wrapping and fix protos/etcd (#8996) 2020-05-14 18:45:10 -04:00
pmezard/go-difflib
posener/complete
pquerna
prometheus Update to newest go-metrics, go mod vendor. (#8311) 2020-02-07 09:05:14 -05:00
ryanuber
samuel/go-zookeeper
SAP/go-hdb
sasha-s/go-deadlock Add option to detect deadlocks in Core.stateLock using build tag deadlock (#8524) 2020-03-10 16:01:20 -04:00
satori/go.uuid
Sectorbob/mlab-ns2 Bundle MongoDB Atlas (#8309) 2020-02-07 14:09:39 -08:00
shirou Update go.mod to corrected plugin tags (#8759) 2020-04-17 11:50:19 -07:00
sirupsen/logrus
StackExchange/wmi
stretchr/testify Update to latest go-kms-wrapping and fix protos/etcd (#8996) 2020-05-14 18:45:10 -04:00
tv42/httpunix
ulikunitz/xz Update go.mod to corrected plugin tags (#8759) 2020-04-17 11:50:19 -07:00
xdg
xi2/xz