OpenSearch/plugins
Jason Tedor 577e6a5e14 Correct warning header to be compliant
The warning header used by Elasticsearch for delivering deprecation
warnings has a specific format (RFC 7234, section 5.5). The format
specifies that the warning header should be of the form

    warn-code warn-agent warn-text [warn-date]

Here, the warn-code is a three-digit code which communicates various
meanings. The warn-agent is a string used to identify the source of the
warning (either a host:port combination, or some other identifier). The
warn-text is quoted string which conveys the semantic meaning of the
warning. The warn-date is an optional quoted date that can be in a few
different formats.

This commit corrects the warning header within Elasticsearch to follow
this specification. We use the warn-code 299 which means a
"miscellaneous persistent warning." For the warn-agent, we use the
version of Elasticsearch that produced the warning. The warn-text is
unchanged from what we deliver today, but is wrapped in quotes as
specified (this is important as a problem that exists today is that
multiple warnings can not be split by comma to obtain the individual
warnings as the warnings might themselves contain commas). For the
warn-date, we use the RFC 1123 format.

Relates #23275
2017-02-27 12:14:21 -05:00
..
analysis-icu Upgrade to lucene-6.5.0-snapshot-f919485. (#23087) 2017-02-10 15:08:47 +01:00
analysis-kuromoji Upgrade to lucene-6.5.0-snapshot-f919485. (#23087) 2017-02-10 15:08:47 +01:00
analysis-phonetic Upgrade to lucene-6.5.0-snapshot-f919485. (#23087) 2017-02-10 15:08:47 +01:00
analysis-smartcn Upgrade to lucene-6.5.0-snapshot-f919485. (#23087) 2017-02-10 15:08:47 +01:00
analysis-stempel Upgrade to lucene-6.5.0-snapshot-f919485. (#23087) 2017-02-10 15:08:47 +01:00
analysis-ukrainian Upgrade to lucene-6.5.0-snapshot-f919485. (#23087) 2017-02-10 15:08:47 +01:00
discovery-azure-classic Correct warning header to be compliant 2017-02-27 12:14:21 -05:00
discovery-ec2 Correct warning header to be compliant 2017-02-27 12:14:21 -05:00
discovery-file Build: Rework integ test setup and shutdown to ensure stop runs when desired (#23304) 2017-02-22 12:43:15 -08:00
discovery-gce Add FileSystemUtil method to read 'file:/' URLs (#23020) 2017-02-07 10:24:22 -06:00
ingest-attachment Remove POTM file after merging with master branch 2017-02-03 16:20:15 +01:00
ingest-geoip [INGEST] Lazy load the geoip databases. 2017-02-24 08:52:27 +01:00
ingest-user-agent Build: Rework integ test setup and shutdown to ensure stop runs when desired (#23304) 2017-02-22 12:43:15 -08:00
jvm-example Build: Rework integ test setup and shutdown to ensure stop runs when desired (#23304) 2017-02-22 12:43:15 -08:00
mapper-murmur3 Remove much ceremony from parsing client yaml test suites (#22311) 2016-12-22 11:00:34 -05:00
mapper-size [TEST] don't check exact size in mapper-size yaml test 2017-02-27 12:27:03 +01:00
repository-azure Build: Rework integ test setup and shutdown to ensure stop runs when desired (#23304) 2017-02-22 12:43:15 -08:00
repository-gcs Remove connect SocketPermissions from core (#22797) 2017-02-03 09:39:56 -06:00
repository-hdfs Test: Fix hdfs test fixture setup on windows 2017-02-23 11:20:41 -08:00
repository-s3 Correct warning header to be compliant 2017-02-27 12:14:21 -05:00
store-smb Fold InternalSearchHits and friends into their interfaces (#23042) 2017-02-08 14:40:08 +01:00
build.gradle Plugins: Include license and notice files in zip (#23191) 2017-02-15 11:23:12 -08:00