OpenSearch/modules/ingest-common
Alex Benusovich 5463294ec4 Fixed NPEs caused by requests without content. (#23497)
REST handlers that require a body will throw an an ElasticsearchParseException "request body required".
REST handlers that require a body OR source param will throw an ElasticsearchParseException "request body or source param required".
Replaced asserts in BulkRequest parsing code with a more descriptive IllegalArgumentException if the line contains an empty object.
Updated bulk REST test to verify an empty action line is rejected properly.
Updated BulkRequestTests with randomized testing for an empty action line.
Used try-with-resouces for XContentParser in AbstractBulkByQueryRestHandler.
2017-06-05 09:08:14 -06:00
..
licenses ingest: Move processors from core to ingest-common module. 2016-06-07 17:32:52 +02:00
src Fixed NPEs caused by requests without content. (#23497) 2017-06-05 09:08:14 -06:00
build.gradle ingest: merged o.e.ingest.core with o.e.ingest and in ingest-common module added o.e.ingest.common package 2016-06-21 09:24:00 +02:00