* Updated mongo init to use db name env variable.
* Updated mongo init to use coll name env var.
* Fixed merge conflict.
* Updated formatting in mongo_test.
* Allow mgo.ParseURL to set [/database]
As per Michael's solution we need to be able to set the database from
either the parsed connection string, or fallback to athens if not set.
Signed-off-by: Chris M <me@christophermills.co.uk>
* Remove TimeoutDuration which was removed #928
Signed-off-by: Chris M <me@christophermills.co.uk>
* Correct conf_test to accommodate for changes
I'd missed out the addition of DefaultDBName from the test, this has now
been corrected
Signed-off-by: Chris M <me@christophermills.co.uk>
* Make sure gofmt runs automatically on this machine
Y'know simple stuff.
Signed-off-by: Chris M <me@christophermills.co.uk>
* switch proxy to config file
pull in single flight changes
* changes for single-flight
* intermediate stage. All tests passing. pkg still has env refs
* remove all env references
* delete config/env entirely
* fix failing tests
* create the config.toml file as part of dev setup
* create config file only if it doesn't exist
* update Dockerfiles to use config file
* move composing elements to the top
* verbose parameter naming
* newline
* add flag for config file path
* update docs with config file flag
* remove unnecessary nil check
* use filepath.join
* rename redis port to address
* fix path.join
* fix issues after merge
* add vendor dir
* complete updated config package
* use envconfig+toml instead of viper. Add descriptions in example config file
* add unit tests
* debug gofmt on build server
* force dummy commit
* skip gofmt to validate other tests are passing
* unset env vars for example file parsing test
* cleanup tests
* test improvements
* re-enable gofmt
* naming
* PR comments
* fix failing test after olympus default endpoint change
* remove rdbms config
* set defaults in code
* add support for proxyfilteroff
* add basic auth params
* update gopkg.lock
* undo gopkg.lock changes made during merge
* remove defaults
* explicitly specify all env variables
* remove rdbms from example
* remove user and pass to disable basic auth by default
* switch to memory by default for the proxy
* fix tests after config file change