1
0
mirror of https://github.com/minio/minio.git synced 2025-03-20 04:24:19 -04:00

16 Commits

Author SHA1 Message Date
Bala FA
98d17d2a97 Remove globalQuiet and globalConfigDir global variables () 2017-03-02 14:21:30 -08:00
Anis Elleuch
9b3c014bab config: Add browser parameter ()
browser new parameter receives "on" or "off" parameter which is similar
to MINIO_BROWSER
2017-02-27 14:59:53 -08:00
Harshavardhana
1b4bb94ac4 config: setter/getter for Notifier and Logger into its own struct. ()
This is an attempt cleanup code and keep the top level config
functions simpler and easy to understand where as move the
notifier related code and logger setter/getter methods as part
of their own struct.

Locks are now held properly not globally by configMutex, but
instead as private variables.

Final fix for 
2017-02-09 15:20:54 -08:00
Harshavardhana
62f8343879 Add constants for commonly used values. ()
This is a consolidation effort, avoiding usage
of naked strings in codebase. Whenever possible
use constants which can be repurposed elsewhere.

This also fixes `goconst ./...` reported issues.
2017-01-18 12:24:34 -08:00
Alex
d6a327fbc5 Add notifications by webhook.
Add a new config entry moving to version 13.
```
		"webhook": {
			"1": {
				"enable": true,
				"address": "http://requestb.in/1i9al7m1"
			}
		}
```
2017-01-12 10:19:59 -08:00
Anis Elleuch
f24753812a nats: Add support of NATS.io Streaming server () 2017-01-11 16:41:05 -08:00
Bala FA
e8ce3b64ed Generate and use access/secret keys properly () 2016-12-26 10:21:23 -08:00
Aditya Manthramurthy
8e6e9301ce Add support for Kafka as a notifications target () () 2016-12-15 08:23:48 -08:00
Harshavardhana
d711ff454e logs: Do not log common successful errors. ()
Errors like `BucketNotFound`, `BucketExists` shouldn't be logged.

Fixes 
2016-11-23 16:36:26 -08:00
Anis Elleuch
14cb3645a3 config/logger: remove syslogger and upgrade to config v10 which eliminates syslog config () 2016-11-23 15:00:53 -08:00
Harshavardhana
740a919e25 config: Use migrateV8 to v9 function properly. () 2016-10-05 02:28:04 -07:00
Aditya Manthramurthy
315e66858c Add PostgreSQL notifier () ()
* The user is required to specify a table name and database connection
  information in the configuration file.

* INSERTs and DELETEs are done via prepared statements for speed.

* Assumes a table structure, and requires PostgreSQL 9.5 or above due to
  the use of UPSERT.

* Creates the table if it does not exist with the given table name using
  a query like:

    CREATE TABLE myminio (
        key varchar PRIMARY KEY,
        value JSONB
    );

* Vendors some required libraries.
2016-10-03 17:29:55 -07:00
Anis Elleuch
1e6afac3bd Add NATS notifier () 2016-09-29 23:42:10 -07:00
Anis Elleuch
e66fb4bd7b configMigrate() returns errors + tests () 2016-09-21 09:44:57 -07:00
Harshavardhana
e3de237eb8 Move config to v7 to fix previous v6 bug on null Notification entries. ()
Thanks to @koolhead17 for reporting this.
2016-09-10 00:51:25 -07:00
Harshavardhana
bccf549463 server: Move all the top level files into cmd folder. ()
This change brings a change which was done for the 'mc'
package to allow for clean repo and have a cleaner
github drop in experience.
2016-08-18 16:23:42 -07:00