OpenSearch/client/rest-high-level
Julie Tibshirani ae8308252b
Ensure we emit a warning when using the deprecated 'template' field. (#50831)
Since 6.0, the 'template' field has been deprecated in put template requests in
favour of index_patterns. Previously, the PutIndexTemplateRequest would accept
the 'template' field in its 'source' methods and silently convert it to
'index_patterns'. This meant that users specifying 'template' in the source
would not receive a deprecation warning from the server.

This PR makes a small change to no longer silently convert 'template' to
'index_patterns', which ensures that users receive a deprecation warning.

Follow-up to #49460.
2020-01-10 09:26:53 -08:00
..
src Ensure we emit a warning when using the deprecated 'template' field. (#50831) 2020-01-10 09:26:53 -08:00
build.gradle [7.x] Add ILM histore store index (#50287) (#50345) 2019-12-20 12:33:36 -07:00
roles.yml Fix security origin for TokenService#findActiveTokensFor... (#47418) (#48280) 2019-10-21 13:15:05 +03:00
testnode.crt HLRC: Get SSL Certificates API (#34135) 2018-10-15 17:20:34 +01:00
testnode.jks HLRC: Get SSL Certificates API (#34135) 2018-10-15 17:20:34 +01:00