OpenSearch/client
Lee Hinman 8e8fdc4f0e
Decouple XContentBuilder from BytesReference (#28972)
* Decouple XContentBuilder from BytesReference

This commit removes all mentions of `BytesReference` from `XContentBuilder`.
This is needed so that we can completely decouple the XContent code and move it
into its own dependency.

While this change appears large, it is due to two main changes, moving
`.bytes()` and `.string()` out of XContentBuilder itself into static methods
`BytesReference.bytes` and `Strings.toString` respectively. The rest of the
change is code reacting to these changes (the majority of it in tests).

Relates to #28504
2018-03-14 13:47:57 -06:00
..
benchmark Upgrade Gradle Shadow plugin to 2.0.2 2017-12-29 10:57:11 +01:00
client-benchmark-noop-api-plugin Cross Cluster Search: make remote clusters optional (#27182) 2017-11-21 11:41:47 +01:00
rest [TEST] replace randomAsciiAlphanumOfLengthBetween with randomAsciiLettersOfLengthBetween 2018-02-21 16:36:04 +01:00
rest-high-level Decouple XContentBuilder from BytesReference (#28972) 2018-03-14 13:47:57 -06:00
sniffer Introduce elasticsearch-core jar (#28191) 2018-01-15 09:59:01 -07:00
test Introduce elasticsearch-core jar (#28191) 2018-01-15 09:59:01 -07:00
transport Add rank-eval module to transport client and HL client dependencies 2017-12-13 18:05:43 +01:00