-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Reporting] Migrate server-side usage collector #67233
[Reporting] Migrate server-side usage collector #67233
Conversation
be8c4a3
to
c2f8aa4
Compare
const getLicense = async () => { | ||
return await licensing.license$ | ||
.pipe( | ||
map(({ isAvailable, type }) => ({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The FeaturesAvailable
type being implemented here carries over the shape of the data from the Legacy xpack_main. This is done to avoid needing extra changes for underlying code.
Pinging @elastic/kibana-reporting-services (Team:Reporting Services) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@elasticmachine merge upstream |
(jenkins upgrade required killing all jobs) |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
* [Reporting] Migrate server/usage * fix import * polish * prefer inferring return type Co-authored-by: Elastic Machine <[email protected]>
* [Reporting] Migrate server/usage * fix import * polish * prefer inferring return type Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
Summary
Part of Reporting server-side migration from Legacy to Kibana Platform: #53898
This PR replaces a Legacy dependency called
xpack_main
from the Reporting usage collector and replaces it by getting license info from the Licensing plugin in Kibana Platform.Checklist
Delete any items that are not applicable to this PR.
For maintainers