OpenSearch/libs
Ryan Ernst 3b688bfee5
Add license feature usage api (#59342) (#59571)
This commit adds a new api to track when gold+ features are used within
x-pack. The tracking is done internally whenever a feature is checked
against the current license. The output of the api is a list of each
used feature, which includes the name, license level, and last time it
was used. In addition to a unit test for the tracking, a rest test is
added which ensures starting up a default configured node does not
result in any features registering as used.

There are a couple features which currently do not work well with the
tracking, as they are checked in a manner that makes them look always
used. Those features will be fixed in followups, and in this PR they are
omitted from the feature usage output.
2020-07-14 14:34:59 -07:00
..
cli Replace compile configuration usage with api (7.x backport) (#58721) 2020-06-30 15:57:41 +02:00
core Add license feature usage api (#59342) (#59571) 2020-07-14 14:34:59 -07:00
dissect Remove deprecated usage of testCompile configuration (#57921) (#58083) 2020-06-14 22:30:44 +02:00
geo Remove deprecated usage of testCompile configuration (#57921) (#58083) 2020-06-14 22:30:44 +02:00
grok Replace compile configuration usage with api (7.x backport) (#58721) 2020-06-30 15:57:41 +02:00
nio Replace compile configuration usage with api (7.x backport) (#58721) 2020-06-30 15:57:41 +02:00
plugin-classloader Use task avoidance with forbidden apis (#55034) 2020-04-15 13:27:53 -07:00
secure-sm Remove deprecated usage of testCompile configuration (#57921) (#58083) 2020-06-14 22:30:44 +02:00
ssl-config Replace compile configuration usage with api (7.x backport) (#58721) 2020-06-30 15:57:41 +02:00
x-content Improve role cache efficiency for API key roles (#58156) (#59397) 2020-07-13 22:58:11 +10:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00