Skip to content

Conversation

@kobelb
Copy link
Contributor

@kobelb kobelb commented May 28, 2020

FeatureUsageServiceSetup::register has been changed from register(featureName: string): void; to register(featureName: string, licenseType: LicenseType): void; so we can also return the license level.

Currently, this is using the featureName as a unique identifier, but it's also supposed to be human-readable. This is somewhat awkward, but it felt equally awkward to introduce a name in addition to an identifier, when both are intended to be unique... Differing opinions or suggestions are welcome!

Resolves #67682

@kobelb kobelb added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.9.0 labels May 28, 2020
@kobelb kobelb requested a review from a team as a code owner May 28, 2020 22:21
@kobelb
Copy link
Contributor Author

kobelb commented Jun 1, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Contributor

@joshdover joshdover left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM. I'm assuming at this point, we still don't have any consumers of this API within Kibana?

@kobelb
Copy link
Contributor Author

kobelb commented Jun 1, 2020

Not yet, #67526 would be the first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_note:skip Skip the PR/issue when compiling release notes v7.9.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update licensed feature usage API response format

4 participants