-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Support 'enterprise' license type #52273
Support 'enterprise' license type #52273
Conversation
Pinging @elastic/kibana-platform (Team:Platform) |
|
||
describe('check_license', () => { | ||
let mockLicenseInfo: XPackInfo; | ||
beforeEach(() => (mockLicenseInfo = {} as XPackInfo)); | ||
|
||
describe('license information is undefined', () => { | ||
beforeEach(() => (mockLicenseInfo = {} as XPackInfo)); | ||
beforeEach(() => (mockLicenseInfo = undefined as XPackInfo)); |
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.
I had to move the file to run it via jest runner. Mocha doesn't run * .ts
files, so the test was ignored.
💔 Build Failed
|
666c91f
to
4815cf3
Compare
💚 Build Succeeded |
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
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.
We have a lot of places where we list out the different license levels. It'd be great to consolidate these in the future to have a single source of truth.
@@ -17,7 +17,8 @@ export enum LICENSE_TYPE { | |||
standard = 20, |
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.
What is standard used for? Never seen that one.
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.
It is a cloud only license level (adds a few things on top of basic that are needed for ESS).
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.
Got it, thanks Peter.
@joshdover already in work #51818 (comment) |
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.
Reviewed Kibana App code, looks good to me.
added an instruction how to test |
@elastic/ml-ui I merged the latest changes. Let me know if there is something I can do |
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.
ML changes LGTM
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
* add enterprise license type to licensing plugin * add enterprise license to x-pack plugins * update uptime license list * improve naming in security plugin * update reporting licensing
Summary
Closes: #49474
Add
enterprise
license type.Enterprise license should be handled as a superset of the platinum license.
We can try to generate
enterprise
license in elasticsearch and use it for testing in Kibana.Although I don't know what we want to test here, that Kibana starts and the licensing plugin recognizes the license type? @peterschretlen
How to test:
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.[ ] This was checked for cross-browser compatibility, including a check against IE11[ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support[ ] Documentation was added for features that require explanation or tutorials[ ] This was checked for keyboard-only and screenreader accessibilityFor maintainers