Skip to content

Commit b37d7f1

Browse files
committed
chore: merge master
2 parents 8d44d8a + cf249cf commit b37d7f1

File tree

352 files changed

+2315
-1602
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

352 files changed

+2315
-1602
lines changed

.github/ISSUE_TEMPLATE/spring-boot-admin-bug.md

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,45 @@ assignees: ''
77

88
---
99

10+
## Spring Boot Admin Server information
11+
12+
- **Version**:
13+
<!-- Please specify the version of Spring Boot Admin server here -->
14+
15+
- **Spring Boot version**:
16+
<!-- Please specify the underlying Spring Boot version -->
17+
18+
- **Configured Security**:
19+
<!-- basic auth, LDAP, client-certificate, ... -->
20+
21+
- **Webflux or Servlet application**:
22+
<!-- Please specify whether your Admin server is as webflux or servlet application ... -->
23+
24+
## Client information
25+
26+
- **Spring Boot versions**:
27+
<!-- Please specify the Spring Boot version of the monitored instance(s) -->
28+
29+
- **Used discovery mechanism**:
30+
<!-- self registration, kubernetes, eureka, ... -->
31+
32+
- **Webflux or Servlet application**:
33+
<!-- Please specify whether your client application is as webflux or servlet application ... -->
34+
35+
## Description
36+
37+
38+
1039
<!--
1140
Thanks for raising a Spring Boot Admin issue. Please take the time to review the following
1241
categories as some of them do not apply here.
1342
1443
** Question **
15-
STOP!! Please ask questions about how to use something, or to understand why something isn't
44+
🛑 STOP!! Please ask questions about how to use something, or to understand why something isn't
1645
working as you expect it to, on Stack Overflow using the spring-boot-admin tag.
1746
1847
** Bug report **
19-
Please provide details of the problem, including the version of Spring Boot Admin and Spring Boot that you are using. If possible, please provide a test case or sample application that reproduces
48+
🪳 Please provide details of the problem, including the version of Spring Boot Admin and Spring Boot that you are using. If possible, please provide a test case or sample application that reproduces
2049
the problem. This makes it much easier for us to diagnose the problem and to verify that
2150
we have fixed it.
2251
-->

.github/workflows/build-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
java-version: '8'
7272

7373
- name: Cache local Maven repository
74-
uses: actions/[email protected].5
74+
uses: actions/[email protected].10
7575
env:
7676
cache-name: cache-mvn
7777
with:

.mvn/wrapper/MavenWrapperDownloader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ Spring, Spring Boot and Spring Cloud are trademarks of [Pivotal Software, Inc.](
102102
You can access snapshot builds from the sonatype snapshot repository by adding the following to your `repositories`:
103103
```xml
104104
<repository>
105-
<id>sonatype-nexus-snapshots</id>
106-
<name>Sonatype Nexus Snapshots</name>
107-
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
105+
<id>sba-snapshot</id>
106+
<name>Spring Boot Admin Snapshots</name>
107+
<url>https://maven.pkg.github.com/codecentric/spring-boot-admin</url>
108108
<snapshots>
109109
<enabled>true</enabled>
110110
</snapshots>

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@
5656
<build-helper-maven-plugin.version>3.3.0</build-helper-maven-plugin.version>
5757
<maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
5858
<maven-clean-plugin.version>3.2.0</maven-clean-plugin.version>
59-
<maven-site-plugin.version>3.12.0</maven-site-plugin.version>
59+
<maven-site-plugin.version>3.12.1</maven-site-plugin.version>
6060
<maven-dependency-plugin.version>3.3.0</maven-dependency-plugin.version>
6161
<maven-deploy-plugin.version>3.0.0</maven-deploy-plugin.version>
6262
<maven-enforcer-plugin.version>3.1.0</maven-enforcer-plugin.version>
6363
<maven-surefire-plugin.version>3.0.0-M7</maven-surefire-plugin.version>
6464
<maven-failsafe-plugin.version>3.0.0-M7</maven-failsafe-plugin.version>
6565
<maven-install-plugin.version>3.0.1</maven-install-plugin.version>
66-
<maven-jar-plugin.version>3.2.2</maven-jar-plugin.version>
67-
<maven-javadoc-plugin.version>3.4.0</maven-javadoc-plugin.version>
66+
<maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
67+
<maven-javadoc-plugin.version>3.4.1</maven-javadoc-plugin.version>
6868
<maven-resources-plugin.version>3.3.0</maven-resources-plugin.version>
6969
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
7070
<maven-war-plugin.version>3.3.2</maven-war-plugin.version>
@@ -73,8 +73,8 @@
7373
<jacoco-maven-plugin.version>0.8.8</jacoco-maven-plugin.version>
7474
<asciidoctor-maven-plugin.version>2.2.2</asciidoctor-maven-plugin.version>
7575
<git-commit-id-plugin.version>4.9.10</git-commit-id-plugin.version>
76-
<flatten-maven-plugin.version>1.2.7</flatten-maven-plugin.version>
77-
<maven-checkstyle-plugin.version>3.1.2</maven-checkstyle-plugin.version>
76+
<flatten-maven-plugin.version>1.3.0</flatten-maven-plugin.version>
77+
<maven-checkstyle-plugin.version>3.2.0</maven-checkstyle-plugin.version>
7878
<checkstyle.version>9.3</checkstyle.version>
7979
<spring-javaformat-checkstyle.version>0.0.29</spring-javaformat-checkstyle.version>
8080
<nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version>

spring-boot-admin-client/src/main/java/de/codecentric/boot/admin/client/config/ClientProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,

spring-boot-admin-client/src/main/java/de/codecentric/boot/admin/client/config/CloudFoundryApplicationProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,

spring-boot-admin-client/src/main/java/de/codecentric/boot/admin/client/config/InstanceProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,

spring-boot-admin-client/src/main/java/de/codecentric/boot/admin/client/config/ServiceHostType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,

spring-boot-admin-client/src/main/java/de/codecentric/boot/admin/client/config/SpringBootAdminClientAutoConfiguration.java

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright 2014-2019 the original author or authors.
2+
* Copyright 2014-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -32,6 +32,7 @@
3232
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
3333
import org.springframework.boot.autoconfigure.web.ServerProperties;
3434
import org.springframework.boot.autoconfigure.web.client.RestTemplateAutoConfiguration;
35+
import org.springframework.boot.autoconfigure.web.reactive.WebFluxProperties;
3536
import org.springframework.boot.autoconfigure.web.reactive.function.client.WebClientAutoConfiguration;
3637
import org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration;
3738
import org.springframework.boot.autoconfigure.web.servlet.DispatcherServletPath;
@@ -48,8 +49,8 @@
4849
import de.codecentric.boot.admin.client.registration.ApplicationFactory;
4950
import de.codecentric.boot.admin.client.registration.ApplicationRegistrator;
5051
import de.codecentric.boot.admin.client.registration.BlockingRegistrationClient;
51-
import de.codecentric.boot.admin.client.registration.DefaultApplicationFactory;
5252
import de.codecentric.boot.admin.client.registration.DefaultApplicationRegistrator;
53+
import de.codecentric.boot.admin.client.registration.ReactiveApplicationFactory;
5354
import de.codecentric.boot.admin.client.registration.ReactiveRegistrationClient;
5455
import de.codecentric.boot.admin.client.registration.RegistrationApplicationListener;
5556
import de.codecentric.boot.admin.client.registration.RegistrationClient;
@@ -125,9 +126,10 @@ public static class ReactiveConfiguration {
125126
@ConditionalOnMissingBean
126127
public ApplicationFactory applicationFactory(InstanceProperties instance, ManagementServerProperties management,
127128
ServerProperties server, PathMappedEndpoints pathMappedEndpoints, WebEndpointProperties webEndpoint,
128-
ObjectProvider<List<MetadataContributor>> metadataContributors) {
129-
return new DefaultApplicationFactory(instance, management, server, pathMappedEndpoints, webEndpoint,
130-
new CompositeMetadataContributor(metadataContributors.getIfAvailable(Collections::emptyList)));
129+
ObjectProvider<List<MetadataContributor>> metadataContributors, WebFluxProperties webFluxProperties) {
130+
return new ReactiveApplicationFactory(instance, management, server, pathMappedEndpoints, webEndpoint,
131+
new CompositeMetadataContributor(metadataContributors.getIfAvailable(Collections::emptyList)),
132+
webFluxProperties);
131133
}
132134

133135
}

0 commit comments

Comments
 (0)