- moved es install/start/stop logic into a seperate script - `grunt test` now runs the integration tests once for each version of ES we support - grunt can now install and run elasticearch (using grunt-run, pure js solution coming later) - included seperate es.sh script specifically for starting or stopping elasticsearch - url aliases, api, yaml_suite/index.js, and yaml_tests.json, are all now duplicated for 0_90 support - the client now accepts an apiVersion argument (undocumented) which defaults to 'master' but can be '0.90' - The yaml test runner will now check the name of the ES instance it is connecting to, preventing accidental wiping of ES
95 lines
2.5 KiB
JavaScript
95 lines
2.5 KiB
JavaScript
module.exports = {
|
|
'cluster.nodeHotThreads': [
|
|
'/_cluster/nodes/hotthreads',
|
|
'/_cluster/nodes/hot_threads',
|
|
'/_nodes/hot_threads',
|
|
'/_cluster/nodes/{node_id}/hotthreads',
|
|
'/_cluster/nodes/{node_id}/hot_threads',
|
|
'/_nodes/{node_id}/hot_threads'
|
|
],
|
|
'cluster.nodeInfo': [
|
|
'/_cluster/nodes',
|
|
'/_nodes/settings',
|
|
'/_nodes/os',
|
|
'/_nodes/process',
|
|
'/_nodes/jvm',
|
|
'/_nodes/thread_pool',
|
|
'/_nodes/network',
|
|
'/_nodes/transport',
|
|
'/_nodes/http',
|
|
'/_nodes/plugin',
|
|
'/_cluster/nodes/{node_id}',
|
|
'/_nodes/{node_id}/settings',
|
|
'/_nodes/{node_id}/os',
|
|
'/_nodes/{node_id}/process',
|
|
'/_nodes/{node_id}/jvm',
|
|
'/_nodes/{node_id}/thread_pool',
|
|
'/_nodes/{node_id}/network',
|
|
'/_nodes/{node_id}/transport',
|
|
'/_nodes/{node_id}/http',
|
|
'/_nodes/{node_id}/plugin'
|
|
],
|
|
'cluster.nodeShutdown': [
|
|
'/_cluster/nodes/_shutdown'
|
|
],
|
|
'cluster.nodeStats': [
|
|
'/_cluster/nodes/stats',
|
|
'/_nodes/stats/{metric_family}',
|
|
'/_nodes/stats/indices/{metric}/{fields}',
|
|
'/_cluster/nodes/{node_id}/stats',
|
|
'/_nodes/{node_id}/stats/{metric_family}',
|
|
'/_nodes/{node_id}/stats/indices/{metric}/{fields}'
|
|
],
|
|
'get': [
|
|
'/{index}/{type}/{id}/_source'
|
|
],
|
|
'indices.deleteMapping': [
|
|
'/{index}/{type}',
|
|
'/{index}/_mapping/{type}',
|
|
'/{index}/{type}/_mappings',
|
|
'/{index}/_mappings/{type}'
|
|
],
|
|
'indices.putWarmer': [
|
|
// '/_warmer/{name}',
|
|
// '/{index}/_warmer/{name}',
|
|
// '/{index}/{type}/_warmer/{name}',
|
|
'/_warmers/{name}',
|
|
'/{index}/_warmers/{name}',
|
|
'/{index}/{type}/_warmers/{name}'
|
|
],
|
|
'indices.deleteWarmer': [
|
|
// '/{index}/_warmer/{name}',
|
|
'/{index}/_warmer',
|
|
'/{index}/_warmers',
|
|
'/{index}/_warmers/{name}'
|
|
],
|
|
'indices.deleteAlias': [
|
|
// '/{index}/_alias/{name}',
|
|
'/{index}/_aliases/{name}'
|
|
],
|
|
'indices.putAlias': [
|
|
// '/{index}/_alias/{name}',
|
|
// '/_alias/{name}',
|
|
'/{index}/_aliases/{name}',
|
|
'/_aliases/{name}'
|
|
],
|
|
'indices.putMapping': [
|
|
// '/{index}/_mapping/{type}',
|
|
// '/_mapping/{type}',
|
|
'/{index}/{type}/_mapping',
|
|
'/{index}/{type}/_mappings',
|
|
'/{index}/_mappings/{type}',
|
|
'/_mappings/{type}'
|
|
],
|
|
'indices.stats': [
|
|
'_stats/{metric_family}',
|
|
'/_stats/indexing',
|
|
'/_stats/indexing/{indexing_types}',
|
|
'/_stats/search/{search_groups}',
|
|
'/_stats/fielddata/{fields}',
|
|
'/{index}/_stats/{metric_family}',
|
|
'/{index}/_stats/indexing',
|
|
'/{index}/_stats/search/{search_groups}',
|
|
'/{index}/_stats/fielddata/{fields}'
|
|
]
|
|
}; |