4 Commits

Author SHA1 Message Date
Robert Muir
3c40ed22b3 Fix security problems in mapper-attachments.
Many of the tests were not running, or did not check the exceptions.
I renamed all tests to meet *Tests* so they run, and assert exception messages.

Also because we must (currently) invoke tika with additional privileges, I added
the security logic, and fixed unit testing to call our static method directly.

This must be package private for security reasons, i simply put everything in
org.elasticsearch.mapper.attachments package.

I upgraded tika to the latest, so we are up to date, and removed logic around
tika == null and old locale issues.
2015-11-07 17:45:16 -05:00
Ryan Ernst
835994a582 Fix groupid and remove more legacy files 2015-11-07 01:11:23 -08:00
Ryan Ernst
afe6fe8fa2 Remove outdated dep exclusion 2015-11-06 14:46:19 -08:00
Ryan Ernst
867f496ac8 Build: Switch mapper attachments to gradle
This change switches the plugin to use gradle as the build system, and
updates the master branch to track elasticsearch master.
2015-11-06 14:07:57 -08:00