2019-01-10 20:31:12 +01:00
|
|
|
/*
|
|
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
|
|
* or more contributor license agreements. Licensed under the Elastic License;
|
|
|
|
* you may not use this file except in compliance with the Elastic License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
import { resolve } from 'path';
|
|
|
|
|
|
|
|
type Licenses = 'oss' | 'basic' | 'gold' | 'trial';
|
|
|
|
|
|
|
|
export const TestKbnServerConfig = {
|
|
|
|
kbn: {
|
2019-04-10 22:07:23 +02:00
|
|
|
plugins: { paths: [resolve(__dirname, '../../x-pack')] },
|
2019-01-10 20:31:12 +01:00
|
|
|
xpack: {
|
|
|
|
monitoring: {
|
|
|
|
tests: {
|
|
|
|
cloud_detector: {
|
|
|
|
enabled: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
es: {
|
|
|
|
license: 'trial' as Licenses,
|
|
|
|
},
|
|
|
|
users: [
|
|
|
|
{
|
|
|
|
username: 'kibana_user',
|
|
|
|
password: 'x-pack-test-password',
|
|
|
|
roles: ['kibana_user'],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
};
|