diff --git a/docs/src/main/asciidoc/se/guides/health.adoc b/docs/src/main/asciidoc/se/guides/health.adoc index 82df96fe9da..0d1e659e760 100644 --- a/docs/src/main/asciidoc/se/guides/health.adoc +++ b/docs/src/main/asciidoc/se/guides/health.adoc @@ -176,7 +176,7 @@ You can add your own custom health checks. These typically assess the conditions The following trivial but illustrative example adds a custom start-up check that reports `DOWN` until the server has been running for eight seconds and reports `UP` thereafter. Note the two main steps in the example code: 1. Create an explicit instance of `ObserveFeature` which contains a custom `HealthObserver` with the custom check. -2. Add that `ObserveFeature` instance to the `WebServer.Builder` as a feature. +2. Add that `ObserveFeature` instance to the `WebServerConfig.Builder` as a feature. [source,java] diff --git a/docs/src/main/asciidoc/se/testing.adoc b/docs/src/main/asciidoc/se/testing.adoc index db7f71379bb..8bc1f5dfb5e 100644 --- a/docs/src/main/asciidoc/se/testing.adoc +++ b/docs/src/main/asciidoc/se/testing.adoc @@ -24,6 +24,8 @@ :feature-name: Helidon Testing Framework :rootdir: {docdir}/.. +include::{rootdir}/includes/se.adoc[] + == Contents - <> @@ -98,7 +100,7 @@ and may have any name. The `@SetUpRoute` annotation has `value` with socket name |=== -In addition, a static method annotated with `@SetUpServer` can be defined for `@ServerTest`, which has a single parameter of `WebServer.Builder`. +In addition, a static method annotated with `@SetUpServer` can be defined for `@ServerTest`, which has a single parameter of link:{javadoc-base-url}/io.helidon.webserver/io/helidon/webserver/WebServerConfig.Builder.html[`WebServerConfig.Builder`]. The following table lists the injectable types (through constructor or method injection).