feat: mock plugins with real configs

so you no longer need to comment out xpack config in the kibana.dev.yml
This commit is contained in:
2018-05-21 09:31:36 -07:00
committed by joe fleming
parent f1f2e9e8bb
commit ba769682d6
9 changed files with 367 additions and 13 deletions

12
plugins/ml/index.js Normal file
View File

@@ -0,0 +1,12 @@
export function ml(kibana) {
return new kibana.Plugin({
name: 'ml',
id: 'ml',
configPrefix: 'xpack.ml',
config(Joi) {
return Joi.object({
enabled: Joi.boolean().default(true),
}).default();
},
});
}