OpenSearch/plugin/watcher
Lee Hinman c763a14132 Pass InputStream when creating XContent parser (elastic/x-pack-elasticsearch#4001)
* Pass InputStream when creating XContent parser

Rather than passing the raw `BytesReference` in when creating the xcontent
parser, this passes the StreamInput (which is an InputStream), this allows us to
decouple XContent from BytesReference.

This is the x-pack side of https://github.com/elastic/elasticsearch/pull/28754

* Use the streamInput variant, not sourceAsString

Original commit: elastic/x-pack-elasticsearch@dd5d8b1654
2018-02-23 15:22:28 -07:00
..
licenses More license file corrections 2018-01-18 16:34:25 -08:00
src Pass InputStream when creating XContent parser (elastic/x-pack-elasticsearch#4001) 2018-02-23 15:22:28 -07:00
build.gradle Build: Replace provided configuration with compileOnly (elastic/x-pack-elasticsearch#3868) 2018-02-09 11:30:43 -08:00