From 6dd92ede85be488d68032827a5c4e3edee852e48 Mon Sep 17 00:00:00 2001 From: Jonatan Ivanov Date: Thu, 29 Jun 2023 18:12:11 -0700 Subject: [PATCH] Demo with samples --- .../src/main/resources/application.properties | 8 ++++++++ .../spring-boot-smoke-test-webflux/build.gradle | 1 + .../src/main/resources/application.properties | 8 ++++++++ 3 files changed, 17 insertions(+) diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator/src/main/resources/application.properties b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator/src/main/resources/application.properties index 2c35d22ff033..dd7ace1a0463 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator/src/main/resources/application.properties +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator/src/main/resources/application.properties @@ -31,3 +31,11 @@ management.endpoints.migrate-legacy-ids=true management.endpoints.jackson.isolated-object-mapper=true spring.jackson.visibility.field=any + +#management.tracing.sampling.probability=1.0 +#management.observations.http.server.actuator.enabled=false +#server.port=8080 +#management.server.port=8888 +#management.endpoints.web.base-path=/mgmt +#spring.mvc.servlet.path=/serv +#server.servlet.context-path=/ctx diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-webflux/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-webflux/build.gradle index f0a6461ff720..c439eb7dd33d 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-webflux/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-webflux/build.gradle @@ -8,6 +8,7 @@ description = "Spring Boot WebFlux smoke test" dependencies { implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-actuator")) implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-webflux")) + implementation 'io.micrometer:micrometer-tracing-bridge-brave' testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test")) testImplementation("io.projectreactor:reactor-test") diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-webflux/src/main/resources/application.properties b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-webflux/src/main/resources/application.properties index 641c39e65721..a7642d41b361 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-webflux/src/main/resources/application.properties +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-webflux/src/main/resources/application.properties @@ -1,3 +1,11 @@ +spring.application.name=sample management.endpoints.web.exposure.include=* management.endpoints.jackson.isolated-object-mapper=true spring.jackson.visibility.field=any + +#management.tracing.sampling.probability=1.0 +#management.observations.http.server.actuator.enabled=false +#server.port=8080 +#management.server.port=8888 +#management.endpoints.web.base-path=/mgmt +#spring.webflux.base-path=/base