mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Remove all kibana.yml deprecations from visEditors plugins (#112643)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
b303d0fecd
commit
dece5fd01d
5 changed files with 0 additions and 27 deletions
|
@ -12,9 +12,6 @@ import { configSchema, ConfigSchema } from '../config';
|
|||
|
||||
export const config: PluginConfigDescriptor<ConfigSchema> = {
|
||||
schema: configSchema,
|
||||
deprecations: ({ renameFromRoot }) => [
|
||||
renameFromRoot('metric_vis.enabled', 'vis_type_metric.enabled'),
|
||||
],
|
||||
};
|
||||
|
||||
export const plugin = () => ({
|
||||
|
|
|
@ -14,9 +14,6 @@ import { registerVisTypeTableUsageCollector } from './usage_collector';
|
|||
|
||||
export const config: PluginConfigDescriptor<ConfigSchema> = {
|
||||
schema: configSchema,
|
||||
deprecations: ({ renameFromRoot }) => [
|
||||
renameFromRoot('table_vis.enabled', 'vis_type_table.enabled'),
|
||||
],
|
||||
};
|
||||
|
||||
export const plugin = () => ({
|
||||
|
|
|
@ -12,9 +12,6 @@ import { configSchema, ConfigSchema } from '../config';
|
|||
|
||||
export const config: PluginConfigDescriptor<ConfigSchema> = {
|
||||
schema: configSchema,
|
||||
deprecations: ({ renameFromRoot }) => [
|
||||
renameFromRoot('tagcloud.enabled', 'vis_type_tagcloud.enabled'),
|
||||
],
|
||||
};
|
||||
|
||||
export const plugin = () => ({
|
||||
|
|
|
@ -13,20 +13,6 @@ import { VisTypeTimeseriesPlugin } from './plugin';
|
|||
export { VisTypeTimeseriesSetup } from './plugin';
|
||||
|
||||
export const config: PluginConfigDescriptor<VisTypeTimeseriesConfig> = {
|
||||
deprecations: ({ unused, renameFromRoot }) => [
|
||||
// In Kibana v7.8 plugin id was renamed from 'metrics' to 'vis_type_timeseries':
|
||||
renameFromRoot('metrics.enabled', 'vis_type_timeseries.enabled', { silent: true }),
|
||||
renameFromRoot('metrics.chartResolution', 'vis_type_timeseries.chartResolution', {
|
||||
silent: true,
|
||||
}),
|
||||
renameFromRoot('metrics.minimumBucketSize', 'vis_type_timeseries.minimumBucketSize', {
|
||||
silent: true,
|
||||
}),
|
||||
|
||||
// Unused properties which should be removed after releasing Kibana v8.0:
|
||||
unused('chartResolution'),
|
||||
unused('minimumBucketSize'),
|
||||
],
|
||||
schema: configSchema,
|
||||
};
|
||||
|
||||
|
|
|
@ -16,10 +16,6 @@ export const config: PluginConfigDescriptor<ConfigSchema> = {
|
|||
enableExternalUrls: true,
|
||||
},
|
||||
schema: configSchema,
|
||||
deprecations: ({ renameFromRoot }) => [
|
||||
renameFromRoot('vega.enableExternalUrls', 'vis_type_vega.enableExternalUrls'),
|
||||
renameFromRoot('vega.enabled', 'vis_type_vega.enabled'),
|
||||
],
|
||||
};
|
||||
|
||||
export function plugin(initializerContext: PluginInitializerContext) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue