OpenSearch/x-pack/plugin/ilm
Lee Hinman 91988c7c26 Throw error retrieving non-existent SLM policy (#47679)
Previously when retrieving an SLM policy it would always return a 200
with `{}` in the body, even if the policy did not exist. This changes
that behavior to throw an error (similar to our other APIs) if a
policy doesn't exist.

This also adds a basic CRUD yml test for the behavior.

Resolves #47664
2019-10-07 19:54:04 -06:00
..
qa Throw error retrieving non-existent SLM policy (#47679) 2019-10-07 19:54:04 -06:00
src Throw error retrieving non-existent SLM policy (#47679) 2019-10-07 19:54:04 -06:00
build.gradle Add retention to Snapshot Lifecycle Management (backport of #4… (#46506) 2019-09-10 09:08:09 -06:00