Commit Graph

3290 Commits

Author SHA1 Message Date
Dave Syer
ac28dd204c Switch to Boot 1.5.4.RELEASE for samples 2017-06-13 14:46:05 +01:00
Marcin Grzejszczak
1a462893e2 Fixed missing header setting and messaging test indentation
fixes #323
2017-06-09 13:05:42 +02:00
Marcin Grzejszczak
2b527b5579 Added a null check if someone passes null as headers for amqp 2017-06-09 12:15:43 +02:00
Marcin Grzejszczak
325afbe3ec Fixed wrong condition on jsonpath for rest docs
fixes #298
2017-06-06 13:28:31 +02:00
Marcin Grzejszczak
b158ed4919 Fixed broken response headers assertions
fixes #318
2017-06-05 11:29:43 +02:00
Marcin Grzejszczak
4631ab6ea8 Adds support for execute in request body
fixes #313
2017-06-01 17:50:10 +02:00
Marcin Grzejszczak
fe299de7c2 Throwing exception when wanted remote repo and got a local m2 instance
without this change even though we want a remote repo to be used for the artifact we return a cached instance
with this change we're throwing an exception if we can't download the artifact and we found one cached in the local repo

fixes #312
2017-06-01 15:48:13 +02:00
Marcin Grzejszczak
066dd20709 Upgraded jacoco to 0.7.7 - without this moco tests fail 2017-05-31 17:06:37 +02:00
Marcin Grzejszczak
bd5a3b39ca Downgraded jacoco 2017-05-31 16:50:50 +02:00
Marcin Grzejszczak
cd67e1f0ea Revert "Trying to make moco thing work"
This reverts commit 29f1d614eb.
2017-05-31 16:42:50 +02:00
Marcin Grzejszczak
29f1d614eb Trying to make moco thing work 2017-05-31 16:30:42 +02:00
Marcin Grzejszczak
baf294dbbf Updated the contracts 2017-05-31 16:14:06 +02:00
Marcin Grzejszczak
8979b79c56 Added examples of multipart support
fixes #304
2017-05-31 15:40:35 +02:00
Marcin Grzejszczak
9fd4a21c43 Added backward compatibility with previous versions in terms of rabbitmq connection factory mocking
without this change we're not mocking all necessary methods in connection factory. When someone used the rabbittemplate, accidentaly we mocked the proper method to return a mocked connection factory. When rabbitmq started using different version of the `newConnection` in all places where rabbittemplate was used the real connection factory was created.
with this change we're mocking all `newConnection` methods to return a mocked connection

fixes #303
2017-05-31 14:28:49 +02:00
Marcin Grzejszczak
85a37345e3 Adding debug to see why the test is failing 2017-05-30 17:33:23 +02:00
Marcin Grzejszczak
766f90363b Trying to fix the build 2017-05-30 15:36:29 +02:00
Marcin Grzejszczak
84b0cc6478 Checking if the root project has .idea folder
fixes #286
2017-05-30 13:23:03 +02:00
Marcin Grzejszczak
4dc8ea4b9b -x test disables test generation
fixes #306
2017-05-30 12:37:44 +02:00
Marcin Grzejszczak
d5e933f169 Fixed tests 2017-05-26 22:27:46 +02:00
Marcin Grzejszczak
abcb82fad5 Fixed the wrong UUID regex
it allowed more letters than it should

fixes #302
2017-05-26 22:18:06 +02:00
Marcin Grzejszczak
464e886bb8 Added versions 2017-05-26 22:03:29 +02:00
Marcin Grzejszczak
5a82609e41 Added docs for byCommand and execute
without this there's no knowledge of what type should the method in byCommand and execute

fixes #299
2017-05-26 21:30:34 +02:00
Marcin Grzejszczak
05ca8f909b Added messagingContentType
without this change you can by mistake use the http headers in a messaging headers which will fail to work
with this change we're adding the messagingContentType() method that allows to properly set the content type

fixes #296
2017-05-26 20:43:44 +02:00
Marcin Grzejszczak
f599a8d745 Updated versions 2017-05-26 20:34:29 +02:00
Marcin Grzejszczak
9ffd9d8f6a Added stream doc updates 2017-05-26 19:37:41 +02:00
Marcin Grzejszczak
459448cb27 Asserting on the payload before converting it
without this change an NPE is thrown instead of a meaningful message

fixes #307
2017-05-26 18:45:53 +02:00
Marcin Grzejszczak
76de9cec36 Bumped versions after release 2017-05-26 14:57:34 +02:00
Marcin Grzejszczak
3c8b8ac81d Added workshops to the docs 2017-05-26 14:51:32 +02:00
Marcin Grzejszczak
a4d451484b Hacking activemq 2017-05-23 00:10:15 +02:00
Marcin Grzejszczak
e0ea1b27f0 Bumping versions to 1.1.2.BUILD-SNAPSHOT after release 2017-05-22 23:57:24 +02:00
Marcin Grzejszczak
82f68347fa Going back to snapshots 2017-05-22 23:57:23 +02:00
Marcin Grzejszczak
7a10b3bf34 Update SNAPSHOT to 1.1.1.RELEASE 2017-05-22 23:51:18 +02:00
Marcin Grzejszczak
f84f415d04 Fixing camel 2017-05-22 23:37:43 +02:00
Dave Syer
2f01b89345 Update Spring Boot versions in messaging tests 2017-05-15 11:41:09 +01:00
Marcin Grzejszczak
c7f5accae4 Merge branch '1.0.x' 2017-05-11 11:38:06 +02:00
Marcin Grzejszczak
4ddae01bf9 Calling toString on getting messaging headers
With contract like this

```
	// output message of the contract
	outputMessage {
		// destination to which the output message will be sent
		sentTo 'verifications'
		// the body of the output message
		body(
			eligible: true
		)
		headers {
			header("contentType", applicationJsonUtf8())
		}
	}
```

the generated test produces

```
ContractVerifierMessage response = contractVerifierMessaging.receive("verifications");
assertThat(response.getHeader("contentType")).isEqualTo("application/json;charset=UTF-8");
```

The headers in the response is a MimeType not a String so the equality check fails.

fixes #297
2017-05-11 11:37:50 +02:00
Marcin Grzejszczak
205bced50c Polish 2017-05-10 10:35:18 +02:00
Marcin Grzejszczak
e459763e7c Polish 2017-05-10 10:33:36 +02:00
Marcin Grzejszczak
6853faa648 Polish 2017-05-10 10:31:52 +02:00
Tomasz Kopczynski
3d23964dca Remove unnecessary host entry from Spring REST Docs contract generation 2017-05-08 19:21:12 +02:00
Marcin Grzejszczak
ad1c7cd95c Merge branch '1.0.x' 2017-05-05 12:36:21 +02:00
Marcin Grzejszczak
4c4a18ed22 Bumped versions after release 2017-05-05 12:31:03 +02:00
Marcin Grzejszczak
e9306448f9 Going back to snapshots 2017-05-05 12:23:41 +02:00
Marcin Grzejszczak
bd67bb2f26 Update SNAPSHOT to 1.0.5.RELEASE 2017-05-05 12:12:38 +02:00
Marcin Grzejszczak
ec65d1b69f Updated docs 2017-05-05 11:42:59 +02:00
Marcin Grzejszczak
f435201a90 Merge branch '1.0.x' 2017-05-05 11:42:22 +02:00
Tomasz Kopczynski
1851aaf2b0 Additional linking between sections in REST Docs integration documentation (#291) 2017-05-05 11:42:07 +02:00
Marcin Grzejszczak
15ef2cab35 Merge branch '1.0.x' 2017-05-05 11:41:39 +02:00
Marcin Grzejszczak
1e16934fce Bumped jsonassert to 0.4.9
without this change we analyze empty sets of jsonpath results improperly

fixes #289
2017-05-05 11:25:19 +02:00
Marcin Grzejszczak
a85ece38f3 Updated docs 2017-05-04 16:49:50 +02:00