Skip to content

Commit

Permalink
[WIP] Ingest Attachement: Upgrade tika to v1.19.1 (#33896)
Browse files Browse the repository at this point in the history
Upgrades Tika to 1.19.1 and relevant transitive dependencies

Resolves: #31456, #31305
  • Loading branch information
jkakavas committed Oct 12, 2018
1 parent 2a22ce7 commit 081597f
Show file tree
Hide file tree
Showing 29 changed files with 181 additions and 177 deletions.
326 changes: 166 additions & 160 deletions plugins/ingest-attachment/build.gradle

Large diffs are not rendered by default.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
94919d81969c67c5894646338bf10fbc35f5a946

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
32c9a9afe84eca86a3b0b3c66a956ced249ceade

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1191f9f2bc0c47a8cce69193feb1ff0a8bcb37d5
1 change: 1 addition & 0 deletions plugins/ingest-attachment/licenses/fontbox-2.0.12.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
566fd1d6b25012bb82078da08b82e6d0ba8c884a
1 change: 0 additions & 1 deletion plugins/ingest-attachment/licenses/fontbox-2.0.9.jar.sha1

This file was deleted.

1 change: 0 additions & 1 deletion plugins/ingest-attachment/licenses/jempbox-1.8.13.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions plugins/ingest-attachment/licenses/jempbox-1.8.16.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1f41de81768ef84ca2d8cda4cb79e9272c8ee966
1 change: 1 addition & 0 deletions plugins/ingest-attachment/licenses/pdfbox-2.0.12.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a7311cd267c19e1ba8154b076a63d29537154784
1 change: 0 additions & 1 deletion plugins/ingest-attachment/licenses/pdfbox-2.0.9.jar.sha1

This file was deleted.

1 change: 0 additions & 1 deletion plugins/ingest-attachment/licenses/poi-3.17.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions plugins/ingest-attachment/licenses/poi-4.0.0.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7ddb9b983ed682c93a986e8bb596d5935b13086c
1 change: 0 additions & 1 deletion plugins/ingest-attachment/licenses/poi-ooxml-3.17.jar.sha1

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f3fa9c2bd64eb3ec15378de960a07d077ae5b26d

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
125f9ccd2cf652fa4169b1c30e9023362e23324f

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1038d3bb1ec34e93c184b4c5b690e2f51c6f7a60
1 change: 0 additions & 1 deletion plugins/ingest-attachment/licenses/tika-core-1.18.jar.sha1

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c1f075aa01586c2c28a249ad60bcfb733b69b866

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
06d45a8683a7479f0e0d9d252f834d0ae44abd6b
1 change: 0 additions & 1 deletion plugins/ingest-attachment/licenses/xmlbeans-2.6.0.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions plugins/ingest-attachment/licenses/xmlbeans-3.0.1.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
50d94da791ab1e799a11d6f82410fd7d49f402ca
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

import org.apache.commons.io.IOUtils;
import org.elasticsearch.ElasticsearchParseException;
import org.elasticsearch.bootstrap.JavaVersion;
import org.elasticsearch.ingest.IngestDocument;
import org.elasticsearch.ingest.Processor;
import org.elasticsearch.ingest.RandomDocumentPicks;
Expand Down Expand Up @@ -297,7 +296,6 @@ private Map<String, Object> parseDocument(String file, AttachmentProcessor proce
}

public void testIndexedChars() throws Exception {
assumeFalse("https://github.com/elastic/elasticsearch/issues/31305", JavaVersion.current().equals(JavaVersion.parse("11")));
processor = new AttachmentProcessor(randomAlphaOfLength(10), "source_field",
"target_field", EnumSet.allOf(AttachmentProcessor.Property.class), 19, false, null);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,10 @@ fi
}

@test "[$GROUP] install ingest-attachment plugin" {
# we specify the version on the poi-3.17.jar so that the test does
# we specify the version on the poi-4.0.0.jar so that the test does
# not spuriously pass if the jar is missing but the other poi jars
# are present
install_and_check_plugin ingest attachment bcprov-jdk15on-*.jar tika-core-*.jar pdfbox-*.jar poi-3.17.jar poi-ooxml-3.17.jar poi-ooxml-schemas-*.jar poi-scratchpad-*.jar
install_and_check_plugin ingest attachment bcprov-jdk15on-*.jar tika-core-*.jar pdfbox-*.jar poi-4.0.0.jar poi-ooxml-4.0.0.jar poi-ooxml-schemas-*.jar poi-scratchpad-*.jar
}

@test "[$GROUP] install ingest-geoip plugin" {
Expand Down

0 comments on commit 081597f

Please sign in to comment.