Commit Graph

90 Commits

Author SHA1 Message Date
Marcin Grzejszczak
429cab76cc Updated docs 2016-09-23 10:43:27 +02:00
Marcin Grzejszczak
01f4ad76be Consumer Contracts (#83)
With this functionality you can have one centralized repository containing all contracts. This repo will have to produce a JAR containing all contracts. The layout of the repository can be arbitrary but some sensible defaults are assumed. The producer will be able to then download that JAR and produce tests and stubs from it.

fixes #38
2016-09-23 10:16:51 +02:00
Marcin Grzejszczak
0d9a7b54ca Updated docs 2016-09-20 12:39:04 +02:00
Marcin Grzejszczak
b9eee2b2a7 Added docs about async
fixes #80
2016-09-20 12:33:55 +02:00
Marcin Grzejszczak
24b3f80e8c Going back to SNAPSHOTs 2016-09-08 23:25:23 +02:00
Marcin Grzejszczak
411ca5886b Bumping versions before RC1 release 2016-09-08 23:25:23 +02:00
Marcin Grzejszczak
f1a2561df3 Removed adoc footer 2016-09-07 18:02:02 +02:00
Marcin Grzejszczak
2b4eb23839 Added a section on how to work with stub jars
without this people can be surprised with the transitive dependencies being included in their project from stub jars.

We explain 3 different approaches to solving this issue.

Fixes #55
2016-09-07 10:03:24 +02:00
Marcin Grzejszczak
dbc7c57702 Changed the docs (#74)
* reorganized the entries (now the Contract details went to the very bottom)
* added FAQ section where versioning and dynamic props are better defined
* added in a couple of places links to Groovy JSON docs

fixes #69
2016-09-06 19:41:34 +02:00
Marcin Grzejszczak
5ceb9f1a8e Simplified addition of dependencies by using Camden BOM 2016-09-02 11:24:08 +02:00
Marcin Grzejszczak
8dde9f333b Removed XML entry
will readd it once it has been fixed

fixes #67
2016-08-30 11:06:04 +02:00
Marcin Grzejszczak
c59306ce5d Going back to snapshots 2016-08-27 00:27:55 +02:00
Marcin Grzejszczak
bf60a6b72f Bumping versions before release 2016-08-26 23:51:33 +02:00
Marcin Grzejszczak
ab535dc8ea Updated the introductory project 2016-08-24 18:02:16 +02:00
Marcin Grzejszczak
5d3e99874f Added options to pass props via @AutoConfigureStubRunner (#61)
* Added options to pass props via @AutoConfigureStubRunner

it's much easier to pass props via the annotation instead of property files. With this change the user can provide the properties inside the test via the annotation. The only thing that has to be passed via props is repositoryRoot (typically it's a very constant property that you set once).

fixes #46
2016-08-24 16:14:10 +02:00
Marcin Grzejszczak
940707fc5f Updating ghpages for all projects 2016-08-22 13:31:55 +02:00
Marcin Grzejszczak
317a25b589 Updating ghpages for all projects 2016-08-19 11:46:01 +02:00
Marcin Grzejszczak
aee4956998 Updating ghpages for all projects 2016-08-18 13:14:45 +02:00
Marcin Grzejszczak
70bcd8e232 Added doc version to docs 2016-08-17 14:22:16 +02:00
Marcin Grzejszczak
767b258f1c Updating ghpages for all projects 2016-08-17 12:44:47 +02:00
Marcin Grzejszczak
571d317185 Deploying documentation to proper folder
What we're missing ATM is different documentation versions for different application versions. What this change does is that it's:

- finding out what is the current branch (e.g. 1.0.x)
- finding out out what is the name of the main adoc file (e.g. spring-cloud-sleuth)
- pulling the changes from gh-pages after checkout
- finding out what is the list of comma separated whitelisted branches (via the `docs.whitelisted.branches` prop)
- in gh-pages creating a folder with name of the branch  (e.g. /1.0.x)
copying all the docs/target/generated-docs/ to that folder
- if the branch from which we're calling the script is NOT master then we're changing the ${main.adoc}.html to index.html so that it's easier to access the docs (e.g. http://cloud.spring.io/spring-cloud-sleuth/1.0.x/)
2016-08-16 15:38:21 +02:00
Marcin Grzejszczak
82302ae721 Fixed Contract build 2016-08-12 10:46:36 +02:00
Marcin Grzejszczak
2a4385863a Updated the gh-pages script 2016-08-09 18:57:52 +02:00
Marcin Grzejszczak
bc2aa8dab5 Updated the gh-pages script 2016-08-09 18:41:29 +02:00
Marcin Grzejszczak
26f020e3c3 Reordering folders 2016-08-09 18:20:31 +02:00
Marcin Grzejszczak
d82a5917b1 Fixed the broken links in docs 2016-07-27 22:40:19 +02:00
Dave Syer
afa3244262 Fix typo PUT->POST 2016-07-27 11:29:30 +01:00
Dave Syer
1e45f3b46a Add JSON stub example to wiremock restdocs section 2016-07-27 09:57:05 +01:00
Dave Syer
2b5e240bfc Clarify usage of verify() in restdocs 2016-07-27 09:51:52 +01:00
Dave Syer
5609ffe76c Add support for WireMock matchers on restdocs stub builder 2016-07-27 09:16:12 +01:00
Dave Syer
f7e4e036bd Fix standalone test scripts 2016-07-26 16:25:25 +01:00
Dave Syer
f46666324b Add some docs for restdocs usage and rename some things 2016-07-26 15:05:12 +01:00
Dave Syer
aa1d7dc074 Rename expect() to stubs() in mock server config 2016-07-26 14:29:20 +01:00
Dave Syer
997a17f923 Move restdocs stuff into its own package 2016-07-26 14:28:43 +01:00
Marcin Grzejszczak
4fbd4daa4f Updated docs 2016-07-26 11:45:55 +02:00
Marcin Grzejszczak
117fb10d21 Added WARNING message about GString and Groovy Map 2016-07-25 17:14:35 +02:00
Marcin Grzejszczak
c40069144d Upgraded docs 2016-07-25 13:16:17 +02:00
Marcin Grzejszczak
ddc66b4c0c Going back to Snapshots 2016-07-22 16:22:47 +02:00
Marcin Grzejszczak
62f7d48f8d Bumping version before M1 release 2016-07-22 16:17:30 +02:00
Marcin Grzejszczak
70acffd9e6 Updated docs (#48)
* Added docs + tests for spec
* Updated WireMock tests for docs
* Made wiremock tests dynamic
2016-07-22 14:07:44 +02:00
Dave Syer
b47ea3b0cd Add support for port and random port in WireMock
User can @AutoConfigureWireMock(port=0) for instance. Still missing:
declarative HTTPS.
2016-07-21 17:18:28 +01:00
Marcin Grzejszczak
5ef7a7fee2 Changed client / server to consumer / producer 2016-07-21 12:08:38 +02:00
Marcin Grzejszczak
ba9dbe4eb5 Updated docs 2016-07-20 20:12:53 +02:00
Marcin Grzejszczak
19092baabd Updated docs 2016-07-20 18:58:38 +02:00
Marcin Grzejszczak
d9a2c65749 Updated docs 2016-07-20 15:03:09 +02:00
Marcin Grzejszczak
4d5badafda Changed contractVerifier into contracts 2016-07-20 12:49:58 +02:00
Marcin Grzejszczak
c0c798e088 Fixed a typo in docs 2016-07-19 20:37:43 +02:00
Marcin Grzejszczak
f051726f22 Fixed a typo in docs 2016-07-19 20:32:18 +02:00
Marcin Grzejszczak
0720c2aa03 Updated docs 2016-07-19 19:56:31 +02:00
Marcin Grzejszczak
f389d59798 Updated docs 2016-07-19 19:22:32 +02:00