80 Commits

Author SHA1 Message Date
Chris Mills
2cf10c3ead Allow mgo.ParseURL to set [/database] (#997)
* 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>
2019-02-14 10:21:34 -08:00
Marwan Sulaiman
aa3fb3389c pkg/config: Update GoGetWorkers default/docs (#1052)
* pkg/config: Update GoGetWorkers default/docs

* fix tests
2019-02-11 11:51:38 -05:00
Joshua Rubin
84eff04ed2 Use ambient aws credential provider for s3 (#1041)
* use ambiant aws credentials

Signed-off-by: Joshua Rubin <joshua@rubixconsulting.com>

* better naming, docs and examples for default aws config

Signed-off-by: Joshua Rubin <joshua@rubixconsulting.com>
2019-01-16 08:47:21 +01:00
Manu Gupta
23b285d49d Catalog endpoint support for mongo (#985)
* Added new cataloger interface

* Implementing catalog protocol

* Propagated to protocol and over

* First round of fixes

* S3 almost ready, need to be tested

* Going on with testing s3

* Better testing with s3

* Simplified catalog tests

* Preparing gcp tests to access a gcp instance

* Fixing initialization errors

* Removed some prints

* Gcp ready, to be tested

* Gcp working

* Aligned bucket mock to catalog method

* Switched res payload to json

* Added catalog method to all storage instances

* Added catalog method to unsupported storages

* Fixed with pool test

* Restored tests

* Fixed gcp constructor

* Implemented catalog for fs

* Removed trace

* E2e tests, fixed fs

* Fixed module name return value

* Added cataloger method to azure storage

* Added docs

* Changed pagesize parameter name

* Fixed gofmt error

* Added json tags to result. Fixed lint warning

* Removed extra line

* Changed not implemented error to http.KindNotImplemented

* Checking for inequality on results

* Lower-cased json keys

* Added cleaning of path separator

* Fixed review comments

* Add catalog endpoint for mongo

* Add omitempty to ID

* Fix catalog tests

* update for next token

* fix e2e

* Make query readable

* Fix language and e2e script

* remove new line
2019-01-02 22:13:56 -08:00
z2665
aa76528450 fix toml note (#1014) 2018-12-23 02:06:07 -05:00
Marwan Sulaiman
5870aeee8d Remove Buffalo (#1010)
* Remove Buffalo

* gofmt

* pr fixes

* fix subrouter

* bring back secure middleware + pr fixes

* better place for subrouter

* vendor
2018-12-22 20:24:25 -05:00
Marwan Sulaiman
36aba5915c Revert TraceExporter Default (#1012)
* Revert TraceExporter Default

* fix tests
2018-12-22 11:52:02 -05:00
Tomasz Tomalak
fb696b2d84 Add prometheus metrics collectors for http handlers (#958)
* Add prometheus metrics exporter for http handlers

* Use prometheus from opencensus

* Add comment to unused func() param

* Add package names to operation description in observ package

* Sort exported/unexported functions
2018-12-20 10:19:22 +01:00
Manu Gupta
5eba6f2e47 File permissions on config files allow more restrictive setting (#966)
* File permissions on config files allow more restrictive setting

* Make the tests a bit more readable

* Bring back the tests dude

* Update error message

* remove else

* Add more test cases

* Change Lstat to Stat

* Add note for umask

* Make sure the permissions are 0600 or lower

* Update config file

* Do not check for windows

* Fix CI errors

* Fix CI test
2018-12-18 16:26:04 +01:00
Pontus Leitzler
fe032bc5ca Add support for TLS (#979)
* Add support for TLS

* Fix review comments
2018-12-09 07:27:49 -05:00
Manu Gupta
ff309ae2ae Add note that : should be prefixed for port (#963) 2018-12-05 21:10:49 +01:00
Aravind
48f7ca7780 Implement storage.Backend for azureblob (#917) 2018-11-29 17:06:19 +01:00
Manu Gupta
66cb01e668 Add tracing defaults for jaeger (#934)
* Add tracing defaults for jaeger

* Fix tests

* Add comment in config file as well
2018-11-29 10:44:34 -05:00
Tomasz Tomalak
88725b7778 Add docs about storages in athens (#883)
* Add docs about storages in athens
Fix wrong description in config.dev.tom

* Storage docs tweaks

* Change Disk storage description

* Fix spelling/grammar issue in storage.md

* Remove chapter value from configuration/_index.md

* Rename Config to Configuration
2018-11-20 15:11:51 -05:00
marpio
4785e9c2b3 Remove storage timeouts (#928)
* remove storage timeouts

* fix tests
2018-11-16 16:00:08 -05:00
Manu Gupta
bb0094ad34 Add docs for the filter file (#864)
* Add docs for the filter file

* Update docs

* Update examples

* Fix +, - and docs

* Fix docs

* update docs

* Remove refernces to vcs

* Update docs with exclude
2018-11-08 11:33:16 -08:00
Tomasz Tomalak
61ddb907c1 Add support for DigitalOcean Spaces storage (#847)
* Add Region value to Minio configuration, Allow to use minio for DigitalOcean Spaces

* Remove unnecessary Region value setter
2018-11-05 15:24:44 -05:00
Marwan Sulaiman
21dcd5a388 config: flatten Proxy struct (#846)
* config: flatten Proxy struct

* fix mw_test

* gofmt

* add line
2018-11-01 17:21:42 -04:00
Marwan Sulaiman
3844e82b8c Remove redis from toml file (#845)
* Remove redis from toml file

* remove redis from yamls
2018-11-01 11:24:46 -04:00
Manu Gupta
8f4e3dc3c0 Remove FilterOff from the env var (#837)
* Remove FilterOff from the env var

* Remove test

* Turn off filter by default

* Fix test
2018-10-31 17:37:44 -04:00
Marwan Sulaiman
2d589f1945 Remove CSRF option from config (#814) 2018-10-24 10:59:33 +02:00
Henry Jenkins
532e93e119 Remove Olympus code (#779)
* Remove nolonger used moniker package

Usage was removed in 97d8013

* Remove reference to Zeus

Use name Proxy for now.

* Remove Olympus code

See github issue #777

* Remove Olympus related vendor modules

* Mention Olympus removal in docs

* Add note about no registries existing

* Remove eventlog

* Update docs for Olympus removal
2018-10-22 11:52:02 -07:00
Tomasz Tomalak
480d8c8e8c Implement storage.Backend for S3 storage (#750)
* Implement storage.Backend for S3 storage

* Adapt S3 storage test after refactor, Fix skiped minio tests

* Add defer to Close calls in s3.getter methods

* CR fixes

* Fix doc align

* Tweak err checks

* Fix parse test for S3 configs and cleanup error messages in storage.s3
2018-10-15 21:46:08 -04:00
Manu Gupta
13083b9d32 Support custom ca's and make insecure as part optional default being false (#767)
* Support custom ca's and make insecure as part optional default being false

* Fix gofmt issue

* Fix newline
2018-10-15 11:14:48 +02:00
Manu Gupta
6d6ff27903 Remove unnecessary white space form config file (#757) 2018-10-08 13:29:56 +02:00
Marwan Sulaiman
6753def0b7 Authenticate by providing Github Token only (#739)
* Authenticate by providing Github Token only

* docs: add backticks to env var

* add optional word to docs
2018-10-04 19:35:16 -04:00
Marwan Sulaiman
337488c202 Add stackdriver to traces (#737) 2018-10-04 18:47:38 -04:00
Bhavesh Praveen
73e45cb413 Tracing Exporter for Datadog #714 (#723)
* Tracing Exporter for Datadog #714

* Tracing Exporter for Datadog #714
2018-10-03 22:48:10 -04:00
Tomasz Tomalak
dfe939e14c Proxy: Add HGRC file mount (#720)
* Proxy: Add HGRC file mount

* Rename and move dotFile initializer, lower permission for authFiles
2018-10-03 20:13:57 +02:00
marpio
bcc896f226 rename example to dev and rm test config (#691) 2018-09-20 16:38:08 -04:00