Commit Graph

3290 Commits

Author SHA1 Message Date
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
Dave Syer
d56006bc93 Fix build config for standalone tests (need to be run separately) 2016-08-14 09:44:20 -07:00
Dave Syer
3c104276fc Remove redundant shell scripts from sample builds 2016-08-14 09:19:37 -07:00
Dave Syer
89a2b36556 Remove unnecessary profile wrapper for repos in sample 2016-08-14 09:03:32 -07:00
Marcin Grzejszczak
a881fc449d Trying to fix code coverage 2016-08-12 15:09:22 +02:00
Marcin Grzejszczak
6d979dd3db Updating circlei build 2016-08-12 14:43:14 +02:00
Marcin Grzejszczak
889f35b995 Updating circlei build 2016-08-12 14:36:38 +02:00
Marcin Grzejszczak
ad5ecec340 Updating circlei build 2016-08-12 12:18:10 +02:00
Marcin Grzejszczak
c7665db7d9 Fixed code style issues 2016-08-12 11:46:41 +02:00
Marcin Grzejszczak
24c0de9b80 Removed jacoco from circleci build 2016-08-12 11:34:22 +02:00
Marcin Grzejszczak
cc89a26f15 Updating circlei build 2016-08-12 11:32:37 +02:00
Marcin Grzejszczak
74c846a27a Updating circlei build 2016-08-12 10:49:49 +02:00
Marcin Grzejszczak
82302ae721 Fixed Contract build 2016-08-12 10:46:36 +02:00
Marcin Grzejszczak
48e2908c32 Trying to make Contract pick proper module order 2016-08-11 14:49:24 +02:00
Marcin Grzejszczak
3552684f93 Invalid array size check
there was a problem with the way property related to array size check was passed. Not only was the condition inverse, but also the properties weren't passed.

With this change those issues were fixed, we've added the missing maven plugin feature and ensured that the array check is the default option.

fixes #60
2016-08-11 14:33:30 +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
1398ae66f1 Trying to fix build 2016-08-09 17:55:21 +02:00
Marcin Grzejszczak
6163d04169 Trying to fix build 2016-08-09 16:38:14 +02:00
Marcin Grzejszczak
1ae65c51c6 Trying to fix build 2016-08-09 16:02:47 +02:00
Marcin Grzejszczak
0a31683bfe Trying to fix build 2016-08-09 15:14:07 +02:00
Marcin Grzejszczak
01cfa8dcf9 Fixed build 2016-08-09 14:28:57 +02:00
Dave Syer
10293f4ad9 Update ideas 2016-08-05 09:16:57 -07:00
Marcin Grzejszczak
e0f206689e Updated wrong manifest creation 2016-08-03 07:01:44 -07:00
Dave Syer
88429ceada Use jopt instead of args4j (like Spring Boot does) 2016-07-29 08:57:42 +01:00
Dave Syer
256a61d23d Run standalone tests in 'integration' profile 2016-07-28 15:10:06 +01:00
Dave Syer
f3fa74ab00 Combine jacoco with gradle build 2016-07-28 13:39:32 +01:00
Dave Syer
71b16eac86 Configure Maven to run Gradle where necessary 2016-07-28 12:51:28 +01:00
Marcin Grzejszczak
ad889ee6d2 Updated CircleCI 2016-07-28 11:29:19 +02:00
Dave Syer
33a287dfb8 Polish 2016-07-28 10:23:02 +01:00
Dave Syer
bcce5699de Add additional build() step to allow ordered stubs 2016-07-28 09:32:30 +01:00
Marcin Grzejszczak
d82a5917b1 Fixed the broken links in docs 2016-07-27 22:40:19 +02:00