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
69dec9ae
Commit
69dec9ae
authored
Aug 06, 2016
by
Johannes Edmeier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix codacy issues
parent
6e6799dd
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
12 deletions
+12
-12
karma.conf.js
spring-boot-admin-server-ui/karma.conf.js
+2
-2
applicationLogging.js
...dules/applications-logging/services/applicationLogging.js
+7
-7
module.css
...-boot-admin-server-ui/modules/applications/css/module.css
+1
-1
notificationFilters.js
...r-ui/modules/applications/services/notificationFilters.js
+1
-1
webpack.config.js
spring-boot-admin-server-ui/webpack.config.js
+1
-1
No files found.
spring-boot-admin-server-ui/karma.conf.js
View file @
69dec9ae
...
@@ -9,14 +9,14 @@ module.exports = function (config) {
...
@@ -9,14 +9,14 @@ module.exports = function (config) {
files
:
[
'test/unit/**/*.js'
],
files
:
[
'test/unit/**/*.js'
],
exclude
:
[],
exclude
:
[],
preprocessors
:
{
preprocessors
:
{
'test/unit/**/*.js'
:
[
'webpack'
]
,
'test/unit/**/*.js'
:
[
'webpack'
]
},
},
webpack
:
{
webpack
:
{
module
:
{
module
:
{
loaders
:
[{
loaders
:
[{
test
:
/
\.
js$/
,
test
:
/
\.
js$/
,
exclude
:
[
/node_modules/
,
/third-party/
],
exclude
:
[
/node_modules/
,
/third-party/
],
loader
:
"ng-annotate"
loader
:
'ng-annotate'
},
{
},
{
test
:
/
\.
html$/
,
test
:
/
\.
html$/
,
loader
:
'raw'
loader
:
'raw'
...
...
spring-boot-admin-server-ui/modules/applications-logging/services/applicationLogging.js
View file @
69dec9ae
...
@@ -27,7 +27,7 @@ module.exports = function ($q, jolokia) {
...
@@ -27,7 +27,7 @@ module.exports = function ($q, jolokia) {
var
findLogbackMbean
=
function
(
app
)
{
var
findLogbackMbean
=
function
(
app
)
{
return
jolokia
.
search
(
'api/applications/'
+
app
.
id
+
'/jolokia/'
,
return
jolokia
.
search
(
'api/applications/'
+
app
.
id
+
'/jolokia/'
,
'ch.qos.logback.classic:Name=*,Type=ch.qos.logback.classic.jmx.JMXConfigurator'
)
'ch.qos.logback.classic:Name=*,Type=ch.qos.logback.classic.jmx.JMXConfigurator'
)
.
then
(
function
(
response
)
{
.
then
(
function
(
response
)
{
if
(
response
.
value
.
length
===
1
)
{
if
(
response
.
value
.
length
===
1
)
{
return
response
.
value
[
0
];
return
response
.
value
[
0
];
...
@@ -38,13 +38,13 @@ module.exports = function ($q, jolokia) {
...
@@ -38,13 +38,13 @@ module.exports = function ($q, jolokia) {
if
(
value
===
undefined
)
{
if
(
value
===
undefined
)
{
value
=
findInArray
(
response
.
value
,
'default'
);
value
=
findInArray
(
response
.
value
,
'default'
);
}
}
if
(
value
!==
undefined
)
{
if
(
value
===
undefined
)
{
return
value
;
return
$q
.
reject
({
error
:
'Ambigious Logback JMXConfigurator-MBeans found!'
,
candidates
:
response
.
value
});
}
}
return
$q
.
reject
({
return
value
;
error
:
'Ambigious Logback JMXConfigurator-MBeans found!'
,
candidates
:
response
.
value
});
}
}
return
$q
.
reject
({
return
$q
.
reject
({
error
:
'Couldn
\'
t find Logback JMXConfigurator-MBean'
error
:
'Couldn
\'
t find Logback JMXConfigurator-MBean'
...
...
spring-boot-admin-server-ui/modules/applications/css/module.css
View file @
69dec9ae
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
font-size
:
14px
;
font-size
:
14px
;
color
:
#888
;
color
:
#888
;
margin-top
:
20px
;
margin-top
:
20px
;
height
:
0
px
;
height
:
0
;
}
}
.application--urls
>
li
>
a
{
.application--urls
>
li
>
a
{
color
:
#f1f1f1
;
color
:
#f1f1f1
;
...
...
spring-boot-admin-server-ui/modules/applications/services/notificationFilters.js
View file @
69dec9ae
...
@@ -30,7 +30,7 @@ module.exports = function ($http) {
...
@@ -30,7 +30,7 @@ module.exports = function ($http) {
this
.
getActiveFilters
=
function
(
filters
,
application
)
{
this
.
getActiveFilters
=
function
(
filters
,
application
)
{
var
appFilters
=
{};
var
appFilters
=
{};
angular
.
forEach
(
filters
,
function
(
value
,
key
)
{
angular
.
forEach
(
filters
,
function
(
value
,
key
)
{
if
(
(
value
.
expired
===
false
||
value
.
expired
===
undefined
)
&&
(
value
.
id
===
application
.
id
||
value
.
name
===
application
.
name
))
{
if
(
!
value
.
expired
&&
(
value
.
id
===
application
.
id
||
value
.
name
===
application
.
name
))
{
appFilters
[
key
]
=
value
;
appFilters
[
key
]
=
value
;
}
}
});
});
...
...
spring-boot-admin-server-ui/webpack.config.js
View file @
69dec9ae
...
@@ -76,7 +76,7 @@ module.exports = {
...
@@ -76,7 +76,7 @@ module.exports = {
preLoaders
:
[{
preLoaders
:
[{
test
:
/
\.
js$/
,
test
:
/
\.
js$/
,
loader
:
'eslint'
,
loader
:
'eslint'
,
exclude
:
[
/node_modules/
,
/third-party/
]
,
exclude
:
[
/node_modules/
,
/third-party/
]
}],
}],
loaders
:
[
loaders
:
[
{
{
...
...
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