You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by an...@apache.org on 2016/03/31 09:27:52 UTC
[14/14] ignite git commit: IGNITE-2875 WIP
IGNITE-2875 WIP
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/dde08f39
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/dde08f39
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/dde08f39
Branch: refs/heads/ignite-2875
Commit: dde08f391e85307e8ce176e052eeec6153f5a5fd
Parents: 57d7df6
Author: Andrey <an...@gridgain.com>
Authored: Thu Mar 31 14:27:18 2016 +0700
Committer: Andrey <an...@gridgain.com>
Committed: Thu Mar 31 14:27:18 2016 +0700
----------------------------------------------------------------------
.../src/main/js/app/services/AgentMonitor.service.js | 2 +-
modules/control-center-web/src/main/js/serve/agent.js | 14 +++++++-------
.../control-center-web/src/main/js/serve/browser.js | 6 +++---
3 files changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/dde08f39/modules/control-center-web/src/main/js/app/services/AgentMonitor.service.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/app/services/AgentMonitor.service.js b/modules/control-center-web/src/main/js/app/services/AgentMonitor.service.js
index 2b55030..0f926a7 100644
--- a/modules/control-center-web/src/main/js/app/services/AgentMonitor.service.js
+++ b/modules/control-center-web/src/main/js/app/services/AgentMonitor.service.js
@@ -230,7 +230,7 @@ class IgniteAgentMonitor {
*/
_rest(event, ...args) {
return this._downloadAgentModal.$promise
- .then(() => this._emit(event, ...args))
+ .then(() => this._emit(event, ...args));
}
/**
http://git-wip-us.apache.org/repos/asf/ignite/blob/dde08f39/modules/control-center-web/src/main/js/serve/agent.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/serve/agent.js b/modules/control-center-web/src/main/js/serve/agent.js
index 11d4292..a5dbe8c 100644
--- a/modules/control-center-web/src/main/js/serve/agent.js
+++ b/modules/control-center-web/src/main/js/serve/agent.js
@@ -73,7 +73,7 @@ module.exports.factory = function(_, ws, fs, path, JSZip, socketio, settings, mo
this._params.push({key, value});
return this;
- };
+ }
}
/**
@@ -211,7 +211,7 @@ module.exports.factory = function(_, ws, fs, path, JSZip, socketio, settings, mo
* @returns {Promise}
*/
topology(demo, attr, mtr) {
- var cmd = new Command(demo, 'top')
+ const cmd = new Command(demo, 'top')
.addParam('attr', attr !== false)
.addParam('mtr', !!mtr);
@@ -227,7 +227,7 @@ module.exports.factory = function(_, ws, fs, path, JSZip, socketio, settings, mo
* @returns {Promise}
*/
fieldsQuery(demo, cacheName, query, pageSize) {
- var cmd = new Command(demo, 'qryfldexe')
+ const cmd = new Command(demo, 'qryfldexe')
.addParam('cacheName', cacheName)
.addParam('qry', query)
.addParam('pageSize', pageSize);
@@ -243,7 +243,7 @@ module.exports.factory = function(_, ws, fs, path, JSZip, socketio, settings, mo
* @returns {Promise}
*/
scan(demo, cacheName, pageSize) {
- var cmd = new Command(demo, 'qryscanexe')
+ const cmd = new Command(demo, 'qryscanexe')
.addParam('cacheName', cacheName)
.addParam('pageSize', pageSize);
@@ -257,7 +257,7 @@ module.exports.factory = function(_, ws, fs, path, JSZip, socketio, settings, mo
* @returns {Promise}
*/
queryFetch(demo, queryId, pageSize) {
- var cmd = new Command(demo, 'qryfetch')
+ const cmd = new Command(demo, 'qryfetch')
.addParam('qryId', queryId)
.addParam('pageSize', pageSize);
@@ -270,7 +270,7 @@ module.exports.factory = function(_, ws, fs, path, JSZip, socketio, settings, mo
* @returns {Promise}
*/
queryClose(demo, queryId) {
- var cmd = new Command(demo, 'qrycls')
+ const cmd = new Command(demo, 'qrycls')
.addParam('qryId', queryId);
return this.executeRest(cmd);
@@ -282,7 +282,7 @@ module.exports.factory = function(_, ws, fs, path, JSZip, socketio, settings, mo
* @returns {Promise}
*/
metadata(demo, cacheName) {
- var cmd = new Command(demo, 'metadata')
+ const cmd = new Command(demo, 'metadata')
.addParam('cacheName', cacheName);
return this.executeRest(cmd);
http://git-wip-us.apache.org/repos/asf/ignite/blob/dde08f39/modules/control-center-web/src/main/js/serve/browser.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/serve/browser.js b/modules/control-center-web/src/main/js/serve/browser.js
index 678ebf9..9eb66ea 100644
--- a/modules/control-center-web/src/main/js/serve/browser.js
+++ b/modules/control-center-web/src/main/js/serve/browser.js
@@ -32,7 +32,7 @@ module.exports.factory = (_, socketio, agentMgr, configure) => {
return {
message: err.message,
code: err.code || 1
- }
+ };
};
return {
@@ -135,11 +135,11 @@ module.exports.factory = (_, socketio, agentMgr, configure) => {
acc.last = res.last;
return fetchResult(acc);
- })
+ });
};
return firstPage
- .then(fetchResult)
+ .then(fetchResult);
})
.then((res) => cb(null, res))
.catch((err) => cb(_errorToJson(err)));