[ML] Fixing licensing after server NP cutover#59275
Merged
jgowdyelastic merged 1 commit intoelastic:masterfrom Mar 4, 2020
Merged
[ML] Fixing licensing after server NP cutover#59275jgowdyelastic merged 1 commit intoelastic:masterfrom
jgowdyelastic merged 1 commit intoelastic:masterfrom
Conversation
Contributor
|
Pinging @elastic/ml-ui (:ml) |
Contributor
💚 Build SucceededTo update your PR or re-run it, just comment with: |
jgowdyelastic
added a commit
to jgowdyelastic/kibana
that referenced
this pull request
Mar 4, 2020
jgowdyelastic
added a commit
that referenced
this pull request
Mar 4, 2020
2 tasks
This was referenced Jun 25, 2020
This was referenced Aug 23, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A new version of #58853 which had to be reverted due to issues with licensing in functional tests.
Reenables the license checking for server and client sides after server side cutover (#58680)
A shared common
mlLicenseclass has been added which listens to the licensing updates from the licensing plugin.The server and client then have specialised derived classes which add on checks specific to their needs
Server side
Basic enabled endpoints:
/api/ml/fields_service/time_field_range/api/ml/file_data_visualizer/analyze_file/api/ml/file_data_visualizer/import/api/ml/_has_privileges/api/ml/ml_capabilities/api/ml/ml_node_count/api/ml/info/api/ml/data_visualizer/get_field_stats/{indexPatternTitle}/api/ml/data_visualizer/get_overall_stats/{indexPatternTitle}Client side:
hasLicenseExpiredandisFullLicensegeneral functions which are used in a few places throughout our UI.Also fixes the management plugin which was being disabled due to its licensing check.
Checklist
Delete any items that are not applicable to this PR.
For maintainers