-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added directory structure for projects
- Loading branch information
Showing
2 changed files
with
45 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
= Consumer Driven Contracts - a workshop | ||
Oliver Nautsch <oliver[email protected]> | ||
2017 | ||
:author: dada | ||
:author: | ||
ifndef::imagesdir[:imagesdir: images] | ||
:menu: | ||
:goto: | ||
|
@@ -14,16 +14,54 @@ ifndef::imagesdir[:imagesdir: images] | |
|
||
== Introduction | ||
|
||
=== Run the test | ||
Let's exercise, hack and talk about | ||
|
||
* checkout repo `` | ||
* cd into cdc-workshop | ||
* run `gradle test` (not from IDE because of the env variable `pact.rootDir` defined in build.gradle, or you add this environment variable) | ||
*Consumer Driven* Contracts. | ||
|
||
=== Projects | ||
== Exercise-01 - Run the test | ||
|
||
* checkout repo `[email protected]:ollin/cdc-workshop.git` | ||
* cd into `cdc-workshop` | ||
* run `./gradlew verify` (`./gradlew.bat` on windows) (not from IDE because of the env variable `pact.rootDir` defined in build.gradle, or you add this environment variable) | ||
|
||
== Projects | ||
|
||
=== Overview | ||
|
||
image::service-overview.draw.io.png[projects - producer - consumer] | ||
|
||
=== Directory Structure | ||
|
||
---- | ||
✔ ~/dev/src/github.com/ollin/cdc-workshop [master|✚ 2] | ||
15:59 $ tree -L 2 | ||
. | ||
├── address-service # <-- producer | ||
│ ├── build | ||
│ ├── build.gradle | ||
│ ├── README.adoc | ||
│ └── src | ||
├── build.gradle # <-- build file for both | ||
├── gradle | ||
│ └── wrapper | ||
├── gradlew | ||
├── gradlew.bat | ||
├── invoice-service # <-- consumer | ||
│ ├── build | ||
│ ├── build.gradle | ||
│ ├── README.adoc | ||
│ ├── src | ||
│ └── target | ||
├── out | ||
│ └── production | ||
├── presentation | ||
│ ├── build | ||
│ ├── build.gradle | ||
│ └── src | ||
├── README.adoc | ||
└── settings.gradle | ||
---- | ||
|
||
== The end | ||
|
||
dada |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<mxfile userAgent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/55.0.2883.87 Chrome/55.0.2883.87 Safari/537.36" version="6.2.0" editor="www.draw.io" type="device"><diagram name="Page-1">5ZjLcpswFIafhmU8IBkHL2snaTddZdG1ArLRRHCoEDbu01cYcRXJeDpc0sReWPy6f/rPHBkL76P8uyBJ+BMCyi1kB7mFHyyEkL3ZqJ9CuZSKg9deqRwFC7TWCM/sD9WirdWMBTTtNJQAXLKkK/oQx9SXHY0IAeduswPw7qwJOVJDePYJN9VfLJBhqXqu3eg/KDuG1cyOrWteiP96FJDFej4L4cP1U1ZHpBpLt09DEsC5JeFHC+8FgCxLUb6nvIBbYSv7Pb1RW69b0Fje0gGVHU6EZ3rrJAgETdO7lIoT86leprxUaEIZcVVyLLxLpYDXGpBa+06PRoWk+Zsrcup9KgNRiKgUF9VEd1h7Gs2lZls+n5uDqLWwdQjV4RB99sd66Gb/qqARDOPABg4Wn0BhWAwHWhLH2sBh7F8ZOCmKHDhnCSRq1wETKiYZxEpOIStWuWthEiCJrr1z1O6GwB0Y53vgIK6T4IPnU9+vW7ZqXjx37dojOc/tocaugRoPkHZGIO3eTlrQ35kinPZIxyDeIf2hQONtH7Tp6SHQaATQGwN07vxbcBuIvj0U34nCfjtj2N8vZMZJifZNh+zbonsM03mm6dB/YDp0P6Pptl/CdN58pqsOav7sPYYVF8zFjrMUuGmju4cUDdwkJ0Nq/s/4lEgHsvRkSM3L+Wq1+sDZBLszZhNnqQv1rOkEb2ZMJ+bN+TOGMB6484wUwuqxebFzrWu9PsOPfwE=</diagram></mxfile> | ||
<mxfile userAgent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/55.0.2883.87 Chrome/55.0.2883.87 Safari/537.36" version="6.2.4" editor="www.draw.io" type="device"><diagram name="Page-1">5ZhNl5sgFIZ/jcvJEYgZs2wz03bTVRZdM0qUM8RrEfPRX1+MaFTMNKfHj+k0WQReUODhvV6MQzb701dJ0/g7hEw42A1PDnlyMMbuaqV/CuVcKsjF61KJJA+NdhW2/BerOho15yHLWh0VgFA8bYsBJAkLVEujUsKx3W0Hoj1qSiNmCduAClv9wUMVl6rvuVf9G+NRXI2MXNPyQoPXSEKemPEcTHaXT9m8p9W9TP8spiEcGxJ5dshGAqiytD9tmCjgVtjK677caK3nLVmi7rrgsbziQEXOqilfJqbOFYxjzBXbpjQo6ke94w75HKu90DWki+YGTCp2ujkLVK9Nm4bBnil51l0qxxCDw/jFN9XjlT1ZGy1ucCfVhlCz31F96+uadcEsux8BtgjQMJQsyx4yJg9cr7oLpLH4TEl4rT2CaxzW2nsI3cSx9Ns4ELJ51FqTxxA4iIWDJwfQGGbDgefEsfxzfOgYTouiACF4CkV4hFzqxxKHRMsZ5MUsmyEjQVHT+oD06vrA7bgQGxAgL4OQnR+wIKh7NlpefG/puQM5z+ugJp4diT2k0QCkvftJS/Yz14SzDukE5Buk3xXo+nFWg+555PWAxgOAXlmgT+jvgttC9Omp+I4U9usJw/6OtDiKGUcl2jUddu+L7iFM59umw/+A6fDjhKZb/xem86czXbVR02fvIaw4Yy5GaC5w40Z3BynuOUmOhtR+z/iQSHuy9GhI7cP5YrF4x9mkfl+dIpuguQ7Uk6YTspowndgn548YwqTnzDNQCOvq9b+tS1vjH0Ty/Bs=</diagram></mxfile> |