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
3bc1fa6e
Commit
3bc1fa6e
authored
Apr 09, 2015
by
Johannes Stelzer
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #60 from Inhealthcare/master
Update jolokia javascript urls to support running behind a http proxy
parents
0346c9a5
690eb4b6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
applicationJmx.js
spring-boot-admin-server-ui/app/js/service/applicationJmx.js
+4
-4
applicationLogging.js
...boot-admin-server-ui/app/js/service/applicationLogging.js
+3
-3
No files found.
spring-boot-admin-server-ui/app/js/service/applicationJmx.js
View file @
3bc1fa6e
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
module
.
exports
=
function
(
$rootScope
,
Abbreviator
,
jolokia
)
{
module
.
exports
=
function
(
$rootScope
,
Abbreviator
,
jolokia
)
{
this
.
list
=
function
(
app
)
{
this
.
list
=
function
(
app
)
{
return
jolokia
.
list
(
'
/
api/applications/'
+
app
.
id
+
'/jolokia/'
)
return
jolokia
.
list
(
'api/applications/'
+
app
.
id
+
'/jolokia/'
)
.
then
(
function
(
response
)
{
.
then
(
function
(
response
)
{
var
domains
=
[];
var
domains
=
[];
for
(
var
rDomainName
in
response
.
value
)
{
for
(
var
rDomainName
in
response
.
value
)
{
...
@@ -81,14 +81,14 @@ module.exports = function ($rootScope, Abbreviator, jolokia) {
...
@@ -81,14 +81,14 @@ module.exports = function ($rootScope, Abbreviator, jolokia) {
};
};
this
.
readAllAttr
=
function
(
app
,
bean
)
{
this
.
readAllAttr
=
function
(
app
,
bean
)
{
return
jolokia
.
read
(
'
/
api/applications/'
+
app
.
id
+
'/jolokia/'
,
bean
.
id
);
return
jolokia
.
read
(
'api/applications/'
+
app
.
id
+
'/jolokia/'
,
bean
.
id
);
};
};
this
.
writeAttr
=
function
(
app
,
bean
,
attr
,
val
)
{
this
.
writeAttr
=
function
(
app
,
bean
,
attr
,
val
)
{
return
jolokia
.
writeAttr
(
'
/
api/applications/'
+
app
.
id
+
'/jolokia/'
,
bean
.
id
,
attr
,
val
);
return
jolokia
.
writeAttr
(
'api/applications/'
+
app
.
id
+
'/jolokia/'
,
bean
.
id
,
attr
,
val
);
};
};
this
.
invoke
=
function
(
app
,
bean
,
opname
,
args
)
{
this
.
invoke
=
function
(
app
,
bean
,
opname
,
args
)
{
return
jolokia
.
exec
(
'
/
api/applications/'
+
app
.
id
+
'/jolokia/'
,
bean
.
id
,
opname
,
args
);
return
jolokia
.
exec
(
'api/applications/'
+
app
.
id
+
'/jolokia/'
,
bean
.
id
,
opname
,
args
);
};
};
};
};
spring-boot-admin-server-ui/app/js/service/applicationLogging.js
View file @
3bc1fa6e
...
@@ -29,16 +29,16 @@ module.exports = function ($http, jolokia) {
...
@@ -29,16 +29,16 @@ module.exports = function ($http, jolokia) {
arguments
:
[
loggers
[
j
].
name
]
arguments
:
[
loggers
[
j
].
name
]
});
});
}
}
return
jolokia
.
bulkRequest
(
'
/
api/applications/'
+
app
.
id
+
'/jolokia/'
,
requests
);
return
jolokia
.
bulkRequest
(
'api/applications/'
+
app
.
id
+
'/jolokia/'
,
requests
);
};
};
this
.
setLoglevel
=
function
(
app
,
logger
,
level
)
{
this
.
setLoglevel
=
function
(
app
,
logger
,
level
)
{
return
jolokia
.
exec
(
'
/
api/applications/'
+
app
.
id
+
'/jolokia/'
,
LOGBACK_MBEAN
,
'setLoggerLevel'
,
[
logger
,
return
jolokia
.
exec
(
'api/applications/'
+
app
.
id
+
'/jolokia/'
,
LOGBACK_MBEAN
,
'setLoggerLevel'
,
[
logger
,
level
level
]);
]);
};
};
this
.
getAllLoggers
=
function
(
app
)
{
this
.
getAllLoggers
=
function
(
app
)
{
return
jolokia
.
readAttr
(
'
/
api/applications/'
+
app
.
id
+
'/jolokia/'
,
LOGBACK_MBEAN
,
'LoggerList'
);
return
jolokia
.
readAttr
(
'api/applications/'
+
app
.
id
+
'/jolokia/'
,
LOGBACK_MBEAN
,
'LoggerList'
);
};
};
};
};
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