Commit Graph

55623 Commits

Author SHA1 Message Date
dependabot[bot] 085cd70b8a
Bump org.gradle.test-retry from 1.3.2 to 1.4.0 (#3335)
Bumps org.gradle.test-retry from 1.3.2 to 1.4.0.

---
updated-dependencies:
- dependency-name: org.gradle.test-retry
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 11:45:31 -04:00
Tianli Feng 8460bcf2ec
Replace 'master' terminology with 'cluster manager' in 'plugins' directory (#3329)
* Replace 'master' terminology with 'cluster manager' in 'plugins' directory

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Replace master_node with cluster_manager_node in cluster.state API test

Signed-off-by: Tianli Feng <ftianli@amazon.com>
2022-05-16 08:46:39 -04:00
Tianli Feng 5a02949bbe
Replace 'master' terminology with 'cluster manager' in 'modules' directory (#3328)
* Replace 'master' terminology with 'cluster manager' in modules directory

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Replace 'master' with 'cluster_manager' in yaml rest test files

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Replace master_node with cluster_manager_node in cluster.state API test

Signed-off-by: Tianli Feng <ftianli@amazon.com>
2022-05-16 08:46:01 -04:00
Tianli Feng e2ad4ffbe9
Replace 'master' terminology with 'cluster manager' in 'qa' directory (#3330)
* Replace 'master' terminology with 'cluster manager' in 'qa' directory

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Replace master_node with cluster_manager_node in cluster.state API test

Signed-off-by: Tianli Feng <ftianli@amazon.com>
2022-05-16 08:45:17 -04:00
Andriy Redko 38fb1d9275
Add resizable search queue to OpenSearch (picking up #826) (#3207)
* Make search/write queue resizable

Signed-off-by: Ruizhen <ruizhen@amazon.com>

* Address PR comments

Signed-off-by: Ruizhen <ruizhen@amazon.com>

* Refactoring resizable queue implementation

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

* Addressing code review comments

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

* Addressing code review comments

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

* Addressing code review comments

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

Co-authored-by: Ruizhen <ruizhen@amazon.com>
2022-05-16 08:37:41 -04:00
Andriy Redko e074395452
Added Adoptium JDK8 support and updated DistroTestPlugin JDK version used by Gradle (#3324)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2022-05-13 16:39:14 -05:00
Andriy Redko 065e3cb80b
Update generated ANTLR lexer/parser to match runtime version (#3297)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2022-05-13 11:56:51 -05:00
Nick Knize 3aef125d0d
[Javadocs] add remaining internal classes and reenable missingJavadoc on server (#3296)
Adds the remaining javadocs to internal classes and reenables the missingJavadoc
gradle task on the server module. From here forward if class level javadocs are
missing in the server module, gradle check will fail!

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-12 14:29:58 -05:00
Tianli Feng 10bff0c9f5
Replace internal usages of 'master' term in 'test' directory (#3283)
* Replace internal usages of 'master' terminology in server/src/internalClusterTest directory

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Replace 'master' terminology with 'cluster manager' in test directory

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Replace 'master' terminology with 'cluster manager' in server/src/internalClusterTest directory

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Adjust format by spotlessApply task

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Replace 'master' terminology with 'cluster manager' in test directory

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Adjust format by spotlessApply task

Signed-off-by: Tianli Feng <ftianli@amazon.com>
2022-05-11 19:34:57 -04:00
Andriy Redko 677915dc00
Bootstrap should implement a denylist of Java versions (ranges) (#3164)
* Bootstrap should implement a denylist of Java versions (ranges)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

* Addressing code review comments

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2022-05-11 15:33:48 -07:00
Nick Knize ad7ce4cd44
[Javadocs] add to o.o.common (#3289)
Add javadocs to top level and internal classes in the org.opensearch.common
package.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-11 15:58:10 -05:00
Nick Knize 86f8dd65a4
[Javadocs] add to internal classes in o.o.http, indices, and search (#3288)
Adds javadocs to internal classes in org.opensearch.http, indices, and search
packages.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-11 13:52:28 -04:00
Nick Knize b78176afef
[Javadocs] add to o.o.action, index, and transport (#3277)
Adds javadocs to internal classes in org.opensearch.action, index, and transport
packages.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-10 17:18:07 -05:00
Andriy Redko a3030b5606
Update bundled JDK to 17.0.3+7 (#3093)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2022-05-10 14:48:36 -04:00
dependabot[bot] 675636fac2
Bump morfologik-stemming from 2.1.8 to 2.1.9 in /plugins/analysis-ukrainian (#3249)
* Bump morfologik-stemming in /plugins/analysis-ukrainian

Bumps [morfologik-stemming](https://github.com/morfologik/morfologik-stemming) from 2.1.8 to 2.1.9.
- [Release notes](https://github.com/morfologik/morfologik-stemming/releases)
- [Changelog](https://github.com/morfologik/morfologik-stemming/blob/master/CHANGES.txt)
- [Commits](https://github.com/morfologik/morfologik-stemming/compare/2.1.8...2.1.9)

---
updated-dependencies:
- dependency-name: org.carrot2:morfologik-stemming
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2022-05-10 14:06:16 -04:00
Andriy Redko f5c0b30a8e
Allow to configure POM for ZIP publication (#3252)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2022-05-10 12:18:36 -04:00
dependabot[bot] 132eabd675
Bump xz from 1.8 to 1.9 in /plugins/ingest-attachment (#3248)
* Bump xz from 1.8 to 1.9 in /plugins/ingest-attachment

Bumps xz from 1.8 to 1.9.

---
updated-dependencies:
- dependency-name: org.tukaani:xz
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2022-05-10 11:01:57 -05:00
Nick Knize 3b71ea6c1e
[Javadocs] add to o.o.search.rescore,searchafter,slice, sort, and suggest (#3264)
Adds class level javadocs to org.opensearch.search, and
org.opensearch.search.rescore, searchAfter, slice, sort, and suggest
subpackages.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-09 16:20:56 -07:00
Nick Knize 1118dcf372
[Javadocs] add to o.o.dfs,fetch,internal,lookup,profile, and query packages (#3261)
Adds class level javadocs to org.opensearch.dfs, fetch, internal, lookup,
profile, and query packages.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-09 14:05:59 -05:00
Nick Knize 625623f932
[Javadocs] add to o.o.search.aggs, builder, and collapse packages (#3254)
Adds class level javadocs to org.opensearch.search.aggregations, builder, and
collapse packages.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-09 11:20:19 -07:00
dependabot[bot] 7779078e15
Bump google-http-client-appengine from 1.35.0 to 1.41.8 in /plugins/repository-gcs (#3247)
* Bump google-http-client-appengine in /plugins/repository-gcs

Bumps [google-http-client-appengine](https://github.com/googleapis/google-http-java-client) from 1.35.0 to 1.41.8.
- [Release notes](https://github.com/googleapis/google-http-java-client/releases)
- [Changelog](https://github.com/googleapis/google-http-java-client/blob/v1.41.8/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-http-java-client/compare/v1.35.0...v1.41.8)

---
updated-dependencies:
- dependency-name: com.google.http-client:google-http-client-appengine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2022-05-09 11:19:30 -07:00
dependabot[bot] 586303c21f
Bump com.diffplug.spotless from 6.5.1 to 6.5.2 (#3244)
Bumps com.diffplug.spotless from 6.5.1 to 6.5.2.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-09 14:16:33 -04:00
dependabot[bot] 1edcd480c1
Bump zookeeper from 3.7.0 to 3.8.0 in /plugins/repository-hdfs (#3251)
* Bump zookeeper from 3.7.0 to 3.8.0 in /plugins/repository-hdfs

Bumps zookeeper from 3.7.0 to 3.8.0.

---
updated-dependencies:
- dependency-name: org.apache.zookeeper:zookeeper
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2022-05-09 14:16:14 -04:00
dependabot[bot] 3d8e54810f
Bump reactor-netty from 1.0.17 to 1.0.18 in /plugins/repository-azure (#3246)
* Bump reactor-netty from 1.0.17 to 1.0.18 in /plugins/repository-azure

Bumps [reactor-netty](https://github.com/reactor/reactor-netty) from 1.0.17 to 1.0.18.
- [Release notes](https://github.com/reactor/reactor-netty/releases)
- [Commits](https://github.com/reactor/reactor-netty/compare/v1.0.17...v1.0.18)

---
updated-dependencies:
- dependency-name: io.projectreactor.netty:reactor-netty
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2022-05-09 14:13:29 -04:00
Andriy Redko e615ac1e07
Fixing PublishTests tests (running against unclean build folders) (#3253)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2022-05-09 11:03:33 -07:00
Daniel Doubrovkine (dB.) 781fc6eb2e
Adding @Bukhtawar to OpenSearch maintainers. (#3231)
Signed-off-by: dblock <dblock@amazon.com>
2022-05-06 15:49:46 -04:00
Nick Knize 15161a8649
[Javadocs] add to o.o.rest, snapshots, and tasks packages (#3219)
Adds javadocs to org.opensearch.rest, snapshots, and tasks packages.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-06 11:03:01 -07:00
Nick Knize a7715ab6ce
[Javadocs] add to o.o.transport (#3220)
Adds javadocs to the org.opensearch.transport package.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-06 08:36:04 -05:00
Sarat Vemulapalli ba6dc5d28b
Fixing plugin installation URL to consume build qualifier (#3193)
* Fixing the installation URL to consume build qualifier

Signed-off-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>

* Fixing spotless

Signed-off-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>
2022-05-05 20:34:46 -04:00
Nick Knize 7b75fb425f
[Javadocs] add to o.o.index and indices (#3209)
Adds javadocs to org.opensearch.index and indices packages.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-05 17:06:48 -05:00
Prudhvi Godithi 2fe2e37a44
Gradle plugin `opensearch.pluginzip` Add implicit dependency. (#3189)
* Add implicit dependency

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Add implicit dependency

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Add implicit dependency

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Add implicit dependency

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Add implicit dependency

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Add implicit dependency

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Add dependsOn

Signed-off-by: pgodithi <pgodithi@amazon.com>
2022-05-05 17:10:21 -04:00
opensearch-trigger-bot[bot] c41b41140b
Added bwc version 1.3.3 (#3205)
Signed-off-by: GitHub <noreply@github.com>

Co-authored-by: opensearch-ci-bot <opensearch-ci-bot@users.noreply.github.com>
2022-05-05 16:19:04 -04:00
Kartik Ganesh 44573baff2
Moving RecoveryState.Index to a top-level class and renaming (#3075)
* Moving RecoveryState.Index to a top-level class and renaming

This class is a building block of replication and will be re-used between peer recovery and segment replication. Thus, the inner class has been extracted to a top-level class and moved to the replication.common package. It has been renamed to ReplicationLuceneIndex to better reflect what it represents. It has two dependent inner classes from RecoveryState that have also been moved along with it - these remain inner classes since they are not currently used anywhere else. The RecoveryFilesDetails class has been renamed to FilesDetails and the FileDetail class has been renamed to FileMetadata.

Signed-off-by: Kartik Ganesh <gkart@amazon.com>

* Incorporate PR comments

Signed-off-by: Kartik Ganesh <gkart@amazon.com>

* Revert Project_Default.xml

Signed-off-by: Kartik Ganesh <gkart@amazon.com>

* Update REST Action test to no longer mock a final class

Instead, the test now populates dummy data.

Signed-off-by: Kartik Ganesh <gkart@amazon.com>

* Removing mocking of ReplicationLuceneIndex in RecoverySourceHandlerTests

The class has been marked final, so it can no longer be mocked. Instead, the test class sets up the lucene index class by adding the smae file metadata that is set up for the store.

Signed-off-by: Kartik Ganesh <gkart@amazon.com>

* Configure @opensearch.internal as custom Javadoc tag

Signed-off-by: Kartik Ganesh <gkart@amazon.com>

* Revert "Configure @opensearch.internal as custom Javadoc tag"

This reverts commit 2077d76e421fc2ceea7c1c9714b6a1906a555a31.

Signed-off-by: Kartik Ganesh <gkart@amazon.com>
2022-05-05 12:22:47 -07:00
Andrew Ross 6003921ce7
Add release notes for 1.3.2 (#3202)
Signed-off-by: Andrew Ross <andrross@amazon.com>
2022-05-05 11:16:29 -07:00
dependabot[bot] bce7f49944
Bump HdrHistogram from 2.1.9 to 2.1.12 in /server (#2135)
* Bump HdrHistogram from 2.1.9 to 2.1.12 in /server

Bumps [HdrHistogram](https://github.com/HdrHistogram/HdrHistogram) from 2.1.9 to 2.1.12.
- [Release notes](https://github.com/HdrHistogram/HdrHistogram/releases)
- [Commits](https://github.com/HdrHistogram/HdrHistogram/compare/HdrHistogram-2.1.9...HdrHistogram-2.1.12)

---
updated-dependencies:
- dependency-name: org.hdrhistogram:HdrHistogram
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

* Update test to match new behavior of HdrHistogram

There was a [change in behavior in HdrHistogram][1] that causes the
tests to fail with the new version. The fix here is to add another value
in the test data set for the failing test, which has the result of
making both versions of HdrHistogram agree on the percentile values.

[1]: 5c7226c4ff

Signed-off-by: Andrew Ross <andrross@amazon.com>

* Remove unnecessary exclusion on third party audit

Signed-off-by: Andrew Ross <andrross@amazon.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Ross <andrross@amazon.com>
2022-05-05 11:30:12 -05:00
Nick Knize 741445a574
[Remove] TypeFieldMapper (#3196)
Removes last trace of TypeFieldMapper since types have been removed and
NestedPathFieldMapper is now available.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-05 09:35:41 -05:00
dependabot[bot] 112a108246
Bump commons-lang3 from 3.9 to 3.12.0 in /plugins/ingest-attachment (#3190)
* Bump commons-lang3 from 3.9 to 3.12.0 in /plugins/ingest-attachment

Bumps commons-lang3 from 3.9 to 3.12.0.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-lang3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2022-05-04 16:15:30 -07:00
Nick Knize 14704b30ca
[Javadocs] add to o.o.monitor,persistance,plugins,repo,script,threadpool,usage,watcher (#3186)
Adds javadocs to classes in the org.opensearch.monitor, persistence, plugins,
repository, script, threadpool, usage, and watcher packages.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-04 15:21:35 -07:00
dependabot[bot] 2e53f9a1b8
Bump google-api-client from 1.30.10 to 1.34.0 in /plugins/repository-gcs (#3161)
* Bump google-api-client from 1.30.10 to 1.34.0 in /plugins/repository-gcs

Bumps [google-api-client](https://github.com/googleapis/google-api-java-client) from 1.30.10 to 1.34.0.
- [Release notes](https://github.com/googleapis/google-api-java-client/releases)
- [Changelog](https://github.com/googleapis/google-api-java-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-api-java-client/compare/v1.30.10...v1.34.0)

---
updated-dependencies:
- dependency-name: com.google.api-client:google-api-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

* Add missing classes to third party audit

Signed-off-by: Andrew Ross <andrross@amazon.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Ross <andrross@amazon.com>
2022-05-04 17:18:30 -05:00
dependabot[bot] 917f9c2699
Bump xmlbeans from 3.0.1 to 5.0.3 in /plugins/ingest-attachment (#2138)
* Bump xmlbeans from 3.0.1 to 5.0.3 in /plugins/ingest-attachment

Bumps xmlbeans from 3.0.1 to 5.0.3.

---
updated-dependencies:
- dependency-name: org.apache.xmlbeans:xmlbeans
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2022-05-04 14:44:49 -07:00
Nick Knize 4d3da00c12
[Javadocs] Add to o.o.disovery, env, gateway, http, ingest, lucene and node pkgs (#3185)
Adds javadocs to classes in the org.opensearch.discovery, env, gateway, http,
ingest, lucene, and node packages.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-04 14:32:01 -05:00
Nick Knize 6ca3278f96
[Javadocs] Add to remaining o.o.action classes (#3182)
Adds javadocs to remaining undocumented classes in o.o.action package.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-04 13:35:57 -05:00
Kartik Ganesh fc0f446ab2
Upgrading ingest-attachment dependencies (#3111)
* Upgrading Tika from 1.24.1 to 2.1.0 and bumping xmlbeans version

This major version upgrade requires an explicit dependency on tika-parsers-standard-package to import the parser implementations, and an update to the namespace of RTFParser. Also, LanguageIdentifier has been deprecated and replaced by LanguageDetector.

This change includes a bump in xmlbeans version from 3.0.1 to 3.1.0

Signed-off-by: Kartik Ganesh <gkart@amazon.com>

* Upgrade Tika libraries from 2.1.0 to 2.2.0

This also requires a update of Apache Commons-IO from 2.7 to 2.11.0

Signed-off-by: Kartik Ganesh <gkart@amazon.com>

* Upgrade Tika libraries from 2.2.0 to 2.2.1

Also update PDFBox to 2.0.25 as per Tika release notes

Signed-off-by: Kartik Ganesh <gkart@amazon.com>

* Upgraded Tika and xmlbeans libraries

Tika libraries have been upgraded from 2.2.1 to 2.3.0. xmlbeans is now a subproject of POI, so POI was upgraded from 4.1.2 to 5.2.2. With POI 5.x the ooxml-schemas library has been moved to ooxml-lite/ooxml-full. Since ooxml-schemas no longer exists, the LICENSE and NOTICE files in the licenses/ directory have been removed. Finally, xmlbeans has been updated from 3.1.0 to 5.0.2

Signed-off-by: Kartik Ganesh <gkart@amazon.com>

* (In progress) Added tika-langdetect

Signed-off-by: Kartik Ganesh <gkart@amazon.com>

* Upgrading tika libraries to 2.4.0

Signed-off-by: Kartik Ganesh <gkart@amazon.com>

* Switched from tika-langdetect to tika-langdetect-optimaize

To fix the license check, the mapping regex was expanded to tika-.*
This now means the tika-core LICENSE and NOTICE files are no longer needed.

Signed-off-by: Kartik Ganesh <gkart@amazon.com>

* (Work in progress) Switching AttachmentProcessor to use OptimaizeLangDetector

This is a concrete implementation of LanguageDetector. Using this requires bringing in the optimaize dependency.

Signed-off-by: Kartik Ganesh <gkart@amazon.com>

* Manually added LICENSE and NOTICE files for Optimaize language-detector

Signed-off-by: Kartik Ganesh <gkart@amazon.com>

* Move Optimaize dependency to runtimeOnly

Also bring in transitive Guava dependency. This requires manual addition of LICENSE and NOTICE files as with other plugins.

Signed-off-by: Kartik Ganesh <gkart@amazon.com>

* Fix Optimaize langDetector to load models first before detecting

Signed-off-by: Kartik Ganesh <gkart@amazon.com>

* Fallback logic, and test updates

Following the Tika library upgrade, some fallback logic is necessary:
1. "Author" is deprecated for MSOffice document parsing. It is recommended to use CREATOR from Tika Core Properties instead.
2. EPUB parsing no longer automatically extracts keywords. The convention to fall back to SUBJECT is now manually implemented in AttachmentProcessor

Finally, unit tests have been upgraded to account for non-deterministic language results across library upgrades.

Signed-off-by: Kartik Ganesh <gkart@amazon.com>

* Drop Guava version from 31.1 to 18.0

This is the version that Optimaize 0.6 depends on, and it allows for a smaller ignoreViolations list

Signed-off-by: Kartik Ganesh <gkart@amazon.com>

* Fix ingest-attachment integration test to assert correct language

Signed-off-by: Kartik Ganesh <gkart@amazon.com>
2022-05-04 09:51:59 -07:00
Nick Knize 40024fcf71
[Javadocs] add to o.o.cluster (#3170)
Adds javadocs to classes in the o.o.cluster package.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-03 22:18:43 -05:00
Nick Knize c76a4c9014
[Remove] ShrinkAction, ShardUpgradeRequest, UpgradeSettingsRequestBuilder (#3169)
Removes unused ShrinkAction, ShardUpgradeRequest, and
UpgradeSettingsRequestBuilder classes.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-03 22:18:28 -05:00
Nick Knize ad1c8038b0
[Javadocs] add to o.o.action.admin (#3155)
Adds javadocs to classes in package o.o.action.admin.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-03 22:16:48 -05:00
Nick Knize c13b679aad
[Javadocs] add to o.o.bootstrap, cli, and client (#3163)
Adds javadocs to o.o.bootstrap, o.o.cli, and o.o.client packages.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-03 14:44:59 -05:00
dependabot[bot] 1b2f154a92
Bump gax-httpjson from 0.62.0 to 0.101.0 in /plugins/repository-gcs (#3058)
* Bump gax-httpjson from 0.62.0 to 0.101.0 in /plugins/repository-gcs

Bumps [gax-httpjson](https://github.com/googleapis/gax-java) from 0.62.0 to 0.101.0.
- [Release notes](https://github.com/googleapis/gax-java/releases)
- [Changelog](https://github.com/googleapis/gax-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/gax-java/commits)

---
updated-dependencies:
- dependency-name: com.google.api:gax-httpjson
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

* Added ignoreMissingClasses configuration for gax classes

Signed-off-by: Kartik Ganesh <gkart@amazon.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kartik Ganesh <gkart@amazon.com>
2022-05-03 10:09:55 -07:00
Nick Knize 5f531b366e
[Remove] AliasesExistAction (#3149)
With the removal of Transport Client AliasesExistAction is no longer needed and
is removed.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-03 12:05:41 -04:00
Nick Knize 15f035b479
[Remove] TypesExist Action (#3139)
The types exist transport action can be removed now that the TransportClient has
been removed and types support has been removed.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-03 10:26:37 -04:00