Skip to content

Commit 6068c1c

Browse files
committed
feat(#2800): grouping on wallboard
2 parents b3be5b2 + eff73bb commit 6068c1c

File tree

48 files changed

+4294
-4905
lines changed

Some content is hidden

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

48 files changed

+4294
-4905
lines changed

.github/workflows/build-feature.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
steps:
1919

2020
- name: free disk space
21+
continue-on-error: true
2122
run: |
2223
df -h
2324
sudo swapoff -a

.github/workflows/build-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
run: echo ${{ steps.project.outputs.version }}
8585

8686
- name: Deploy Asciidoc docs output to GitHub Pages
87-
uses: JamesIves/[email protected].3
87+
uses: JamesIves/[email protected].8
8888
with:
8989
branch: gh-pages # The branch the action should deploy to.
9090
folder: spring-boot-admin-docs/target/generated-docs # The folder the action should deploy.

.github/workflows/release-to-maven-central.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: echo "Will start a Maven Central upload with version ${{ github.event.inputs.releaseversion }}"
2121

2222
- name: free disk space
23+
continue-on-error: true
2324
run: |
2425
df -h
2526
sudo swapoff -a
@@ -65,15 +66,15 @@ jobs:
6566
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
6667

6768
- name: Deploy Asciidoc docs output to GitHub Pages
68-
uses: JamesIves/[email protected].3
69+
uses: JamesIves/[email protected].8
6970
with:
7071
branch: gh-pages # The branch the action should deploy to.
7172
folder: spring-boot-admin-docs/target/generated-docs # The folder the action should deploy.
7273
target-folder: ${{ github.event.inputs.releaseversion }}
7374
clean: true # Automatically remove deleted files from the deploy branch
7475

7576
- name: Deploy Asciidoc docs output to GitHub Pages
76-
uses: JamesIves/[email protected].3
77+
uses: JamesIves/[email protected].8
7778
if: github.event.inputs.copyDocsToCurrent == 'true'
7879
with:
7980
branch: gh-pages # The branch the action should deploy to.
@@ -90,6 +91,7 @@ jobs:
9091
- uses: actions/checkout@v4
9192

9293
- name: free disk space
94+
continue-on-error: true
9395
run: |
9496
df -h
9597
sudo swapoff -a

.mvn/wrapper/maven-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
# KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations
1616
# under the License.
17-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.8/apache-maven-3.9.8-bin.zip
17+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip

pom.xml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<description>Spring Boot Admin</description>
2727
<url>https://github.com/codecentric/spring-boot-admin/</url>
2828
<properties>
29-
<revision>3.3.4-SNAPSHOT</revision>
29+
<revision>3.3.5-SNAPSHOT</revision>
3030
<java.version>17</java.version>
3131

3232
<maven.compiler.source>${java.version}</maven.compiler.source>
@@ -36,47 +36,48 @@
3636
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
3737

3838
<!-- used dependencies versions -->
39-
<spring-boot.version>3.3.2</spring-boot.version>
39+
<spring-boot.version>3.3.5</spring-boot.version>
4040
<spring-cloud.version>2023.0.3</spring-cloud.version>
4141
<wiremock.version>3.0.1</wiremock.version>
4242
<hazelcast-tests.version>5.4.0</hazelcast-tests.version>
4343
<findbugs-jsr305.version>3.0.2</findbugs-jsr305.version>
4444
<awaitility.version>4.2.2</awaitility.version>
45-
<testcontainers.version>1.20.1</testcontainers.version>
45+
<testcontainers.version>1.20.3</testcontainers.version>
4646
<eureka-client.version>3.1.1</eureka-client.version>
47-
<jetty.version>12.0.12</jetty.version>
47+
<jetty.version>12.0.14</jetty.version>
4848

4949
<!-- plugin versions -->
5050
<build-helper-maven-plugin.version>3.6.0</build-helper-maven-plugin.version>
5151
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
5252
<versions-maven-plugin.version>2.17.1
5353
</versions-maven-plugin.version> <!-- because of https://github.com/mojohaus/versions/issues/855 -->
5454
<maven-clean-plugin.version>3.4.0</maven-clean-plugin.version>
55-
<maven-site-plugin.version>3.12.1</maven-site-plugin.version>
56-
<maven-dependency-plugin.version>3.7.1</maven-dependency-plugin.version>
57-
<maven-deploy-plugin.version>3.1.2</maven-deploy-plugin.version>
55+
<maven-site-plugin.version>3.21.0</maven-site-plugin.version>
56+
<maven-dependency-plugin.version>3.8.0</maven-dependency-plugin.version>
57+
<maven-deploy-plugin.version>3.1.3</maven-deploy-plugin.version>
5858
<maven-enforcer-plugin.version>3.5.0</maven-enforcer-plugin.version>
59-
<maven-surefire-plugin.version>3.3.1</maven-surefire-plugin.version>
60-
<maven-failsafe-plugin.version>3.3.1</maven-failsafe-plugin.version>
61-
<maven-install-plugin.version>3.1.2</maven-install-plugin.version>
59+
<maven-surefire-plugin.version>3.5.1</maven-surefire-plugin.version>
60+
<maven-failsafe-plugin.version>3.5.1</maven-failsafe-plugin.version>
61+
<maven-install-plugin.version>3.1.3</maven-install-plugin.version>
6262
<maven-jar-plugin.version>3.4.2</maven-jar-plugin.version>
63-
<maven-javadoc-plugin.version>3.8.0</maven-javadoc-plugin.version>
63+
<maven-javadoc-plugin.version>3.10.1</maven-javadoc-plugin.version>
6464
<maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
6565
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
6666
<maven-war-plugin.version>3.4.0</maven-war-plugin.version>
67-
<maven-gpg-plugin.version>3.2.5</maven-gpg-plugin.version>
68-
<frontend-maven-plugin.version>1.15.0</frontend-maven-plugin.version>
67+
<maven-gpg-plugin.version>3.2.7</maven-gpg-plugin.version>
68+
<frontend-maven-plugin.version>1.15.1</frontend-maven-plugin.version>
6969
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
7070
<asciidoctor-maven-plugin.version>3.0.0</asciidoctor-maven-plugin.version>
7171
<asciidoctor-converter-doxia-module.version>3.0.0</asciidoctor-converter-doxia-module.version>
7272
<git-commit-id-maven-plugin.version>4.9.10</git-commit-id-maven-plugin.version>
7373
<flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version>
74-
<maven-checkstyle-plugin.version>3.4.0</maven-checkstyle-plugin.version>
75-
<checkstyle.version>10.17.0</checkstyle.version>
74+
<maven-checkstyle-plugin.version>3.5.0</maven-checkstyle-plugin.version>
75+
<checkstyle.version>10.18.2</checkstyle.version>
7676
<spring-javaformat-checkstyle.version>0.0.43</spring-javaformat-checkstyle.version>
7777
<nexus-staging-maven-plugin.version>1.7.0</nexus-staging-maven-plugin.version>
7878
<node.version>v18.20.2</node.version>
7979
<npm.version>10.5.2</npm.version>
80+
<jolokia-support-spring.version>2.1.1</jolokia-support-spring.version>
8081
</properties>
8182
<modules>
8283
<module>spring-boot-admin-server</module>

spring-boot-admin-docs/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</parent>
3131

3232
<properties>
33-
<site.skin.version>2.3.2</site.skin.version>
33+
<site.skin.version>2.3.3</site.skin.version>
3434
</properties>
3535

3636
<build>
@@ -100,7 +100,7 @@
100100
<plugin>
101101
<groupId>org.apache.maven.plugins</groupId>
102102
<artifactId>maven-project-info-reports-plugin</artifactId>
103-
<version>3.6.2</version>
103+
<version>3.8.0</version>
104104
</plugin>
105105
</plugins>
106106
</reporting>

spring-boot-admin-docs/src/site/asciidoc/client.adoc

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,31 @@ springBoot {
4141
[[jmx-bean-management]]
4242
== JMX-Bean Management ==
4343

44-
ATTENTION: Spring Boot 3 does currently not support Jolokia, so this will not work with Spring Boot 3 based applications.
45-
You can still monitor Spring Boot 2 applications with Jolokia endpoint using a Spring Boot Admin 3 server.
46-
47-
To interact with JMX-beans in the admin UI you have to include https://jolokia.org/[Jolokia] in your application.
44+
To interact with JMX-beans in the admin UI you have to include
45+
https://jolokia.org/[Jolokia] in your application and expose it via the actuator endpoint.
4846
As Jolokia is servlet based there is no support for reactive applications.
49-
In case you are using the `spring-boot-admin-starter-client` it will be pulled in for you, if not add Jolokia to your dependencies.
50-
With Spring Boot 2.2.0 you might want to set `spring.jmx.enabled=true` if you want to expose Spring beans via JMX.
47+
48+
You might want to set `spring.jmx.enabled=true` if you want to expose Spring beans via JMX.
49+
50+
==== Spring Boot 3 App ====
51+
52+
Spring Boot 3 does not support Jolokia directly, you need a separate dependency for Spring Boot 3 based applications.
53+
See https://jolokia.org/reference/html/manual/spring.html for more details.
54+
55+
[source,xml]
56+
.pom.xml
57+
----
58+
<dependency>
59+
<groupId>org.jolokia</groupId>
60+
<artifactId>jolokia-support-spring</artifactId>
61+
<version>2.1.0</version>
62+
</dependency>
63+
----
64+
65+
==== Spring Boot 2 App ====
66+
67+
You can still monitor Spring Boot 2 applications with Jolokia endpoint using a Spring Boot Admin 3 server. Spring Boot 2
68+
provided the actuator itself, so you only the need the plain jolokia dependency.
5169

5270
[source,xml]
5371
.pom.xml

spring-boot-admin-docs/src/site/asciidoc/customize_ui.adoc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,3 +216,19 @@ You can very simply hide views in the navbar:
216216
----
217217
include::{samples-dir}/spring-boot-admin-sample-servlet/src/main/resources/application.yml[tags=customization-view-settings]
218218
----
219+
220+
== Hide Service URL ==
221+
To hide service URLs in Spring Boot Admin UI entirely, set the following property in your Server's configuration:
222+
223+
|===
224+
| Property name | Default | Usage
225+
226+
| `spring.boot.admin.ui.hide-instance-url`
227+
| `false`
228+
| Set to `true` to hide service URLs as well as actions that require them in UI (e.g. jump to /health or /actuator).
229+
230+
|===
231+
232+
If you want to hide the URL for specific instances oncly, you can set the `hide-url` property in the instance metadata while registering a service.
233+
When using Spring Boot Admin Client you can set the property `spring.boot.admin.client.metadata.hide-url=true` in the corresponding config file.
234+
The value set in `metadata` does not have any effect, when the URLs are disabled in Server.

spring-boot-admin-docs/src/site/asciidoc/getting-started.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ NOTE: See also the {github-src}/spring-boot-admin-samples/spring-boot-admin-samp
4848
[[register-client-applications]]
4949
== Registering Client Applications ==
5050

51-
To register your application at the SBA Server, you can either include the SBA Client or use http://projects.spring.io/spring-cloud/spring-cloud.html[Spring Cloud Discovery] (e.g. Eureka, Consul, ...). There is also a <<server#spring-cloud-discovery-static-config,simple option using a static configuration on the SBA Server side>>.
51+
To register your application at the SBA Server, you can either include the SBA Client or use https://spring.io/projects/spring-cloud[Spring Cloud Discovery] (e.g. Eureka, Consul, ...). There is also a <<server#spring-cloud-discovery-static-config,simple option using a static configuration on the SBA Server side>>.
5252

5353
[[register-clients-via-spring-boot-admin]]
5454
=== Spring Boot Admin Client ===

0 commit comments

Comments
 (0)