mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
updated elasticsearch dep
This commit is contained in:
parent
a8129e1fc0
commit
e15b996091
8 changed files with 115 additions and 34 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "elasticsearch",
|
||||
"version": "1.5.4",
|
||||
"version": "1.5.8",
|
||||
"authors": [
|
||||
"Spencer Alger <spencer@spenceralger.com>"
|
||||
],
|
||||
|
@ -12,11 +12,11 @@
|
|||
],
|
||||
"license": "Apache 2.0",
|
||||
"homepage": "https://github.com/elasticsearch/bower-elasticsearch-js",
|
||||
"_release": "1.5.4",
|
||||
"_release": "1.5.8",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.5.4",
|
||||
"commit": "5dc3e0b427eb97fa3fe41e38f288774e44bc478d"
|
||||
"tag": "v1.5.8",
|
||||
"commit": "589b05935b702bfe81e442f2d32fbad19bba312c"
|
||||
},
|
||||
"_source": "git://github.com/elasticsearch/bower-elasticsearch-js.git",
|
||||
"_target": "*",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "elasticsearch",
|
||||
"version": "1.5.4",
|
||||
"version": "1.5.8",
|
||||
"authors": [
|
||||
"Spencer Alger <spencer@spenceralger.com>"
|
||||
],
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*! elasticsearch - v1.5.4 - 2014-02-11
|
||||
/*! elasticsearch - v1.5.8 - 2014-02-17
|
||||
* http://www.elasticsearch.org/guide/en/elasticsearch/client/javascript-api/current/index.html
|
||||
* Copyright (c) 2014 Elasticsearch BV; Licensed Apache 2.0 */
|
||||
;(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
|
||||
|
@ -16152,6 +16152,28 @@ api.cluster.prototype.nodeStats = ca({
|
|||
]
|
||||
});
|
||||
|
||||
/**
|
||||
* Perform a [cluster.pendingTasks](http://www.elasticsearch.org/guide/en/elasticsearch/reference/0.90/cluster-pending.html) request
|
||||
*
|
||||
* @param {Object} params - An object with parameters used to carry out this action
|
||||
* @param {Boolean} params.local - Return local information, do not retrieve the state from master node (default: false)
|
||||
* @param {Date, Number} params.masterTimeout - Specify timeout for connection to master
|
||||
*/
|
||||
api.cluster.prototype.pendingTasks = ca({
|
||||
params: {
|
||||
local: {
|
||||
type: 'boolean'
|
||||
},
|
||||
masterTimeout: {
|
||||
type: 'time',
|
||||
name: 'master_timeout'
|
||||
}
|
||||
},
|
||||
url: {
|
||||
fmt: '/_cluster/pending_tasks'
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* Perform a [cluster.putSettings](http://www.elasticsearch.org/guide/en/elasticsearch/reference/0.90/cluster-update-settings.html) request
|
||||
*
|
||||
|
@ -18811,6 +18833,9 @@ api.search = ca({
|
|||
type: 'list'
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
fmt: '/_search'
|
||||
}
|
||||
],
|
||||
method: 'POST'
|
||||
|
@ -24227,7 +24252,6 @@ Client.apis = require('./apis');
|
|||
module.exports = ClientAction;
|
||||
|
||||
var _ = require('./utils');
|
||||
var when = require('when');
|
||||
|
||||
function ClientAction(spec) {
|
||||
if (!_.isPlainObject(spec.params)) {
|
||||
|
@ -24248,12 +24272,14 @@ function ClientAction(spec) {
|
|||
}
|
||||
|
||||
try {
|
||||
return exec(this.transport, spec, params, cb);
|
||||
return exec(this.transport, spec, _.clone(params), cb);
|
||||
} catch (e) {
|
||||
if (typeof cb === 'function') {
|
||||
_.nextTick(cb, e);
|
||||
} else {
|
||||
return when.reject(e);
|
||||
var def = this.transport.defer();
|
||||
def.reject(e);
|
||||
return def.promise;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -24525,7 +24551,7 @@ ClientAction.proxy = function (fn, spec) {
|
|||
};
|
||||
};
|
||||
|
||||
},{"./utils":211,"when":1}],195:[function(require,module,exports){
|
||||
},{"./utils":211}],195:[function(require,module,exports){
|
||||
module.exports = ConnectionAbstract;
|
||||
|
||||
var _ = require('./utils');
|
||||
|
@ -24959,7 +24985,7 @@ ConnectionPool.prototype.close = function () {
|
|||
};
|
||||
ConnectionPool.prototype.empty = ConnectionPool.prototype.close;
|
||||
},{"./connectors":198,"./log":201,"./selectors":206,"./utils":211,"__browserify_process":13}],197:[function(require,module,exports){
|
||||
/**
|
||||
var Buffer=require("__browserify_Buffer").Buffer;/**
|
||||
* Connection that registers a module with angular, using angular's $http service
|
||||
* to communicate with ES.
|
||||
*
|
||||
|
@ -24975,6 +25001,9 @@ function AngularConnector(host, config) {
|
|||
ConnectionAbstract.call(this, host, config);
|
||||
this.defer = config.defer;
|
||||
this.$http = config.$http;
|
||||
if(this.host.auth) {
|
||||
this.$http.defaults.headers.common.Authorization = 'Basic ' + Buffer(this.host.auth, 'utf8').toString('base64');
|
||||
}
|
||||
}
|
||||
_.inherits(AngularConnector, ConnectionAbstract);
|
||||
|
||||
|
@ -25002,7 +25031,7 @@ AngularConnector.prototype.request = function (params, cb) {
|
|||
};
|
||||
};
|
||||
|
||||
},{"../connection":195,"../errors":199,"../utils":211}],198:[function(require,module,exports){
|
||||
},{"../connection":195,"../errors":199,"../utils":211,"__browserify_Buffer":12}],198:[function(require,module,exports){
|
||||
var opts = {
|
||||
xhr: require('./xhr'),
|
||||
jquery: require('./jquery'),
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
/*! elasticsearch - v1.5.4 - 2014-02-11
|
||||
/*! elasticsearch - v1.5.8 - 2014-02-17
|
||||
* http://www.elasticsearch.org/guide/en/elasticsearch/client/javascript-api/current/index.html
|
||||
* Copyright (c) 2014 Elasticsearch BV; Licensed Apache 2.0 */
|
||||
;(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
|
||||
|
@ -16159,6 +16159,28 @@ api.cluster.prototype.nodeStats = ca({
|
|||
]
|
||||
});
|
||||
|
||||
/**
|
||||
* Perform a [cluster.pendingTasks](http://www.elasticsearch.org/guide/en/elasticsearch/reference/0.90/cluster-pending.html) request
|
||||
*
|
||||
* @param {Object} params - An object with parameters used to carry out this action
|
||||
* @param {Boolean} params.local - Return local information, do not retrieve the state from master node (default: false)
|
||||
* @param {Date, Number} params.masterTimeout - Specify timeout for connection to master
|
||||
*/
|
||||
api.cluster.prototype.pendingTasks = ca({
|
||||
params: {
|
||||
local: {
|
||||
type: 'boolean'
|
||||
},
|
||||
masterTimeout: {
|
||||
type: 'time',
|
||||
name: 'master_timeout'
|
||||
}
|
||||
},
|
||||
url: {
|
||||
fmt: '/_cluster/pending_tasks'
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* Perform a [cluster.putSettings](http://www.elasticsearch.org/guide/en/elasticsearch/reference/0.90/cluster-update-settings.html) request
|
||||
*
|
||||
|
@ -18818,6 +18840,9 @@ api.search = ca({
|
|||
type: 'list'
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
fmt: '/_search'
|
||||
}
|
||||
],
|
||||
method: 'POST'
|
||||
|
@ -24234,7 +24259,6 @@ Client.apis = require('./apis');
|
|||
module.exports = ClientAction;
|
||||
|
||||
var _ = require('./utils');
|
||||
var when = require('when');
|
||||
|
||||
function ClientAction(spec) {
|
||||
if (!_.isPlainObject(spec.params)) {
|
||||
|
@ -24255,12 +24279,14 @@ function ClientAction(spec) {
|
|||
}
|
||||
|
||||
try {
|
||||
return exec(this.transport, spec, params, cb);
|
||||
return exec(this.transport, spec, _.clone(params), cb);
|
||||
} catch (e) {
|
||||
if (typeof cb === 'function') {
|
||||
_.nextTick(cb, e);
|
||||
} else {
|
||||
return when.reject(e);
|
||||
var def = this.transport.defer();
|
||||
def.reject(e);
|
||||
return def.promise;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -24532,7 +24558,7 @@ ClientAction.proxy = function (fn, spec) {
|
|||
};
|
||||
};
|
||||
|
||||
},{"./utils":212,"when":1}],196:[function(require,module,exports){
|
||||
},{"./utils":212}],196:[function(require,module,exports){
|
||||
module.exports = ConnectionAbstract;
|
||||
|
||||
var _ = require('./utils');
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
/*! elasticsearch - v1.5.4 - 2014-02-11
|
||||
/*! elasticsearch - v1.5.8 - 2014-02-17
|
||||
* http://www.elasticsearch.org/guide/en/elasticsearch/client/javascript-api/current/index.html
|
||||
* Copyright (c) 2014 Elasticsearch BV; Licensed Apache 2.0 */
|
||||
!function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.elasticsearch=e():"undefined"!=typeof global?global.elasticsearch=e():"undefined"!=typeof self&&(self.elasticsearch=e())}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
|
||||
|
@ -17090,6 +17090,28 @@ api.cluster.prototype.nodeStats = ca({
|
|||
]
|
||||
});
|
||||
|
||||
/**
|
||||
* Perform a [cluster.pendingTasks](http://www.elasticsearch.org/guide/en/elasticsearch/reference/0.90/cluster-pending.html) request
|
||||
*
|
||||
* @param {Object} params - An object with parameters used to carry out this action
|
||||
* @param {Boolean} params.local - Return local information, do not retrieve the state from master node (default: false)
|
||||
* @param {Date, Number} params.masterTimeout - Specify timeout for connection to master
|
||||
*/
|
||||
api.cluster.prototype.pendingTasks = ca({
|
||||
params: {
|
||||
local: {
|
||||
type: 'boolean'
|
||||
},
|
||||
masterTimeout: {
|
||||
type: 'time',
|
||||
name: 'master_timeout'
|
||||
}
|
||||
},
|
||||
url: {
|
||||
fmt: '/_cluster/pending_tasks'
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* Perform a [cluster.putSettings](http://www.elasticsearch.org/guide/en/elasticsearch/reference/0.90/cluster-update-settings.html) request
|
||||
*
|
||||
|
@ -19749,6 +19771,9 @@ api.search = ca({
|
|||
type: 'list'
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
fmt: '/_search'
|
||||
}
|
||||
],
|
||||
method: 'POST'
|
||||
|
@ -25165,7 +25190,6 @@ Client.apis = require('./apis');
|
|||
module.exports = ClientAction;
|
||||
|
||||
var _ = require('./utils');
|
||||
var when = require('when');
|
||||
|
||||
function ClientAction(spec) {
|
||||
if (!_.isPlainObject(spec.params)) {
|
||||
|
@ -25186,12 +25210,14 @@ function ClientAction(spec) {
|
|||
}
|
||||
|
||||
try {
|
||||
return exec(this.transport, spec, params, cb);
|
||||
return exec(this.transport, spec, _.clone(params), cb);
|
||||
} catch (e) {
|
||||
if (typeof cb === 'function') {
|
||||
_.nextTick(cb, e);
|
||||
} else {
|
||||
return when.reject(e);
|
||||
var def = this.transport.defer();
|
||||
def.reject(e);
|
||||
return def.promise;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -25463,7 +25489,7 @@ ClientAction.proxy = function (fn, spec) {
|
|||
};
|
||||
};
|
||||
|
||||
},{"./utils":212,"when":189}],196:[function(require,module,exports){
|
||||
},{"./utils":212}],196:[function(require,module,exports){
|
||||
module.exports = ConnectionAbstract;
|
||||
|
||||
var _ = require('./utils');
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue