OpenSearch/x-pack/plugin/ilm/qa
Lee Hinman 5af66d79ef
Add SLM support to xpack usage and info APIs (#48149)
* Add SLM support to xpack usage and info APIs

This is a backport of #48096

This adds the missing xpack usage and info information into the
`/_xpack` and `/_xpack/usage` APIs. The output now looks like:

```
GET /_xpack/usage
{
  ...
  "slm" : {
    "available" : true,
    "enabled" : true,
    "policy_count" : 1,
    "policy_stats" : {
      "retention_runs" : 0,
      ...
    }
  }
```

and

```
GET /_xpack
{
  ...
  "features" : {
    ...
    "slm" : {
      "available" : true,
      "enabled" : true
    },
    ...
  }
}
```

Relates to #43663

* Fix missing license
2019-10-16 21:06:27 -06:00
..
multi-cluster Restrict which tasks can use testclusters (#45198) 2019-08-09 13:38:01 +03:00
multi-node Add SLM support to xpack usage and info APIs (#48149) 2019-10-16 21:06:27 -06:00
rest Mute "Test All Indexes Lifecycle Explain" (#47317) 2019-10-09 21:32:58 +04:00
with-security Add a test for SLM retention with security enabled (#47608) 2019-10-07 19:52:09 -06:00
build.gradle Remove unnecessary plugin application and project configuration (#45100) 2019-08-01 14:18:24 -07:00