Sync docs from master to gh-pages
This commit is contained in:
@@ -467,6 +467,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
|
||||
</li>
|
||||
<li><a href="#_common_repo_with_contracts">Common repo with contracts</a>
|
||||
<ul class="sectlevel4">
|
||||
<li><a href="#_repo_structure">Repo structure</a></li>
|
||||
<li><a href="#_workflow">Workflow</a>
|
||||
<ul class="sectlevel5">
|
||||
<li><a href="#_consumer">Consumer</a></li>
|
||||
@@ -2031,13 +2032,8 @@ It can be related to security issues where the consumers can’t clone the p
|
||||
contracts in a single place then you, as a producer, will know how many consumers you have and which
|
||||
consumer will you break with your local changes.</p>
|
||||
</div>
|
||||
<div class="ulist">
|
||||
<ul>
|
||||
<li>
|
||||
<p>Repo structure *</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sect4">
|
||||
<h5 id="_repo_structure">Repo structure</h5>
|
||||
<div class="paragraph">
|
||||
<p>Let’s assume that we have a producer with coordinates <code>com.example:server</code> and 3 consumers: <code>client1</code>,
|
||||
<code>client2</code>, <code>client3</code>. Then in the repository with common contracts you would have the following setup
|
||||
@@ -2202,8 +2198,8 @@ Those poms are necessary for the consumer side to run <code>mvn clean install -D
|
||||
<artifactId>contracts</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
|
||||
<name>Spring Cloud Contract Verifier Http Server Sample</name>
|
||||
<description>Spring Cloud Contract Verifier Http Server Sample</description>
|
||||
<name>Contracts</name>
|
||||
<description>Contains all the Spring Cloud Contracts, well, contracts. JAR used by the producers to generate tests and stubs</description>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
@@ -2266,6 +2262,7 @@ Those poms are necessary for the consumer side to run <code>mvn clean install -D
|
||||
</assembly></code></pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect4">
|
||||
<h5 id="_workflow">Workflow</h5>
|
||||
<div class="paragraph">
|
||||
|
||||
Reference in New Issue
Block a user