mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
move scenarios config under its own property
This commit is contained in:
parent
33372cd7ac
commit
db5e279f5f
2 changed files with 21 additions and 19 deletions
38
test/fixtures/config.js
vendored
38
test/fixtures/config.js
vendored
|
@ -2,23 +2,25 @@ var path = require('path');
|
|||
var rootDir = path.join(__dirname, 'scenarios');
|
||||
|
||||
module.exports = {
|
||||
makelogs: {
|
||||
baseDir: path.join(rootDir, 'makelogs'),
|
||||
bulk: [{
|
||||
indexDefinition: 'makelogsIndexDefinition.js',
|
||||
indexName: 'logstash-2015.09.17',
|
||||
source: 'logstash-2015.09.17.js'
|
||||
}, {
|
||||
indexDefinition: 'makelogsIndexDefinition.js',
|
||||
indexName: 'logstash-2015.09.18',
|
||||
source: 'logstash-2015.09.18.js'
|
||||
}]
|
||||
},
|
||||
emptyKibana: {
|
||||
baseDir: path.join(rootDir, 'emptyKibana'),
|
||||
bulk: [{
|
||||
indexName: '.kibana',
|
||||
source: 'kibana.js'
|
||||
}]
|
||||
scenarios: {
|
||||
makelogs: {
|
||||
baseDir: path.join(rootDir, 'makelogs'),
|
||||
bulk: [{
|
||||
indexDefinition: 'makelogsIndexDefinition.js',
|
||||
indexName: 'logstash-2015.09.17',
|
||||
source: 'logstash-2015.09.17.js'
|
||||
}, {
|
||||
indexDefinition: 'makelogsIndexDefinition.js',
|
||||
indexName: 'logstash-2015.09.18',
|
||||
source: 'logstash-2015.09.18.js'
|
||||
}]
|
||||
},
|
||||
emptyKibana: {
|
||||
baseDir: path.join(rootDir, 'emptyKibana'),
|
||||
bulk: [{
|
||||
indexName: '.kibana',
|
||||
source: 'kibana.js'
|
||||
}]
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
2
test/fixtures/scenarioManager.js
vendored
2
test/fixtures/scenarioManager.js
vendored
|
@ -1,5 +1,5 @@
|
|||
var path = require('path');
|
||||
var config = require('./config');
|
||||
var config = require('./config').scenarios;
|
||||
var elasticsearch = require('elasticsearch');
|
||||
|
||||
function ScenarioManager(server) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue