OpenSearch/plugins
Nik Everett a95d4f4ee7 Add Location header and improve REST testing
This adds a header that looks like `Location: /test/test/1` to the
response for the index/create/update API. The requirement for the header
comes from https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

https://tools.ietf.org/html/rfc7231#section-7.1.2 claims that relative
URIs are OK. So we use an absolute path which should resolve to the
appropriate location.

Closes #19079

This makes large changes to our rest test infrastructure, allowing us
to write junit tests that test a running cluster via the rest client.
It does this by splitting ESRestTestCase into two classes:
* ESRestTestCase is the superclass of all tests that use the rest client
to interact with a running cluster.
* ESClientYamlSuiteTestCase is the superclass of all tests that use the
rest client to run the yaml tests. These tests are shared across all
official clients, thus the `ClientYamlSuite` part of the name.
2016-07-25 17:02:40 -04:00
..
analysis-icu Add Location header and improve REST testing 2016-07-25 17:02:40 -04:00
analysis-kuromoji Add Location header and improve REST testing 2016-07-25 17:02:40 -04:00
analysis-phonetic Add Location header and improve REST testing 2016-07-25 17:02:40 -04:00
analysis-smartcn Add Location header and improve REST testing 2016-07-25 17:02:40 -04:00
analysis-stempel Add Location header and improve REST testing 2016-07-25 17:02:40 -04:00
discovery-azure-classic Add Location header and improve REST testing 2016-07-25 17:02:40 -04:00
discovery-ec2 Add Location header and improve REST testing 2016-07-25 17:02:40 -04:00
discovery-gce Add Location header and improve REST testing 2016-07-25 17:02:40 -04:00
ingest-attachment Add Location header and improve REST testing 2016-07-25 17:02:40 -04:00
ingest-geoip Add Location header and improve REST testing 2016-07-25 17:02:40 -04:00
ingest-user-agent Add Location header and improve REST testing 2016-07-25 17:02:40 -04:00
jvm-example Add Location header and improve REST testing 2016-07-25 17:02:40 -04:00
lang-javascript Add Location header and improve REST testing 2016-07-25 17:02:40 -04:00
lang-python Add Location header and improve REST testing 2016-07-25 17:02:40 -04:00
mapper-attachments Add Location header and improve REST testing 2016-07-25 17:02:40 -04:00
mapper-murmur3 Add Location header and improve REST testing 2016-07-25 17:02:40 -04:00
mapper-size Add Location header and improve REST testing 2016-07-25 17:02:40 -04:00
repository-azure Add Location header and improve REST testing 2016-07-25 17:02:40 -04:00
repository-gcs Add Location header and improve REST testing 2016-07-25 17:02:40 -04:00
repository-hdfs Add Location header and improve REST testing 2016-07-25 17:02:40 -04:00
repository-s3 Add Location header and improve REST testing 2016-07-25 17:02:40 -04:00
store-smb Add Location header and improve REST testing 2016-07-25 17:02:40 -04:00
build.gradle Revert "Build: Switch to maven-publish plugin" 2016-03-18 17:22:25 -07:00