1
0
mirror of https://github.com/minio/minio.git synced 2025-03-26 15:30:57 -04:00

21 Commits

Author SHA1 Message Date
Aditya Manthramurthy
096427f973 Add deliveryMode parameter for AMQP notfication target ()
Configuration migration was done.

Also adds documentation about AMQP configuration parameters.

Fixes 
2017-03-31 03:34:26 -07:00
Bala FA
2df8160f6a server: handle command line and env variables at one place. () 2017-03-30 11:21:19 -07:00
Aditya Manthramurthy
a099319e66 Support access format for database notification targets ()
* Add configuration parameter "format" for db targets and perform
  configuration migration.
* Add PostgreSQL `access` format: This causes Minio to append all events
  to the configured table. Prefix, suffix and event filters continue
  to be supported for this mode too.
* Update documentation for PostgreSQL notification target.
* Add MySQL `access` format: It is very similar to the same format for
  PostgreSQL.
* Update MySQL notification documentation.
2017-03-27 11:27:25 -07:00
Anis Elleuch
11e15f9b4c config: Remove level in console/file loggers ()
Also rename fileName field in file logger to filename
2017-03-23 08:27:22 -07:00
Aditya Manthramurthy
2463ae243a Add support for MySQL notifications (fixes ) ()
As a new configuration parameter is added, configuration version is
bumped up from 14 to 15.

The MySQL target's behaviour is identical to the PostgreSQL: rows are
deleted from the MySQL table on delete-object events, and are
created/updated on create/over-write events.
2017-03-17 09:29:17 -07:00
Bala FA
8a9852220d Make unit testable cert parsing functions. () 2017-03-08 19:20:01 -08:00
Bala FA
98d17d2a97 Remove globalQuiet and globalConfigDir global variables () 2017-03-02 14:21:30 -08:00
Anis Elleuch
77c1998a38 config: Fix creating new config with wrong version ()
Simplify a little config code to avoid making mistake
next time.
2017-03-01 09:17:04 -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
31dff87903 Honor envs properly for access and secret key. ()
Also changes the behavior of `secretKeyHash` which is
not necessary to be sent over the network, each node
has its own secretKeyHash to validate.

Fixes 
Partial(fix)  (More changes needed with some code cleanup)
2017-02-07 12:51:43 -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
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
2f373684f5 Fix the server startup messages and help text. () 2016-11-09 23:37:12 -08:00
Anis Elleuch
a15dc5fed5 Print message when creating the config file () 2016-10-26 18:44:22 -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