OpenSearch/libs
Alan Woodward d23112f441 Report parser name and location in XContent deprecation warnings (#53805)
It's simple to deprecate a field used in an ObjectParser just by adding deprecation
markers to the relevant ParseField objects. The warnings themselves don't currently
have any context - they simply say that a deprecated field has been used, but not
where in the input xcontent it appears. This commit adds the parent object parser
name and XContentLocation to these deprecation messages.

Note that the context is automatically stripped from warning messages when they
are asserted on by integration tests and REST tests, because randomization of
xcontent type during these tests means that the XContentLocation is not constant
2020-03-20 11:52:55 +00:00
..
cli Password-protected Keystore Feature Branch PR (#51123) (#51510) 2020-01-28 05:32:32 -05:00
core Improve IntelliJ IDE integration (#53747) 2020-03-19 11:43:33 -07:00
dissect Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
geo Geo shape query vs geo point backport (#53774) 2020-03-19 13:00:36 +01:00
grok Missing suffix for German Month "Juli" in Grok Pattern MONTH (#51579) (#51591) (#51863) 2020-02-04 08:25:24 -06:00
nio Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
plugin-classloader [Backport] Replace usages RandomizedTestingTask with built-in Gradle Test (#40978) (#40993) 2019-04-09 11:52:50 -07:00
secure-sm Add SecureSM support for newer IDEA versions (#49747) 2019-12-04 13:50:06 +01:00
ssl-config Enable tests in FIPS 140 in JDK 11 (#49485) 2020-01-27 11:14:52 +02:00
x-content Report parser name and location in XContent deprecation warnings (#53805) 2020-03-20 11:52:55 +00:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00