OpenSearch/elasticsearch/qa
Alexander Reelsen 75ab4f9470 Watcher: Allow for external email attachments
This feature is mainly done for the integration with the commercial reporting, but can be used
for anything else as well.

This adds a `attachments` to the email configuration, which can be used like this

```
"attachments" : {
  "some_id" : {
    "http" : {
      "request" : {
        "url" : "http://example.org/foo.pdf"
      }
    }
  },
  "other_id" : {
    "data" : {
      "format" : "json"
    }
  }
}
```

The main reason to pick this format is extensibility. If we would like to support another
attachment type, like an file reader, we could do so easily from an API point of view.

Closes elastic/elasticsearch#870

Original commit: elastic/x-pack-elasticsearch@66d14be965
2016-01-07 10:49:13 +01:00
..
messy-test-watcher-with-groovy Remove wildcard imports 2015-12-18 14:15:06 -08:00
messy-test-xpack-with-mustache Watcher: Allow for external email attachments 2016-01-07 10:49:13 +01:00
shield-audit-tests Remove wildcard imports 2015-12-18 14:15:06 -08:00
shield-client-tests Remove wildcard imports 2015-12-18 14:15:06 -08:00
shield-core-rest-tests Remove wildcard imports 2015-12-18 14:15:06 -08:00
shield-example-realm Remove wildcard imports 2015-12-18 14:15:06 -08:00
shield-tribe-node-tests Remove wildcard imports 2015-12-18 14:15:06 -08:00
smoke-test-found-license-with-shield-and-watcher Remove wildcard imports 2015-12-18 14:15:06 -08:00
smoke-test-plugins Remove wildcard imports 2015-12-18 14:15:06 -08:00
smoke-test-plugins-ssl Remove wildcard imports 2015-12-18 14:15:06 -08:00
smoke-test-watcher-with-groovy Remove wildcard imports 2015-12-18 14:15:06 -08:00
smoke-test-watcher-with-shield Remove wildcard imports 2015-12-18 14:15:06 -08:00
build.gradle disable license headers check for x-plugins, until we figure out what it should do 2015-12-18 13:27:52 -05:00