Commit Graph

1122 Commits

Author SHA1 Message Date
Marcin Grzejszczak
b1fedad525 Updating mvnw for all projects 2016-09-19 12:46:24 +02:00
Marcin Grzejszczak
d510e8bdf3 Updated hostname for registered stubs 2016-09-16 16:28:58 +02:00
Marcin Grzejszczak
8c89ec48b7 Added EurekaClientConfigBean 2016-09-16 14:54:34 +02:00
Marcin Grzejszczak
616b4eefd5 Updating mvnw for all projects 2016-09-15 16:12:15 +02:00
Marcin Grzejszczak
2d4657a414 Removed RELEASE profile 2016-09-08 23:25:23 +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
01b462d8bb Updating mvnw for all projects 2016-09-07 17:28:31 +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
ae655f190f Changing aether version (#76)
we want to be consistent with Spring Boot CLI

fixes #75
2016-09-06 20:28:20 +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
Spencer Gibb
28e8cc538e Downgrade maven-aether-provider to 3.2.1
fixes gh-72
2016-09-02 15:55:43 -06:00
Marcin Grzejszczak
30e149694e Moved message collector to a separate config 2016-09-02 17:41:20 +02:00
Marcin Grzejszczak
708a9e8b36 Fixed broken tests 2016-09-02 17:34:41 +02:00
Marcin Grzejszczak
49c5089b40 Added missing beans + Added auto creation of message channels 2016-09-02 17:06:18 +02:00
Marcin Grzejszczak
18b5cf8890 Added a check for missing bean 2016-09-02 16:06:15 +02:00
Marcin Grzejszczak
423e42cb1d Updated docs 2016-09-02 12:07:39 +02:00
Marcin Grzejszczak
5ceb9f1a8e Simplified addition of dependencies by using Camden BOM 2016-09-02 11:24:08 +02:00
Marcin Grzejszczak
9cce129f3f Added WireMock dependency to Stub Runner starter 2016-09-02 11:24:08 +02:00
Marcin Grzejszczak
5c4bc1bda1 Added missing version 2016-09-02 11:24:08 +02:00
Mariusz Smykuła
75f6f20149 correct link to maven site (#71) 2016-09-02 09:49:48 +02:00
Mariusz Smykuła
99d64cb109 simplifed maven configuration and url fixes (#70) 2016-09-01 22:05:08 +02:00
Marcin Grzejszczak
0b37a45164 Bumped BOM to Brixton.SR5 2016-09-01 12:37:15 +02:00
Marcin Grzejszczak
ebd3fd3bcb Bumped Gradle to 3.0 and Boot to 1.4 in Gradle plugin 2016-08-30 11:43:01 +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
bfc2172d66 Applied checkstyle rules 2016-08-29 12:04:21 +02:00
Marcin Grzejszczak
c7a44b92ae Polish 2016-08-29 08:57:28 +02:00
Shannon Pamperl
3355c224ad Updated plugin to explicitly include Gradle Groovy plugin, so that this plugin can properly evaluate when included in a Gradle project that does not currently apply the Groovy plugin. Additionally, added unit tests to verify functionality provided by the plugin. Fixes gh-65 (#66) 2016-08-29 08:28:01 +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
4101014115 Simplified eureka ribbon integration 2016-08-26 23:27:34 +02:00
Marcin Grzejszczak
61bbec6485 Changed the boot version for snapshots to be consistent 2016-08-26 23:15:48 +02:00
Marcin Grzejszczak
6a7aebf1ad Bumping to Camden versions of apps
TODO: currently to make things work I had to pass ribbon.eureka.enabled=false, I'll have to think if I can somehow override it. The problem is that I have a lot of stuff on the classpath...
2016-08-26 16:43:40 +02:00
Marcin Grzejszczak
64d6d3ef6c Automatic stub registration (#64)
before this change the support for Stub Runner Boot with Service Discovery was pretty useless since Stub Runner stubbed service discovery. That makes a lot of sense in unit / integration tests but not when you want to do some version of end to end tests. 

With this change you can pass a property to enable automated registration of stubs in Service Discovery.

Technical changes:
* Added Zookeeper registration
* Added Eureka registration
* Added Consul registration
* Added checkstyle plugin - fixed part of exceptions
2016-08-26 16:09:16 +02:00
Marcin Grzejszczak
ab535dc8ea Updated the introductory project 2016-08-24 18:02:16 +02:00
Marcin Grzejszczak
43082d8ca6 Updated the documentation 2016-08-24 17:57:18 +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
3f799405a4 Fixed wrong ConfigurationProperties setting 2016-08-22 16:30:51 +02:00
Marcin Grzejszczak
48aa8f763d DiscoveryClient is optional
without this change if you want to use Spring Cloud Contract Stub Runner Cloud you need to have an implementation of Service Discovery on your classpath. That's not always what you want to have - actually the tests should be possible to be run without any backing service disvoery technology.

    This change provides the default NoOp Discovery Client in case where there is no bean of DiscoveryClient type.

    fixes #56
2016-08-22 16:29:09 +02:00
Marcin Grzejszczak
125b16edf6 Added missing $ methods
with the feature of passing only one side of the communication we've forgotten to add the $ version

fixes #51
2016-08-22 15:38:27 +02:00
Marcin Grzejszczak
940707fc5f Updating ghpages for all projects 2016-08-22 13:31:55 +02:00
Marcin Grzejszczak
012eac8f3c Fixing the build (#63)
we are installing artifacts twice. With Maven and Gradle then. We need to change that.

fixes #62
2016-08-22 11:33:17 +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
Dave Syer
f5183fcde3 Change repo URLs to https 2016-08-17 17:31:25 +01:00
Marcin Grzejszczak
fe9d881270 Updated docs 2016-08-17 14:26:26 +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