Commit adc880d5 by Johannes Edmeier Committed by Johannes Edmeier

Add ignoreErrors to jolokia request

With this commit the ignoreErrors=true is set for non-modifying operations as search, list and read. fixes #374
parent 9f70183e
......@@ -96,7 +96,8 @@ module.exports = function ($q) {
this.read = function (url, mbean) {
return outer.request(url, {
type: 'read',
mbean: mbean
mbean: mbean,
config: { ignoreErrors: true }
});
};
......@@ -104,7 +105,8 @@ module.exports = function ($q) {
return outer.request(url, {
type: 'read',
mbean: mbean,
attribute: attr
attribute: attr,
config: { ignoreErrors: true }
});
};
......@@ -119,14 +121,16 @@ module.exports = function ($q) {
this.list = function (url) {
return outer.request(url, {
type: 'list'
type: 'list',
config: { ignoreErrors: true }
});
};
this.search = function (url, mbean) {
return outer.request(url, {
type: 'search',
mbean: mbean
mbean: mbean,
config: { ignoreErrors: true }
});
};
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment