Commit Graph

1523 Commits

Author SHA1 Message Date
Marcin Grzejszczak
a804894c9a Updated code and docs 2017-04-26 12:42:33 +02:00
Marcin Grzejszczak
cf52e6baa6 Added support fot dots in keys
without this change it's impossible to work with jsons that have dots in keys
    with this change that's possible again

    fixes #269
2017-04-26 12:12:17 +02:00
Marcin Grzejszczak
cf2e7e0feb Generate code that respects dots in keys
without this change if the user has jsons that contain `.` in a key (e.g. `foo.bar.baz`) then the produced json path is wrong
with this change we're wrapping all keys in `[' ']` format (e.g. `['foo.bar.baz']`) so that the json path gets properly translated

fixes #269
2017-04-25 14:57:07 +02:00
Marcin Grzejszczak
a994f7c17b Merge branch '1.0.x' 2017-04-25 13:15:56 +02:00
Marcin Grzejszczak
0d1b76c471 Fixed wrong test name 2017-04-25 13:15:04 +02:00
Marcin Grzejszczak
2942882775 :Merge branch '1.0.x' 2017-04-25 13:11:32 +02:00
Marcin Grzejszczak
0a09695b5c Fixed missing escaping of . in folder name
fixes #276
2017-04-25 13:07:10 +02:00
Marcin Grzejszczak
c69fd7e660 Fixed invalid activemq setup 2017-04-25 11:37:31 +02:00
Marcin Grzejszczak
50ad67126c Bumped Camel (#278) 2017-04-25 10:39:52 +02:00
Marcin Grzejszczak
b6ef18c0c4 Merge branch 'jkubrynski-features/docs-tuning' 2017-04-25 07:52:12 +02:00
Marcin Grzejszczak
0552560345 Polish 2017-04-25 07:52:00 +02:00
Marcin Grzejszczak
221b88044d Merge branch 'master' into features/docs-tuning 2017-04-25 07:42:33 +02:00
Marcin Grzejszczak
8c8c429dce Merge branch '1.0.x' 2017-04-25 07:41:21 +02:00
Ruslan Stelmachenko
fdd457e912 Fix typo, add links to MockMvc and RestAssured docs (#274)
The `RestAssured` framework was mistakenly named `RestEasy` in the documentation.
2017-04-25 07:41:11 +02:00
Ruslan Stelmachenko
4794354dd6 Fix typo, add links to MockMvc and RestAssured docs (#274)
The `RestAssured` framework was mistakenly named `RestEasy` in the documentation.
2017-04-25 07:40:38 +02:00
Dave Syer
cf637d040f Add custom jetty fault injector for 9.4 2017-04-24 14:45:52 +01:00
Marcin Grzejszczak
5b8256d729 Bumping versions 2017-04-24 15:38:57 +02:00
Marcin Grzejszczak
2380cb483e Merge branch '1.0.x' 2017-04-24 15:07:01 +02:00
Marcin Grzejszczak
1f71cde2be Removed unused import 2017-04-24 15:06:52 +02:00
Marcin Grzejszczak
e9770c6ac2 Fixed the build 2017-04-24 15:05:43 +02:00
Marcin Grzejszczak
c2fdead0b0 Merge branch '1.0.x' 2017-04-24 15:03:09 +02:00
Marcin Grzejszczak
b98223b082 Fixed checkstyle 2017-04-24 15:02:50 +02:00
Dave Syer
f3102d6366 Merge branch '1.0.x' 2017-04-24 09:21:35 +01:00
Dave Syer
d3f6ad90a8 Add a fault injector if server is jetty or tomcat
Tomcat sends a slightly different reponse and the client sees it
differently in the malformed chunk scenario. It would be good to have
the same features for Undertow.

See gh-270.
2017-04-24 09:20:17 +01:00
Dave Syer
225e83d025 Merge branch '1.0.x' 2017-04-21 16:10:30 +01:00
Dave Syer
235281ce9f Add @AutoConfigureHttpClient for SSL validation error handling
For tests only users can add this annotation to make the rest template
in their app ignore SSL validation.
2017-04-21 16:09:08 +01:00
jkubrynski
b600b85908 Polish documentation 2017-04-18 21:41:09 +02:00
Jakub Kubryński
7c8a8b4d33 Simplify samples used in documentation (#268) 2017-04-18 14:17:35 +02:00
Marcin Grzejszczak
3c8b712aa2 Made BlockBuilder public
it's a useful class that can be used by different test generators

fixes #254
2017-04-18 12:06:09 +02:00
Marcin Grzejszczak
60e2fa30c2 Updated docs 2017-04-18 10:19:47 +02:00
Marcin Grzejszczak
bfc0d87053 Merge branch '1.0.x' 2017-04-18 09:53:32 +02:00
Marcin Grzejszczak
4414ffb333 Added one more test 2017-04-18 09:53:08 +02:00
Marcin Grzejszczak
3ace049241 Fixed the quotes in JaxRs entities
without this change we're adding an unnecessary quote around a JaxRs entity
with this change we're ensuring that the quote is not there

fixes #261
2017-04-18 09:49:52 +02:00
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