OpenSearch/x-pack/plugin
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
..
analytics Remove eclipse conditionals (#44075) 2019-10-03 11:55:00 +03:00
ccr Fail earlier Put Follow requests for closed leader indices (#47637) 2019-10-07 13:59:04 +02:00
core [7.x][ML] Additional outlier detection parameters (#47600) (#47669) 2019-10-07 18:21:33 +03:00
deprecation Add migration tool checks for `_field_names` disabling (#46972) 2019-09-25 10:15:10 +02:00
frozen-indices Remove eclipse conditionals (#44075) 2019-10-03 11:55:00 +03:00
graph Fix XPackPlugin usages in tests (#47252) 2019-10-02 12:36:02 +02:00
ilm Throw error retrieving non-existent SLM policy (#47679) 2019-10-07 19:54:04 -06:00
logstash Remove description from xpack feature sets (#43065) 2019-06-11 09:22:58 -07:00
mapper-flattened Remove eclipse conditionals (#44075) 2019-10-03 11:55:00 +03:00
ml [7.x][ML] Additional outlier detection parameters (#47600) (#47669) 2019-10-07 18:21:33 +03:00
monitoring Validating monitoring hosts setting while parsing (#47571) 2019-10-04 17:32:49 -04:00
rollup Convert most awaitBusy calls to assertBusy (#45794) (#47112) 2019-09-29 12:21:46 +01:00
search-business-rules Remove eclipse conditionals (#44075) 2019-10-03 11:55:00 +03:00
security Add 'create_doc' index privilege (#45806) (#47645) 2019-10-07 23:58:44 +11:00
spatial Remove eclipse conditionals (#44075) 2019-10-03 11:55:00 +03:00
sql SQL: Allow whitespaces in escape patterns (#47577) 2019-10-07 15:05:02 +02:00
src/test [7.x][ML] Additional outlier detection parameters (#47600) (#47669) 2019-10-07 18:21:33 +03:00
transform Convert most awaitBusy calls to assertBusy (#45794) (#47112) 2019-09-29 12:21:46 +01:00
vectors Fix XPackPlugin usages in tests (#47252) 2019-10-02 12:36:02 +02:00
voting-only-node Remove eclipse conditionals (#44075) 2019-10-03 11:55:00 +03:00
watcher Watcher - catch uncaught exception. (#47680) (#47695) 2019-10-07 15:45:45 -05:00
build.gradle Skip feature aware check on JDK 14 (#45928) 2019-08-23 17:38:15 -04:00