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
1f04e23f
Commit
1f04e23f
authored
Feb 20, 2018
by
Johannes Edmeier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update to latest snapshot of boot
parent
81168636
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
11 deletions
+12
-11
ClientProperties.java
...odecentric/boot/admin/client/config/ClientProperties.java
+4
-4
changes-2.x.adoc
spring-boot-admin-docs/src/main/asciidoc/changes-2.x.adoc
+1
-0
AdminServerUiProperties.java
.../boot/admin/server/ui/config/AdminServerUiProperties.java
+2
-2
AdminServerProperties.java
...ntric/boot/admin/server/config/AdminServerProperties.java
+5
-5
No files found.
spring-boot-admin-client/src/main/java/de/codecentric/boot/admin/client/config/ClientProperties.java
View file @
1f04e23f
...
...
@@ -19,7 +19,7 @@ package de.codecentric.boot.admin.client.config;
import
java.time.Duration
;
import
java.time.temporal.ChronoUnit
;
import
org.springframework.boot.context.properties.ConfigurationProperties
;
import
org.springframework.boot.con
text.properties.bind.convert.Default
DurationUnit
;
import
org.springframework.boot.con
vert.
DurationUnit
;
@lombok
.
Data
@ConfigurationProperties
(
prefix
=
"spring.boot.admin.client"
)
...
...
@@ -38,19 +38,19 @@ public class ClientProperties {
/**
* Time interval the registration is repeated
*/
@D
efaultD
urationUnit
(
ChronoUnit
.
MILLIS
)
@DurationUnit
(
ChronoUnit
.
MILLIS
)
private
Duration
period
=
Duration
.
ofMillis
(
10_000L
);
/**
* Connect timeout for the registration.
*/
@D
efaultD
urationUnit
(
ChronoUnit
.
MILLIS
)
@DurationUnit
(
ChronoUnit
.
MILLIS
)
private
Duration
connectTimeout
=
Duration
.
ofMillis
(
5_000L
);
/**
* Read timeout (in ms) for the registration.
*/
@D
efaultD
urationUnit
(
ChronoUnit
.
MILLIS
)
@DurationUnit
(
ChronoUnit
.
MILLIS
)
private
Duration
readTimeout
=
Duration
.
ofMillis
(
5_000L
);
/**
...
...
spring-boot-admin-docs/src/main/asciidoc/changes-2.x.adoc
View file @
1f04e23f
...
...
@@ -33,6 +33,7 @@ As some of the actuator endpoints changed with the Spring Boot 2 release not all
* Added the concept of applications (consisting of 1 to n instances) to the backend
* Removed Zuul
* Removed dependency on spring-cloud-starter
* Added CompositeHttpHeadersProvider to support multiple HttpHeadersProviders
=== Client
* Moved all properties to `spring.boot.admin.client.*` and `spring.boot.admin.client.instance.*`
...
...
spring-boot-admin-server-ui/src/main/java/de/codecentric/boot/admin/server/ui/config/AdminServerUiProperties.java
View file @
1f04e23f
...
...
@@ -20,7 +20,7 @@ import java.time.Duration;
import
java.time.temporal.ChronoUnit
;
import
java.util.concurrent.TimeUnit
;
import
org.springframework.boot.context.properties.ConfigurationProperties
;
import
org.springframework.boot.con
text.properties.bind.convert.Default
DurationUnit
;
import
org.springframework.boot.con
vert.
DurationUnit
;
import
org.springframework.http.CacheControl
;
@lombok
.
Data
...
...
@@ -48,7 +48,7 @@ public class AdminServerUiProperties {
/**
* include "max-age" directive in Cache-Control http header.
*/
@D
efaultD
urationUnit
(
ChronoUnit
.
SECONDS
)
@DurationUnit
(
ChronoUnit
.
SECONDS
)
private
Duration
maxAge
=
Duration
.
ofSeconds
(
3600
);
/**
...
...
spring-boot-admin-server/src/main/java/de/codecentric/boot/admin/server/config/AdminServerProperties.java
View file @
1f04e23f
...
...
@@ -23,7 +23,7 @@ import java.time.temporal.ChronoUnit;
import
java.util.HashSet
;
import
java.util.Set
;
import
org.springframework.boot.context.properties.ConfigurationProperties
;
import
org.springframework.boot.con
text.properties.bind.convert.Default
DurationUnit
;
import
org.springframework.boot.con
vert.
DurationUnit
;
import
static
java
.
util
.
Arrays
.
asList
;
...
...
@@ -91,26 +91,26 @@ public class AdminServerProperties {
/**
* Time interval to update the status of instances with expired statusInfo
*/
@D
efaultD
urationUnit
(
ChronoUnit
.
MILLIS
)
@DurationUnit
(
ChronoUnit
.
MILLIS
)
private
Duration
period
=
Duration
.
ofMillis
(
10_000L
);
/**
* Lifetime of status. The status won't be updated as long the last status isn't
* expired.
*/
@D
efaultD
urationUnit
(
ChronoUnit
.
MILLIS
)
@DurationUnit
(
ChronoUnit
.
MILLIS
)
private
Duration
statusLifetime
=
Duration
.
ofMillis
(
10_000L
);
/**
* Connect timeout when querying the instances' status and info.
*/
@D
efaultD
urationUnit
(
ChronoUnit
.
MILLIS
)
@DurationUnit
(
ChronoUnit
.
MILLIS
)
private
Duration
connectTimeout
=
Duration
.
ofMillis
(
2_000
);
/**
* read timeout when querying the instances' status and info.
*/
@D
efaultD
urationUnit
(
ChronoUnit
.
MILLIS
)
@DurationUnit
(
ChronoUnit
.
MILLIS
)
private
Duration
readTimeout
=
Duration
.
ofMillis
(
20_000
);
}
...
...
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