open-vault/builtin/logical/database
Christopher Swenson 457f28240e
VAULT-5827 Update mongodb, brotli (#15093)
VAULT-5827 Update mongodb, brotli

Closes https://github.com/hashicorp/vault-plugin-secrets-mongodbatlas/issues/11

* `brotli` 1.0.1 was withdrawn
* `go-client-mongodb-atlas` has an old dependency on a renamed repo, and
  has been renamed twice. This caused issues in
  https://github.com/hashicorp/vault-plugin-secrets-mongodbatlas/issues/11
  for example.
* VAULT-5827 Set unwrap token during database tests

The unwrap token is necessary for the plugins to start correctly when
running when running acceptance tests locally, e.g.,

```
$ VAULT_MONGODBATLAS_PROJECT_ID=... VAULT_MONGODBATLAS_PRIVATE_KEY=... VAULT_MONGODBATLAS_PUBLIC_KEY=... TEST='-run TestBackend_StaticRole_Rotations_MongoDBAtlas github.com/hashicorp/vault/builtin/logical/database'  make test

--- FAIL: TestBackend_StaticRole_Rotations_MongoDBAtlas (5.33s)
    rotation_test.go:818: err:%!s(<nil>) resp:&logical.Response{Secret:<nil>, Auth:<nil>, Data:map[string]interface {}{"error":"error creating database object: invalid database version: 2 errors occurred:\n\t* Unrecognized remote plugin message: PASS\n\nThis usually means that the plugin is either invalid or simply\nneeds to be recompiled to support the latest protocol.\n\t* Incompatible API version with plugin. Plugin version: 5, Client versions: [3 4]\n\n"}, Redirect:"", Warnings:[]string(nil), WrapInfo:(*wrapping.ResponseWrapInfo)(nil), Headers:map[string][]string(nil)}
```

Note the `PASS` message there, which indicates that the plugin exited
before starting the RPC server.
2022-04-19 15:26:22 -07:00
..
dbplugin plugin/catalog: support plugin registration when type is explicitly provided (#14142) 2022-02-17 18:40:33 -08:00
backend.go feature: multiplexing support for database plugins (#14033) 2022-02-17 08:50:33 -06:00
backend_test.go Warnings indicating ignored and replaced parameters (#14962) 2022-04-11 09:57:12 -04:00
mocks_test.go DBPW - Copy newdbplugin package to dbplugin/v5 (#10151) 2020-10-15 13:20:12 -06:00
mockv4.go DBPW - Copy newdbplugin package to dbplugin/v5 (#10151) 2020-10-15 13:20:12 -06:00
mockv5.go db plugin multiplexing: add test coverage (#14330) 2022-03-03 08:40:46 -06:00
path_config_connection.go Ensure that URL encoded passwords are properly redacted. (#14744) 2022-03-29 10:33:55 -04:00
path_creds_create.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
path_roles.go Port: Premature Rotation For autorotate (#12563) 2021-09-21 17:45:04 -07:00
path_roles_test.go Port: Premature Rotation For autorotate (#12563) 2021-09-21 17:45:04 -07:00
path_rotate_credentials.go Port: Premature Rotation For autorotate (#12563) 2021-09-21 17:45:04 -07:00
rollback.go DB engine: Check ErrPluginStaticUnsupported in rollback code (#11601) 2021-05-12 17:09:56 -06:00
rollback_test.go DBPW - Copy newdbplugin package to dbplugin/v5 (#10151) 2020-10-15 13:20:12 -06:00
rotation.go Port: Premature Rotation For autorotate (#12563) 2021-09-21 17:45:04 -07:00
rotation_test.go VAULT-5827 Update mongodb, brotli (#15093) 2022-04-19 15:26:22 -07:00
secret_creds.go DBPW - Copy newdbplugin package to dbplugin/v5 (#10151) 2020-10-15 13:20:12 -06:00
version_wrapper.go Check ErrPluginStaticUnsupported for fallback to RotateRootCredentials (#11585) 2021-05-12 15:22:41 -06:00
version_wrapper_test.go Check ErrPluginStaticUnsupported for fallback to RotateRootCredentials (#11585) 2021-05-12 15:22:41 -06:00
versioning_large_test.go db plugin multiplexing: add test coverage (#14330) 2022-03-03 08:40:46 -06:00