Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-boot-admin
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-boot-admin
Commits
85cea18e
Commit
85cea18e
authored
Dec 31, 2016
by
Johannes Edmeier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
e9059795
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
jolokia.js
...in-server-ui/modules/applications-jmx/services/jolokia.js
+8
-4
No files found.
spring-boot-admin-server-ui/modules/applications-jmx/services/jolokia.js
View file @
85cea18e
...
@@ -96,7 +96,8 @@ module.exports = function ($q) {
...
@@ -96,7 +96,8 @@ module.exports = function ($q) {
this
.
read
=
function
(
url
,
mbean
)
{
this
.
read
=
function
(
url
,
mbean
)
{
return
outer
.
request
(
url
,
{
return
outer
.
request
(
url
,
{
type
:
'read'
,
type
:
'read'
,
mbean
:
mbean
mbean
:
mbean
,
config
:
{
ignoreErrors
:
true
}
});
});
};
};
...
@@ -104,7 +105,8 @@ module.exports = function ($q) {
...
@@ -104,7 +105,8 @@ module.exports = function ($q) {
return
outer
.
request
(
url
,
{
return
outer
.
request
(
url
,
{
type
:
'read'
,
type
:
'read'
,
mbean
:
mbean
,
mbean
:
mbean
,
attribute
:
attr
attribute
:
attr
,
config
:
{
ignoreErrors
:
true
}
});
});
};
};
...
@@ -119,14 +121,16 @@ module.exports = function ($q) {
...
@@ -119,14 +121,16 @@ module.exports = function ($q) {
this
.
list
=
function
(
url
)
{
this
.
list
=
function
(
url
)
{
return
outer
.
request
(
url
,
{
return
outer
.
request
(
url
,
{
type
:
'list'
type
:
'list'
,
config
:
{
ignoreErrors
:
true
}
});
});
};
};
this
.
search
=
function
(
url
,
mbean
)
{
this
.
search
=
function
(
url
,
mbean
)
{
return
outer
.
request
(
url
,
{
return
outer
.
request
(
url
,
{
type
:
'search'
,
type
:
'search'
,
mbean
:
mbean
mbean
:
mbean
,
config
:
{
ignoreErrors
:
true
}
});
});
};
};
};
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment