Commit Graph

1153 Commits

Author SHA1 Message Date
Marcin Grzejszczak
a557b89a86 Fixed missing test side value resolution
without this change when generating contract tests we were not iterating over a parsed json with test side values only. We had DslProperties that were ignored by multiple dispatch

with this change when generating tests we first convert the parsed json into its test side (those with `producer` method) and only then perform any logic

fixes #85
2016-09-26 13:21:06 +02:00
Marcin Grzejszczak
0694d5b6f6 Updated docs 2016-09-23 22:44:01 +02:00
Marcin Grzejszczak
6381362ad6 Going back to Snapshots 2016-09-23 21:04:10 +02:00
Marcin Grzejszczak
8ee2ef4b18 Bumping versions before release 2016-09-23 20:07:58 +02:00
Marcin Grzejszczak
c37873f2b8 Added option to sign archives for Gradle 2016-09-23 19:44:00 +02:00
Marcin Grzejszczak
3f6a1601ab Updated docs 2016-09-23 16:02:27 +02:00
Marcin Grzejszczak
a3e67a1b34 Updated docs 2016-09-23 15:59:55 +02:00
Marcin Grzejszczak
186ac4762f Updated docs 2016-09-23 15:56:11 +02:00
Marcin Grzejszczak
e8917940ec Added option of multiple test base classes
without this change the user was forced to use a single base class for all of the generated tests. It could become problematic after some time.

With this change we provide a range of options of providing different base classes for different contracts.

fixes #16
2016-09-23 15:52:14 +02:00
Marcin Grzejszczak
82a3da2b37 Updated docs 2016-09-23 11:14:02 +02:00
Marcin Grzejszczak
e3d9ec2d28 Updated pom 2016-09-23 11:12:37 +02:00
Marcin Grzejszczak
f079b8e440 Updated docs 2016-09-23 10:56:52 +02:00
Marcin Grzejszczak
71cfdfe9cc Updated docs 2016-09-23 10:44:50 +02:00
Marcin Grzejszczak
429cab76cc Updated docs 2016-09-23 10:43:27 +02:00
Marcin Grzejszczak
788b35aedb Stubbing service discovery out completely
without this change if you have a DiscoveryClient bean it's used for delegation. For tests with Stub Runner actually we don't want to delegate. There is an option however to turn on this delegation

fixes #82
2016-09-23 10:41:02 +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
93782cb049 Polish 2016-09-21 11:06:16 +02:00
Marcin Grzejszczak
8bca6f22e6 Removed the CloudFoundry AutoConfig 2016-09-20 16:19:50 +02:00
Marcin Grzejszczak
cadaf079d6 Ignoring tests instead of removing them 2016-09-20 14:57:00 +02:00
Dave Syer
b81ff557bf Ensure version is scraped from parent pom 2016-09-20 13:48:13 +01: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
4528b6827f Removed some Gradle tests 2016-09-20 12:27:57 +02:00
Marcin Grzejszczak
7eefac9a15 Added missing conditional on class for Stream autoconfig 2016-09-20 09:25:24 +02:00
Marcin Grzejszczak
f09b96a524 Added missing delegates to AST to Contract 2016-09-20 08:35:21 +02:00
Marcin Grzejszczak
8bb5ce7297 Added AutoConfiguration available for Cloud profile that stubs out service discovery
will work only if the library is available at runtime (which shouldn't take place apart from testing environments)
2016-09-19 19:42:10 +02:00
Marcin Grzejszczak
55fc03d9d9 Added fast profile to skip Gradle tests 2016-09-19 19:42:10 +02:00
Marcin Grzejszczak
ad3fcb4bb7 Updating mvnw for all projects 2016-09-19 19:31:07 +02:00
Marcin Grzejszczak
09f982209e Updating mvnw for all projects 2016-09-19 14:18:02 +02:00
Dave Syer
06c9db932e Rationalize dependency management in BOMs 2016-09-19 12:02:25 +01:00
Dave Syer
1a9eccd5ef Move unnecessary dependencies up a level 2016-09-19 12:02:25 +01:00
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