Fix cross references
This commit is contained in:
@@ -81,7 +81,7 @@ dependencyManagement {
|
||||
----
|
||||
|
||||
WARNING: Depending on the version you are using, you might need to adjust Apache Zookeeper version used in your project.
|
||||
You can read more about it in the <<spring-cloud-zookeeper-install,Install Zookeeper section>>.
|
||||
You can read more about it in the xref:spring-cloud-zookeeper/install.adoc[Install Zookeeper section].
|
||||
|
||||
Now you can create a standard Spring Boot application, such as the following HTTP server:
|
||||
|
||||
@@ -207,7 +207,7 @@ dependencyManagement {
|
||||
----
|
||||
|
||||
WARNING: Depending on the version you are using, you might need to adjust Apache Zookeeper version used in your project.
|
||||
You can read more about it in the <<spring-cloud-zookeeper-install,Install Zookeeper section>>.
|
||||
You can read more about it in the xref:spring-cloud-zookeeper/install.adoc[Install Zookeeper section].
|
||||
|
||||
Now you can create a standard Spring Boot application, such as the following HTTP server:
|
||||
|
||||
@@ -231,4 +231,4 @@ public class Application {
|
||||
The application retrieves configuration data from Zookeeper.
|
||||
|
||||
WARNING: If you use Spring Cloud Zookeeper Config, you need to set the `spring.config.import` property in order to bind to Zookeeper.
|
||||
You can read more about it in the <<config-data-import,Spring Boot Config Data Import section>>.
|
||||
You can read more about it in the xref:spring-cloud-zookeeper/config.adoc#config-data-import[Spring Boot Config Data Import section].
|
||||
|
||||
@@ -35,7 +35,7 @@ Including a dependency on
|
||||
autoconfiguration that sets up Spring Cloud Zookeeper Config.
|
||||
|
||||
CAUTION: When working with version 3.4 of Zookeeper you need to change
|
||||
the way you include the dependency as described <<spring-cloud-zookeeper-install,here>>.
|
||||
the way you include the dependency as described xref:spring-cloud-zookeeper/install.adoc[here].
|
||||
|
||||
[[config-data-import]]
|
||||
== Spring Boot Config Data Import
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
|
||||
The following topics cover how to work with Spring Cloud Zookeeper dependencies:
|
||||
|
||||
* <<spring-cloud-zookeeper-dependencies-using>>
|
||||
* <<spring-cloud-zookeeper-dependencies-activating>>
|
||||
* <<spring-cloud-zookeeper-dependencies-setting-up>>
|
||||
* <<spring-cloud-zookeeper-dependencies-configuring>>
|
||||
* xref:spring-cloud-zookeeper/dependencies.adoc#spring-cloud-zookeeper-dependencies-using[Using the Zookeeper Dependencies]
|
||||
* xref:spring-cloud-zookeeper/dependencies.adoc#spring-cloud-zookeeper-dependencies-activating[Activating Zookeeper Dependencies]
|
||||
* xref:spring-cloud-zookeeper/dependencies.adoc#spring-cloud-zookeeper-dependencies-setting-up[Setting up Zookeeper Dependencies]
|
||||
* xref:spring-cloud-zookeeper/dependencies.adoc#spring-cloud-zookeeper-dependencies-configuring[Configuring Spring Cloud Zookeeper Dependencies]
|
||||
|
||||
[[spring-cloud-zookeeper-dependencies-using]]
|
||||
== Using the Zookeeper Dependencies
|
||||
@@ -92,7 +92,7 @@ public interface NewsletterService {
|
||||
|
||||
The path is represented by the `path` YAML property and is the path under which the dependency is registered under Zookeeper.
|
||||
As described in the
|
||||
<<spring-cloud-zookeeper-dependencies-setting-up-aliases,previous section>>, Spring Cloud LoadBalancer operates on URLs.
|
||||
xref:spring-cloud-zookeeper/dependencies.adoc#spring-cloud-zookeeper-dependencies-setting-up-aliases[previous section], Spring Cloud LoadBalancer operates on URLs.
|
||||
As a result, this path is not compliant with its requirement.
|
||||
That is why Spring Cloud Zookeeper maps the alias to the proper path.
|
||||
|
||||
@@ -172,7 +172,7 @@ exception, and the Spring Context fails to set up. In other words, your applicat
|
||||
start if the required dependency is not registered in Zookeeper.
|
||||
|
||||
You can read more about Spring Cloud Zookeeper Presence Checker
|
||||
<<spring-cloud-zookeeper-dependency-watcher-presence-checker,later in this document>>.
|
||||
xref:spring-cloud-zookeeper/dependency-watcher.adoc#spring-cloud-zookeeper-dependency-watcher-presence-checker[later in this document].
|
||||
|
||||
[[stubs]]
|
||||
=== Stubs
|
||||
|
||||
@@ -19,7 +19,7 @@ NOTE: For web functionality, you still need to include
|
||||
`org.springframework.boot:spring-boot-starter-web`.
|
||||
|
||||
CAUTION: When working with version 3.4 of Zookeeper you need to change
|
||||
the way you include the dependency as described <<spring-cloud-zookeeper-install,here>>.
|
||||
the way you include the dependency as described xref:spring-cloud-zookeeper/install.adoc[here].
|
||||
|
||||
[[registering-with-zookeeper]]
|
||||
== Registering with Zookeeper
|
||||
@@ -61,7 +61,7 @@ spring:
|
||||
connect-string: localhost:2181
|
||||
----
|
||||
|
||||
CAUTION: If you use <<spring-cloud-zookeeper-config,Spring Cloud Zookeeper Config>>, the
|
||||
CAUTION: If you use xref:spring-cloud-zookeeper/config.adoc[Spring Cloud Zookeeper Config], the
|
||||
values shown in the preceding example need to be in `bootstrap.yml` instead of
|
||||
`application.yml`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user