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
356677cf
Commit
356677cf
authored
Mar 23, 2018
by
Johannes Edmeier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore errors when fetching health from UI
parent
bb88ac3b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
120 additions
and
52 deletions
+120
-52
package-lock.json
spring-boot-admin-server-ui/package-lock.json
+107
-46
package.json
spring-boot-admin-server-ui/package.json
+3
-3
instance.js
...ot-admin-server-ui/src/main/frontend/services/instance.js
+10
-3
No files found.
spring-boot-admin-server-ui/package-lock.json
View file @
356677cf
This diff is collapsed.
Click to expand it.
spring-boot-admin-server-ui/package.json
View file @
356677cf
...
...
@@ -39,7 +39,7 @@
},
"devDependencies"
:
{
"@vue/test-utils"
:
"^1.0.0-beta.12"
,
"autoprefixer"
:
"^8.
1
.0"
,
"autoprefixer"
:
"^8.
2
.0"
,
"babel-core"
:
"^6.25.0"
,
"babel-eslint"
:
"^8.2.2"
,
"babel-jest"
:
"^22.4.3"
,
...
...
@@ -53,10 +53,10 @@
"css-hot-loader"
:
"^1.3.8"
,
"css-loader"
:
"^0.28.11"
,
"css-mqpacker"
:
"^6.0.2"
,
"eslint"
:
"^4.19.
0
"
,
"eslint"
:
"^4.19.
1
"
,
"eslint-loader"
:
"^1.9.0"
,
"eslint-plugin-html"
:
"^4.0.2"
,
"eslint-plugin-vue"
:
"^4.
3
.0"
,
"eslint-plugin-vue"
:
"^4.
4
.0"
,
"extract-text-webpack-plugin"
:
"^3.0.2"
,
"file-loader"
:
"^1.1.11"
,
"glob"
:
"^7.1.2"
,
...
...
spring-boot-admin-server-ui/src/main/frontend/services/instance.js
View file @
356677cf
...
...
@@ -63,9 +63,16 @@ class Instance {
}
async
fetchHealth
()
{
return
axios
.
get
(
uri
`instances/
${
this
.
id
}
/actuator/health`
,
{
headers
:
{
'Accept'
:
actuatorMimeTypes
}
});
try
{
return
await
axios
.
get
(
uri
`instances/
${
this
.
id
}
/actuator/health`
,
{
headers
:
{
'Accept'
:
actuatorMimeTypes
}
});
}
catch
(
error
)
{
if
(
error
.
response
)
{
return
error
.
response
;
}
throw
error
;
}
}
async
fetchEnv
(
name
)
{
...
...
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