mirror of
https://github.com/wazuh/wazuh-indexer.git
synced 2025-12-10 00:28:05 -06:00
The protobuf-java leaks through client library dependencies (#16254)
* The protobuf-java leaks through client library dependencies Signed-off-by: Andriy Redko <andriy.redko@aiven.io> * Address code review comments Signed-off-by: Andriy Redko <andriy.redko@aiven.io> --------- Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
This commit is contained in:
parent
a09750a585
commit
68e3e45a8e
@ -68,6 +68,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
- Fix race condition in node-join and node-left ([#15521](https://github.com/opensearch-project/OpenSearch/pull/15521))
|
||||
- Streaming bulk request hangs ([#16158](https://github.com/opensearch-project/OpenSearch/pull/16158))
|
||||
- Fix warnings from SLF4J on startup when repository-s3 is installed ([#16194](https://github.com/opensearch-project/OpenSearch/pull/16194))
|
||||
- Fix protobuf-java leak through client library dependencies ([#16254](https://github.com/opensearch-project/OpenSearch/pull/16254))
|
||||
|
||||
### Security
|
||||
|
||||
|
||||
@ -50,7 +50,9 @@ restResources {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(':server')
|
||||
api(project(':server')) {
|
||||
exclude group: 'com.google.protobuf'
|
||||
}
|
||||
api project(':client:rest')
|
||||
api project(':modules:mapper-extras')
|
||||
api project(':modules:parent-join')
|
||||
|
||||
@ -8,7 +8,6 @@
|
||||
|
||||
package org.opensearch.rest.action.document;
|
||||
|
||||
import com.google.protobuf.ExperimentalApi;
|
||||
import org.opensearch.action.ActionRequestValidationException;
|
||||
import org.opensearch.action.DocWriteRequest;
|
||||
import org.opensearch.action.bulk.BulkItemResponse;
|
||||
@ -18,6 +17,7 @@ import org.opensearch.action.bulk.BulkShardRequest;
|
||||
import org.opensearch.action.support.ActiveShardCount;
|
||||
import org.opensearch.client.Requests;
|
||||
import org.opensearch.client.node.NodeClient;
|
||||
import org.opensearch.common.annotation.ExperimentalApi;
|
||||
import org.opensearch.common.collect.Tuple;
|
||||
import org.opensearch.common.settings.Settings;
|
||||
import org.opensearch.common.unit.TimeValue;
|
||||
@ -59,7 +59,7 @@ import static org.opensearch.rest.RestRequest.Method.PUT;
|
||||
* { "type1" : { "field1" : "value1" } }
|
||||
* </pre>
|
||||
*
|
||||
* @opensearch.api
|
||||
* @opensearch.experimental
|
||||
*/
|
||||
@ExperimentalApi
|
||||
public class RestBulkStreamingAction extends BaseRestHandler {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user