-
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
remove legacy kibana plugin #76064
remove legacy kibana plugin #76064
Changes from 5 commits
898369f
bb61e29
1742a5f
9a02fc9
c9a8a89
8014d60
a784054
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -231,6 +231,15 @@ export default () => | |
locale: Joi.string().default('en'), | ||
}).default(), | ||
|
||
// temporarily moved here from the (now deleted) kibana legacy plugin | ||
kibana: Joi.object({ | ||
enabled: Joi.boolean().default(true), | ||
index: Joi.string().default('.kibana'), | ||
autocompleteTerminateAfter: Joi.number().integer().min(1).default(100000), | ||
// TODO Also allow units here like in elasticsearch config once this is moved to the new platform | ||
autocompleteTimeout: Joi.number().integer().min(1).default(1000), | ||
}).default(), | ||
|
||
Comment on lines
+234
to
+242
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Some legacy code are still accessing these config properties from legacy. I moved them into the server's schema for now. This will have to be handled properly when we remove the legacy server totally. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can remove quite a few validations here, not in the current PR, for sure |
||
savedObjects: Joi.object({ | ||
maxImportPayloadBytes: Joi.number().default(10485760), | ||
maxImportExportSize: Joi.number().default(10000), | ||
|
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.
which team will be owning them? Both
input_control_vis
anddata
consume themThere 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.
Yea, cleaning up the legacy server's config may require some discussions. Fortunately this is not required to shut down the legacy plugin system