Commit Graph

3290 Commits

Author SHA1 Message Date
Marcin Grzejszczak
fb2520b9d3 Merge branch '1.0.x' 2017-04-14 17:16:17 +02:00
Marcin Grzejszczak
f4aa98636e Fixed tests 2017-04-14 17:16:01 +02:00
Marcin Grzejszczak
1a22c00359 Merge branch '1.0.x' 2017-04-14 17:10:17 +02:00
Marcin Grzejszczak
3b00f11efc Updated docs 2017-04-14 16:04:36 +02:00
Marcin Grzejszczak
2ce4b2e67c Added an option to use Rest Assured version 3.0
without this change it's impossible to use Rest Assured 3.0 with Spring Cloud Contract. That's because we are adding Rest Assured 2.0 imports.
with this change we detect Rest Assured version. If 3.0 is available on the classpath we change the imports

fixes #266
2017-04-14 15:31:22 +02:00
Marcin Grzejszczak
0f870e7bab Merge branch '1.0.x' 2017-04-14 12:34:43 +02:00
Marcin Grzejszczak
28885c1459 JSONPath compilation fails when there is an array, attribute that is an array and then attribute on an execute()
without this change we're not referrencing arrays properly in json path. For some reason (that I don't remember) we had a deferrencing via 'get' in the code. 'get' is not present in JSON Path. That's why it was failing
with this change we're deferrencing arrays via `.` or index

fixes #251
2017-04-14 12:30:57 +02:00
Marcin Grzejszczak
2d6abb246b Merge branch '1.0.x' 2017-04-14 10:13:03 +02:00
Marcin Grzejszczak
5903aaa689 Added a printing of exceptions when failing to download a stub
without this change the root reason for exception is not presented
with this change we're printing that reason

fixes #248
2017-04-14 10:11:58 +02:00
Marcin Grzejszczak
bca972df63 Updated test 2017-04-14 10:01:22 +02:00
Marcin Grzejszczak
b142195d09 Merge branch '1.0.x' 2017-04-14 09:59:31 +02:00
Marcin Grzejszczak
5843234fa1 Fixed invalid escaping of characters for regex
without this change some regex contained invalid characters. Even though the code compiles the regular expressions passed to json assert are invalid.
with this change that gets fixed and tests are added. We're now checking if the code can be executed and not only compiled. We also check if WireMock fed with the stubs generated from these cases works fine and not only do we check if stub mappings are properly generated.

fixes #250
2017-04-14 09:40:15 +02:00
Marcin Grzejszczak
0798656f0e Merge branch '1.0.x' 2017-04-12 13:07:51 +02:00
Marcin Grzejszczak
f5d1a72359 Updated mvnw to 3.5.0
fixes #263
2017-04-12 13:07:22 +02:00
Marcin Grzejszczak
ef5020986f Bumping versions to 1.1.1.BUILD-SNAPSHOT after release 2017-04-11 11:26:11 +02:00
Marcin Grzejszczak
fe14d5c7d9 Going back to snapshots 2017-04-11 11:23:13 +02:00
Marcin Grzejszczak
c167df4fd6 Update SNAPSHOT to 1.1.0.RELEASE 2017-04-11 11:08:00 +02:00
Marcin Grzejszczak
d8aa81bf44 Updated docs 2017-04-10 14:42:03 +02:00
Marcin Grzejszczak
c8aeaa5c28 Updated docs 2017-04-10 14:34:16 +02:00
Peter Frank
05f7602bb3 gh-258: Added logging config for debugging to FAQ (#259)
Changed the advice to use Spring Boot's logging common application property and linked to appropriate reference page for more information

fixes gh-258
2017-04-05 06:55:34 +02:00
Marcin Grzejszczak
4a93090ccc Adding an option to override file extension (#255)
without this change it's impossible to change the generated file extension
with this change you can do it. E.g. provide your own test generator that will store files in `.php` file

fixes #253
2017-03-28 14:41:51 +02:00
Dave Syer
ac9e976a4b Merge remote-tracking branch 'origin/1.0.x' 2017-03-24 09:43:04 +00:00
Dave Syer
c1e285e76f Fix property source ordering issue with bootstrap context
The problem is that the bootstrap context gets created first
with the correct wiremock server port, and then the environment
is merged into the main context before the annotation
property source is created, so the latter takes precedence.
Fixed by re-ordering the property sources if detected.

Also switch off bootstrap context for wiremock server

Fixes gh-225
2017-03-24 09:41:36 +00:00
Dave Syer
aeefdd8636 Merge remote-tracking branch 'origin/1.0.x' 2017-03-22 12:06:58 +00:00
Dave Syer
d9ff5667a7 Remove duplicate plugin 2017-03-22 12:06:55 +00:00
Dave Syer
fd04629f8f Extend range of HTTP request methods in Wiremock REST docs
Fixes gh-249
2017-03-22 12:05:16 +00:00
Marcin Grzejszczak
4d895da4fb Merge branch '1.0.x' 2017-03-20 18:04:19 +01:00
Peter Frank
ebf09dfda3 gh-245: Created new DslProperty creation methods (#247)
Added:
- iso8601WithOffset which handles iso8601 date time with timezone date validation
- nonBlankString which handles string that aren't "" and also just whitespace
- nonEmptyString which handles "" strings
- anyOf(String...) which handles enumerated style attributes for validation

fixes #245

changed the name of iso8601DatetimeWithTimezone to anyIso8601WithOffset per code review suggestions
2017-03-20 18:02:40 +01:00
Marcin Grzejszczak
a6cd890b50 Going back to snapshots 2017-03-17 10:09:33 +01:00
Marcin Grzejszczak
47dc54cad4 Update SNAPSHOT to 1.1.0.RC1 2017-03-17 10:04:52 +01:00
Marcin Grzejszczak
77f42a6f98 Bumped versions 2017-03-13 09:51:30 +01:00
Marcin Grzejszczak
f64cbdce36 Bumping versions 2017-03-10 16:27:46 +01:00
Marcin Grzejszczak
169d1f11c1 Merge branch '1.0.x' 2017-03-10 16:25:25 +01:00
Marcin Grzejszczak
2473408a73 Updated maven docs 2017-03-10 16:24:08 +01:00
Marcin Grzejszczak
ef9c567d46 Going back to snapshots 2017-03-10 15:00:53 +01:00
Marcin Grzejszczak
63180de4fe Bumping versions before release 2017-03-10 14:46:47 +01:00
Marcin Grzejszczak
8d38beafd9 Merge branch '1.0.x' 2017-03-10 14:25:26 +01:00
Marcin Grzejszczak
a3c1167df4 Polish 2017-03-10 14:25:18 +01:00
Marcin Grzejszczak
2520a681c1 Polish 2017-03-10 14:22:38 +01:00
Marcin Grzejszczak
87b374c1ad Merge branch '1.0.x' 2017-03-10 14:22:00 +01:00
Marcin Grzejszczak
1502c4c7ad Updated gradle plugin build 2017-03-10 14:17:47 +01:00
Marcin Grzejszczak
5f714f13c1 Merge branch '1.0.x' 2017-03-10 13:04:02 +01:00
Marcin Grzejszczak
7c1eb995ae Added links to samples with stub runner cloud
fixes #241
2017-03-10 13:03:45 +01:00
Marcin Grzejszczak
aa92a11d82 Added docs for he STS issue
fixes #244
2017-03-10 12:53:06 +01:00
Marcin Grzejszczak
456253bfe8 Moved releaser config to config folder 2017-03-10 12:52:43 +01:00
Marcin Grzejszczak
302ded2c3d Added the releaser config 2017-03-10 12:31:18 +01:00
Marcin Grzejszczak
74359041da Added build with docs script 2017-03-10 12:20:07 +01:00
Marcin Grzejszczak
1dff76c8b2 Updated mvnw 2017-03-08 12:10:08 +01:00
Marcin Grzejszczak
3425f9aefa Updated mvnw 2017-03-08 12:08:24 +01:00
Marcin Grzejszczak
220ddd85bf Bumped libs: 2017-03-07 23:11:51 +01:00