OpenSearch/test/framework
Lee Hinman b4af451ec5
Remove BytesArray and BytesReference usage from XContentFactory (#29151)
* Remove BytesArray and BytesReference usage from XContentFactory

This removes the usage of `BytesArray` and `BytesReference` from
`XContentFactory`. Instead, a regular `byte[]` should be passed. To assist with
this a helper has been added to `XContentHelper` that will preserve the offset
and length from the underlying BytesReference.

This is part of ongoing work to separate the XContent parts from ES so they can
be factored into their own jar.

Relates to #28504
2018-03-20 11:52:26 -06:00
..
src Remove BytesArray and BytesReference usage from XContentFactory (#29151) 2018-03-20 11:52:26 -06:00
build.gradle Generalize BWC logic (#28505) 2018-02-09 14:55:10 -06:00