Skip to content

Commit d9c5755

Browse files
Update checksums
Signed-off-by: Prudhvi Godithi <[email protected]>
1 parent b05f9fb commit d9c5755

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

plugins/ingest-attachment/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ opensearchplugin {
3939

4040
versions << [
4141
'tika' : '3.2.2',
42-
'pdfbox': '2.0.31',
42+
'pdfbox': '3.0.5',
4343
'poi' : '5.4.1',
4444
'mime4j': '0.8.11'
4545
]
@@ -79,6 +79,7 @@ dependencies {
7979
// Adobe PDF
8080
api "org.apache.pdfbox:pdfbox:${versions.pdfbox}"
8181
api "org.apache.pdfbox:fontbox:${versions.pdfbox}"
82+
api "org.apache.pdfbox:pdfbox-io:${versions.pdfbox}"
8283
api "org.apache.pdfbox:jempbox:1.8.17"
8384
api "commons-logging:commons-logging:${versions.commonslogging}"
8485
// OpenOffice

plugins/ingest-attachment/src/main/plugin-metadata/plugin-security.policy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,6 @@ grant {
4343
permission java.lang.RuntimePermission "accessDeclaredMembers";
4444
// PDFBox checks for the existence of this class
4545
permission java.lang.RuntimePermission "accessClassInPackage.sun.java2d.cmm.kcms";
46+
permission java.io.FilePermission "/System/Library/Fonts/-", "read";
47+
permission java.io.FilePermission "/Library/Fonts/-", "read";
4648
};

plugins/ingest-attachment/src/test/resources/org/opensearch/ingest/attachment/test/.checksums

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"testWORD_1img.docx": "367e2ade13ca3c19bcd8a323e21d51d407e017ac",
44
"testMasterFooter.odp": "bcc59df70699c739423a50e362c722b81ae76498",
55
"testTXTNonASCIIUTF8.txt": "1ef514431ca8d838f11e99f8e4a0637730b77aa0",
6-
"EmbeddedOutlook.docx": "c544a6765c19ba11b0bf3edb55c79e1bd8565c6e",
6+
"EmbeddedOutlook.docx": "770c14c1f8d1cb3ff431a6ea7d0cbd9f5091f1f5",
77
"testWORD_override_list_numbering.docx": "4e892319b921322916225def763f451e4bbb4e16",
88
"testTextBoxes.key": "b01581d5bd2483ce649a1a1406136359f4b93167",
99
"testPPT_masterText.pptx": "9fee8337b76dc3e196f4554dcde22b9dd1c3b3e8",
@@ -64,9 +64,9 @@
6464
"testRTFTableCellSeparation2.rtf": "62782ca40ff0ed6c3ba90f8055ee724b44af203f",
6565
"testPagesHeadersFootersRomanLower.pages": "2410fc803907001eb39c201ad4184b243e271c6d",
6666
"headerPic.docx": "c704bb648feac7975dff1024a5f762325be7cbc2",
67-
"testHTMLNoisyMetaEncoding_4.html": "630e14e3495a78580c4e26fa3bbe3123ccf4fd8a",
67+
"testHTMLNoisyMetaEncoding_4.html": "83d08bacf04d72f04b9ac67df81e9e63a891d744",
6868
"testRTFBoldItalic.rtf": "0475d224078682cf3f9f3f4cbc14a63456c5a0d8",
69-
"test-outlook.msg": "1f202fc11a873e305d5b4d4607409f3f734065ec",
69+
"test-outlook.msg": "ef14d2bbbe167b5d3500dcab3950cfa22cd94665",
7070
"testRTFVarious.rtf": "bf6ea9cf57886e680c5e6743a66a12b950a09083",
7171
"testXHTML.html": "c6da900f81c1c550518e65d579d3dd62dd7c5c0c",
7272
"EmbeddedPDF.docx": "454476bdf4a968189a6f53e75c146382bf58a434",
@@ -101,13 +101,13 @@
101101
"testWORD_override_list_numbering.doc": "60e47a3e71ba08af20af96131d61740a1f0bafa3",
102102
"testPDF_twoAuthors.pdf": "c5f0296cc21f9ae99ceb649b561c55f99d7d9452",
103103
"testPDF_Version.10.x.pdf": "03b60dfc8c103dbabeedfd682e979f96dd8983a2",
104-
"testHTMLNoisyMetaEncoding_2.html": "630e14e3495a78580c4e26fa3bbe3123ccf4fd8a",
104+
"testHTMLNoisyMetaEncoding_2.html": "83d08bacf04d72f04b9ac67df81e9e63a891d744",
105105
"testFooter.odt": "cd5d0fcbcf48d6f005d087c47d00e84f39bcc321",
106106
"testPPT.pptm": "71333ef84f7825d8ad6aba2ba993d04b4bab41c6",
107107
"testPPT_various.ppt": "399e27a9893284f106dc44f15b5e636454db681e",
108108
"testRTFListMicrosoftWord.rtf": "0303eb3e2f30530621a7a407847b759a3b21467e",
109109
"testWORD_bold_character_runs2.doc": "f10e562d8825ec2e17e0d9f58646f8084a658cfa",
110-
"boilerplate-whitespace.html": "a9372bc75d7d84cbcbb0bce68fcaed73ad8ef52c",
110+
"boilerplate-whitespace.html": "bf1fd3ffcf798afd688254bbc899e388eda9e546",
111111
"testEXCEL_95.xls": "20d9b9b0f3aecd28607516b4b837c8bab3524b6c",
112112
"testPPT_embedded_two_slides.pptx": "",
113113
"testPDF_bookmarks.pdf": "5fc486c443511452db4f1aa6530714c6aa49c831",
@@ -121,14 +121,14 @@
121121
"testPDF_Version.4.x.pdf": "03b60dfc8c103dbabeedfd682e979f96dd8983a2",
122122
"testBinControlWord.rtf": "ef858fbb7584ea7f92ffed8d0a08c1cc35ffee07",
123123
"testWORD_null_style.docx": "0be9dcfb83423c78a06af514ec21e4e7770ec48e",
124-
"test-outlook2003.msg": "bb3c35eb7e95d657d7977c1d3d52862734f9f329",
124+
"test-outlook2003.msg": "b9c21661a59254c8d6a9b665e28070757a354cbe",
125125
"testPDFVarious.pdf": "c66bbbacb10dd27430f7d0bed9518e75793cedae",
126-
"testHTMLNoisyMetaEncoding_3.html": "630e14e3495a78580c4e26fa3bbe3123ccf4fd8a",
126+
"testHTMLNoisyMetaEncoding_3.html": "83d08bacf04d72f04b9ac67df81e9e63a891d744",
127127
"testRTFCorruptListOverride.rtf": "116a782d02a7f25010a15cbbb189bf98e6b89855",
128128
"testEXCEL_custom_props.xls": "b5584d9b13ab1566ce539238dc75e7eb3449ba7f",
129129
"testPDF_Version.7.x.pdf": "03b60dfc8c103dbabeedfd682e979f96dd8983a2",
130130
"testPDFEmbeddingAndEmbedded.docx": "e7b648adb15cd16cdd84437c2b9524a8eeb213e4",
131-
"testHTMLNoisyMetaEncoding_1.html": "630e14e3495a78580c4e26fa3bbe3123ccf4fd8a",
131+
"testHTMLNoisyMetaEncoding_1.html": "83d08bacf04d72f04b9ac67df81e9e63a891d744",
132132
"testWORD_3imgs.doc": "818aa8c6c44dd78c49100c3c38e95abdf3812981",
133133
"testRTFEmbeddedLink.rtf": "2720ffb5ff3a6bbb2c5c1cb43fb4922362ed788a",
134134
"testKeynote.key": "11387b59fc6339bb73653fcbb26d387521b98ec9",
@@ -156,7 +156,7 @@
156156
"testWORD_custom_props.doc": "e7a737a5237a6aa9c6b3fc677eb8fa65c30d6dfe",
157157
"testPDF_Version.11.x.PDFA-1b.pdf": "71853c6197a6a7f222db0f1978c7cb232b87c5ee",
158158
"testAnnotations.pdf": "5f599e7916198540e1b52c3e472a525f50fd45f6",
159-
"tika434.html": "7d74122631f52f003a48018cc376026ccd8d984e",
159+
"tika434.html": "51cafe6636423e37c05e676cb1454e72961b8f04",
160160
"testPagesHeadersFootersAlphaLower.pages": "fc1d766908134ff4689fa63fa3e91c3e9b08d975",
161161
"testRTFRegularImages.rtf": "756b1db45cb05357ceaf9c8efcf0b76e3913e190",
162162
"testRTFUmlautSpaces2.rtf": "1fcd029357062241d74d789e93477c101ff24e3f",
@@ -166,7 +166,7 @@
166166
"testMasterSlideTable.key": "1d61e2fa3c3f3615500c7f72f62971391b9e9a2f",
167167
"testWORD_various.doc": "8cbdf1a4e0d78471eb90403612c4e92866acf0cb",
168168
"testEXCEL_textbox.xlsx": "1e81121e91e58a74d838e414ae0fc0055a4b4100",
169-
"big-preamble.html": "a9d759b46b6c6c1857d0d89c3a75ee2f3ace70c9",
169+
"big-preamble.html": "edecdb8304a31bca1a71faab2153fa133989e6d8",
170170
"testWORD.docx": "f72140bef19475e950e56084d1ab1cb926697b19",
171171
"testComment.rtf": "f6351d0f1f20c4ee0fff70adca6abbc6e638610e",
172172
"testRTFUnicodeUCNControlWordCharacterDoubling.rtf": "3e6f2f38682e38ffc96a476ca51bec2291a27fa7",
@@ -190,7 +190,7 @@
190190
"testRTFIgnoredControlWord.rtf": "1eb6a2f2fd32b1bb4227c0c02a35cb6027d9ec8c",
191191
"testComment.xls": "4de962f16452159ce302fc4a412b06a06cf9a0f6",
192192
"testPPT.ppsm": "71333ef84f7825d8ad6aba2ba993d04b4bab41c6",
193-
"boilerplate.html": "b3558f02c3179e4aeeb6057594d87bda79964e7b",
193+
"boilerplate.html": "f1e3c82a4f16f67590a5afe4b64d90d98330d216",
194194
"testEXCEL_embeded.xls": "",
195195
"testEXCEL.xlsx": "",
196196
"testPPT_2imgs.ppt": "9a68072ffcf171389e78cf8bc018c4b568a6202d",

0 commit comments

Comments
 (0)