Skip to content

Commit 3210e33

Browse files
Merge branch 'opensearch-project:main' into seg-rep/checkpoint-publish
2 parents 37f49d2 + 741445a commit 3210e33

File tree

1,559 files changed

+6909
-2284
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,559 files changed

+6909
-2284
lines changed

MAINTAINERS.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
## Maintainers
1+
- [Current Maintainers](#current-maintainers)
2+
- [Emeritus](#emeritus)
3+
4+
## Current Maintainers
25

36
| Maintainer | GitHub ID | Affiliation |
47
| --------------- | --------- | ----------- |
@@ -8,12 +11,10 @@
811
| Andriy Redko | [reta](https://github.com/reta) | Aiven |
912
| Charlotte Henkle | [CEHENKLE](https://github.com/CEHENKLE) | Amazon |
1013
| Daniel "dB." Doubrovkine | [dblock](https://github.com/dblock) | Amazon |
11-
| Gopala Krishna Ambareesh | [krishna-ggk](https://github.com/krishna-ggk) |Amazon |
1214
| Himanshu Setia | [setiah](https://github.com/setiah) | Amazon |
13-
| Itiyama Sadana | [itiyamas](https://github.com/itiyamas) | Amazon |
1415
| Kartik Ganesh | [kartg](https://github.com/kartg) | Amazon |
16+
| Kunal Kotwani | [kotwanikunal](https://github.com/kotwanikunal) | Amazon |
1517
| Marc Handalian | [mch2](https://github.com/mch2) | Amazon |
16-
| Megha Sai Kavikondala | [meghasaik](https://github.com/meghasaik) | Amazon |
1718
| Nick Knize | [nknize](https://github.com/nknize) | Amazon |
1819
| Owais Kazi | [owaiskazi19](https://github.com/owaiskazi19) | Amazon |
1920
| Rabi Panda | [adnapibar](https://github.com/adnapibar) | Amazon |
@@ -23,7 +24,12 @@
2324
| Shweta Thareja |[shwetathareja](https://github.com/shwetathareja) | Amazon |
2425
| Tianli Feng | [tlfeng](https://github.com/tlfeng) | Amazon |
2526
| Vacha Shah | [VachaShah](https://github.com/VachaShah) | Amazon |
26-
| Vengadanathan Srinivasan | [vengadanathan-s](https://github.com/vengadanathan-s) | Amazon |
2727
| Xue Zhou | [xuezhou25](https://github.com/xuezhou25) | Amazon |
2828

29+
## Emeritus
30+
31+
| Maintainer | GitHub ID | Affiliation |
32+
| --------------- | --------- | ----------- |
33+
| Megha Sai Kavikondala | [meghasaik](https://github.com/meghasaik) | Amazon |
34+
2935
[This document](https://github.com/opensearch-project/.github/blob/main/MAINTAINERS.md) explains what maintainers do in this repo, and how they should be doing it. If you're interested in contributing, see [CONTRIBUTING](CONTRIBUTING.md).

build.gradle

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ plugins {
4848
id 'lifecycle-base'
4949
id 'opensearch.docker-support'
5050
id 'opensearch.global-build-info'
51-
id "com.diffplug.spotless" version "6.4.2" apply false
51+
id "com.diffplug.spotless" version "6.5.1" apply false
5252
id "org.gradle.test-retry" version "1.3.2" apply false
5353
id "test-report-aggregation"
5454
id 'jacoco-report-aggregation'
@@ -278,6 +278,7 @@ allprojects {
278278
// see https://discuss.gradle.org/t/add-custom-javadoc-option-that-does-not-take-an-argument/5959
279279
javadoc.options.encoding = 'UTF8'
280280
javadoc.options.addStringOption('Xdoclint:all,-missing', '-quiet')
281+
javadoc.options.tags = ["opensearch.internal", "opensearch.api", "opensearch.experimental"]
281282
}
282283

283284
// support for reproducible builds
@@ -387,7 +388,7 @@ gradle.projectsEvaluated {
387388
}
388389
}
389390
}
390-
391+
391392
dependencies {
392393
subprojects.findAll { it.pluginManager.hasPlugin('java') }.forEach {
393394
testReportAggregation it
@@ -413,7 +414,7 @@ subprojects {
413414
// eclipse configuration
414415
allprojects {
415416
apply plugin: 'eclipse'
416-
417+
417418
// Name all the non-root projects after their path so that paths get grouped together when imported into eclipse.
418419
if (path != ':') {
419420
eclipse.project.name = path
@@ -573,12 +574,12 @@ subprojects {
573574

574575
reporting {
575576
reports {
576-
testAggregateTestReport(AggregateTestReport) {
577+
testAggregateTestReport(AggregateTestReport) {
577578
testType = TestSuiteType.UNIT_TEST
578579
}
579580
}
580581
}
581582

582583
tasks.named(JavaBasePlugin.CHECK_TASK_NAME) {
583-
dependsOn tasks.named('testAggregateTestReport', TestReport)
584+
dependsOn tasks.named('testAggregateTestReport', TestReport)
584585
}

buildSrc/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ dependencies {
122122
testFixturesApi "com.carrotsearch.randomizedtesting:randomizedtesting-runner:${props.getProperty('randomizedrunner')}"
123123
testFixturesApi gradleApi()
124124
testFixturesApi gradleTestKit()
125-
testImplementation 'com.github.tomakehurst:wiremock-jre8-standalone:2.32.0'
125+
testImplementation 'com.github.tomakehurst:wiremock-jre8-standalone:2.33.2'
126126
testImplementation "org.mockito:mockito-core:${props.getProperty('mockito')}"
127127
integTestImplementation('org.spockframework:spock-core:2.1-groovy-3.0') {
128128
exclude module: "groovy"

distribution/packages/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ tasks.register('buildDeb', Deb) {
355355
}
356356

357357
tasks.register('buildNoJdkDeb', Deb) {
358-
configure(commonDebConfig(true, 'x64'))
358+
configure(commonDebConfig(false, 'x64'))
359359
}
360360

361361
Closure commonRpmConfig(boolean jdk, String architecture) {

gradle/missing-javadoc.gradle

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ configure([
162162
project(":qa:os"),
163163
project(":qa:wildfly"),
164164
project(":rest-api-spec"),
165-
project(":server"),
166165
project(":test:external-modules:test-delayed-aggs"),
167166
project(":test:fixtures:azure-fixture"),
168167
project(":test:fixtures:gcs-fixture"),
@@ -177,6 +176,14 @@ configure([
177176
}
178177
}
179178

179+
configure(project(":server")) {
180+
project.tasks.withType(MissingJavadocTask) {
181+
isExcluded = true
182+
// TODO: reenable after fixing missing javadocs
183+
javadocMissingLevel = "class"
184+
}
185+
}
186+
180187
class MissingJavadocTask extends DefaultTask {
181188
@InputFiles
182189
@SkipWhenEmpty
@@ -274,6 +281,10 @@ class MissingJavadocTask extends DefaultTask {
274281
if (!classpath.isEmpty()) {
275282
opts << [ '-classpath', classpath.asPath ]
276283
}
284+
285+
opts << [ '-tag', 'opensearch.experimental:a:WARNING: This API is experimental and might change in incompatible ways in the next release.' ]
286+
opts << [ '-tag', 'opensearch.internal:a:NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.' ]
287+
277288
opts << [ '-doclet', "org.opensearch.missingdoclet.MissingDoclet" ]
278289
opts << [ '-docletpath', docletpath.asPath ]
279290
opts << [ '--missing-level', javadocMissingLevel ]

plugins/analysis-ukrainian/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ opensearchplugin {
3737
dependencies {
3838
api "org.apache.lucene:lucene-analysis-morfologik:${versions.lucene}"
3939
api "org.carrot2:morfologik-stemming:2.1.8"
40-
api "org.carrot2:morfologik-fsa:2.1.8"
40+
api "org.carrot2:morfologik-fsa:2.1.9"
4141
api "ua.net.nlp:morfologik-ukrainian-search:4.9.1"
4242
}
4343

plugins/analysis-ukrainian/licenses/morfologik-fsa-2.1.8.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a12005eacfbbbe256fd4d41f80f6e3675d7e314e

plugins/ingest-attachment/build.gradle

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,26 @@ opensearchplugin {
3838
}
3939

4040
versions << [
41-
'tika' : '1.24.1',
42-
'pdfbox': '2.0.24',
43-
'poi' : '4.1.2',
41+
'tika' : '2.4.0',
42+
'pdfbox': '2.0.25',
43+
'poi' : '5.2.2',
4444
'mime4j': '0.8.3'
4545
]
4646

4747
dependencies {
4848
// mandatory for tika
4949
api "org.apache.tika:tika-core:${versions.tika}"
50-
// build against Jackson 2.9.5, but still works on our current version
5150
api "org.apache.tika:tika-parsers:${versions.tika}"
51+
// Required for the various document parsers
52+
api "org.apache.tika:tika-parsers-standard-package:${versions.tika}"
53+
// Required for language detection
54+
api "org.apache.tika:tika-langdetect-optimaize:${versions.tika}"
55+
// Optimaize libraries/dependencies
56+
runtimeOnly "com.optimaize.languagedetector:language-detector:0.6"
57+
runtimeOnly 'com.google.guava:guava:18.0'
58+
// Other dependencies
5259
api 'org.tukaani:xz:1.8'
53-
api 'commons-io:commons-io:2.7'
60+
api 'commons-io:commons-io:2.11.0'
5461
api "org.slf4j:slf4j-api:${versions.slf4j}"
5562

5663
// character set detection
@@ -70,9 +77,9 @@ dependencies {
7077
// OpenOffice
7178
api "org.apache.poi:poi-ooxml:${versions.poi}"
7279
api "org.apache.poi:poi:${versions.poi}"
73-
api "org.apache.poi:poi-ooxml-schemas:${versions.poi}"
80+
api "org.apache.poi:poi-ooxml-lite:${versions.poi}"
7481
api "commons-codec:commons-codec:${versions.commonscodec}"
75-
api 'org.apache.xmlbeans:xmlbeans:3.0.1'
82+
api 'org.apache.xmlbeans:xmlbeans:5.0.3'
7683
api 'org.apache.commons:commons-collections4:4.1'
7784
// MS Office
7885
api "org.apache.poi:poi-scratchpad:${versions.poi}"
@@ -82,7 +89,7 @@ dependencies {
8289
api "org.apache.james:apache-mime4j-core:${versions.mime4j}"
8390
api "org.apache.james:apache-mime4j-dom:${versions.mime4j}"
8491
// EPUB books
85-
api 'org.apache.commons:commons-lang3:3.9'
92+
api 'org.apache.commons:commons-lang3:3.12.0'
8693
// Microsoft Word files with visio diagrams
8794
api 'org.apache.commons:commons-math3:3.6.1'
8895
// POIs dependency
@@ -97,6 +104,8 @@ restResources {
97104

98105
tasks.named("dependencyLicenses").configure {
99106
mapping from: /apache-mime4j-.*/, to: 'apache-mime4j'
107+
mapping from: /tika-.*/, to: 'tika-parsers'
108+
mapping from: /poi-ooxml-.*/, to: 'poi-ooxml'
100109
}
101110

102111
forbiddenPatterns {
@@ -109,6 +118,13 @@ forbiddenPatterns {
109118

110119
thirdPartyAudit {
111120
ignoreMissingClasses()
121+
ignoreViolations(
122+
'com.google.common.cache.Striped64',
123+
'com.google.common.cache.Striped64$1',
124+
'com.google.common.cache.Striped64$Cell',
125+
'com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator',
126+
'com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator$1'
127+
)
112128
}
113129

114130
if (BuildParams.inFipsJvm) {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a2503f302b11ebde7ebc3df41daebe0e4eea3689

0 commit comments

Comments
 (0)