spencergibb
fa789d00a5
removes unused import
2023-04-26 19:49:56 -04:00
Marcin Grzejszczak
7fce11ba8c
Picks nonarg constructor of a metadata for docs building
...
fixes gh-1896
2023-04-26 15:57:57 +02:00
Marcin Grzejszczak
0767043beb
Unignored the test; fixes gh-1754
2023-04-26 15:38:11 +02:00
Marcin Grzejszczak
b1f2d1f4a5
Does not include namespaces in body parsing
...
this PR iterates over child element nodes and checks for namespace attributes
Co-authored-by: @bensonbenny021 (https://github.com/spring-cloud/spring-cloud-contract/pull/1870 )
fixes gh-1709
2023-04-26 15:05:40 +02:00
Marcin Grzejszczak
a2444550d5
Does not do JSON assertions for byte payloads
...
without this change we're doing json assertions for payload that should read payloads as bytes
this is a workaround around the issues like https://github.com/spring-cloud/spring-cloud-contract/issues/1701 and https://github.com/spring-cloud/spring-cloud-contract/issues/1627 .
The problem is that due to the fact that we accept GString payloads where you can have complex json structures with consumer / producer parts, we are doing recursive analysis of that json structure. We're parsing the keys and values and then we're creating the final Json payload map. The issue is that sometimes the value is actually textual json which we shouldn't parse. We don't know that when the processing happens.
The workaround is about telling the framework to read the payload from a file as bytes and then simple equality check will happen without additional JSON assertions.
We will need to look into some better fixes for that in the future (e.g. 5.0.0).
fixes gh-1627
fixes gh-1701
2023-04-26 14:03:18 +02:00
Benedict Roeser
ee52a9f6ae
Do not escape quotes in IllegalStateException ( #1895 )
...
Now relativePath is logged correctly when resource is null.
fixes #1894
2023-04-26 12:58:07 +02:00
Marcin Grzejszczak
fe092b8981
Trying to fix gradle javadocs issues
2023-04-20 16:11:05 +02:00
buildmaster
bb2e0d14c8
Bumping versions
2023-03-15 00:17:29 +00:00
Daniel Frey
7bf491c41e
allow sendMessage to handle body from file ( #1867 )
...
* allow sendMessage to handle body from file
- add test for populating `bodyFromFileAsBytes`
- update `StubRunnerExecutor` to handle more than just json payloads
cherry picked changes from bugfix/1864
take 2
fixes #1864
* wrap bodyextractor value in jsonoutput, add tests for of file content types
cherry picked from bugfix/1864
#1864
2023-03-14 13:01:28 +01:00
Arseny Feytullaev
77b05b6a16
Fixes gh-1876 ( #1877 )
2023-03-09 16:06:47 +01:00
Arseny Feytullaev
622aef7bd2
Fixes gh-1873 ( #1874 )
...
Co-authored-by: Фейтуллаев Арсений Валерьевич <avafeytullaev@sberbank.ru >
2023-03-02 11:19:17 +01:00
buildmaster
8cc13c6912
Bumping versions
2023-02-26 00:18:16 +00:00
buildmaster
bb2d98b6cd
Bumping versions to 3.1.7-SNAPSHOT after release
2023-02-24 01:52:55 +00:00
buildmaster
8b6d1c61db
Going back to snapshots
2023-02-24 01:52:54 +00:00
buildmaster
6f14ccc597
Update SNAPSHOT to 3.1.6
2023-02-24 01:28:32 +00:00
Olga Maciaszek-Sharma
e90d9a73a2
Fix copying deps during docker image creation.
2023-02-23 14:34:47 +01:00
_NewAge
775f61d0ee
Attach up-to-date stubs to maven ( #1871 )
...
* Move PluginUnitTest into integration-test phase
* Fix test resources
Contracts that used messageFrom, messageBody, messageHeaders were modified to use triggeredBy input as seen in 1999066c5a
* Attach stubs to maven project even when they are up-to-date; fixes gh-1860
2023-02-20 13:57:51 +01:00
buildmaster
ae689f3e51
Bumping versions
2022-12-21 00:19:11 +00:00
buildmaster
d364b5d29e
Bumping versions
2022-11-29 00:22:39 +00:00
Marcin Grzejszczak
9b9514d64b
Fixed missing ?
2022-11-22 11:57:24 +01:00
Marcin Grzejszczak
9e536c8273
Fixed NPE when contract dir missing; fixes gh-1830
2022-11-22 11:56:04 +01:00
Marcin Grzejszczak
fe5a6a1ac3
Unified jgit versions; fixed gh-1822
2022-11-22 11:38:17 +01:00
Marcin Grzejszczak
a12fb23b07
Improves the warning message for legacy contract location in Gradle plugin; fixes gh-1847
2022-11-18 17:40:19 +01:00
Marcin Grzejszczak
c656d0322c
maven now fails when no contracts present in the contracts folder; fixes 1846
2022-11-18 17:26:11 +01:00
Marcin Grzejszczak
675f8a8270
Downgraded the BOM
2022-11-04 15:15:25 +01:00
Marcin Grzejszczak
eea1479f78
Downgraded the BOM
2022-11-04 14:46:27 +01:00
buildmaster
e8bbbab89f
Bumping versions to 3.1.6-SNAPSHOT after release
2022-11-03 16:30:10 +00:00
buildmaster
8f008d7c06
Going back to snapshots
2022-11-03 16:30:09 +00:00
buildmaster
4384d146ca
Update SNAPSHOT to 3.1.5
2022-11-03 16:06:49 +00:00
Marcin Grzejszczak
dbf7f53e92
Upgraded JUnit to 5.9.1
2022-10-18 11:45:04 +02:00
Marcin Grzejszczak
67aa350f11
Upgraded handlebars to 4.3.0
2022-10-18 11:39:21 +02:00
Marcin Grzejszczak
6e9e88e8d0
Upgraded commons-text to 1.10.0
2022-10-18 11:33:05 +02:00
Marcin Grzejszczak
5abc0ee65e
Upgraded Pact to 4.1.38
2022-10-18 11:27:17 +02:00
Marcin Grzejszczak
5aaea404a7
Upgraded Camel to 3.14.5
2022-10-18 11:10:48 +02:00
Kyujin Nam
9a611cdca9
fix: adoc code highlighting syntax ( #1817 ) ( #1820 )
2022-09-26 08:53:42 +02:00
buildmaster
0a11b49920
Going back to snapshots
2022-09-06 21:45:25 +00:00
buildmaster
3f080f5a1f
Update SNAPSHOT to 3.1.4
2022-09-06 21:22:15 +00:00
buildmaster
e992e55b2c
Bumping versions to 3.1.5-SNAPSHOT after release
2022-09-03 01:11:20 +00:00
buildmaster
21a1047f51
Going back to snapshots
2022-09-03 01:11:19 +00:00
buildmaster
1958b7dbb1
Update SNAPSHOT to 3.1.4
2022-09-03 00:47:51 +00:00
Marcin Grzejszczak
847562926a
Updated code to remove checkstyle issues
2022-09-01 12:49:06 +02:00
Marcin Grzejszczak
bc6742b67e
Merge branch 'jhh992000-3.0.x' into 3.1.x
2022-09-01 12:04:58 +02:00
Huneea
0047ae451d
test: add test case - find stub file in jar
2022-09-01 04:11:45 +09:00
Huneea
51045cc97e
fix: Fixed an issue that could not find a resources in the jar file
...
- Issues that occur when executing jar
2022-08-31 01:39:50 +09:00
Artem Makarov
9db7023ec7
Fix improperly accessed optional values; ServerDslProperty incorrectly wrapped by OptionalProperty ( #1809 )
...
Fixes gh-1808
2022-08-19 10:55:35 +02:00
buildmaster
99ac8d36c6
Bumping versions
2022-08-18 00:22:10 +00:00
Marcin Grzejszczak
83cbd9f943
Added a note about trusted and untrusted locations
2022-08-17 12:02:52 +02:00
Marcin Grzejszczak
70d11b934a
Prevents unzipping files outside of the target folder
2022-08-17 11:50:58 +02:00
Marcin Grzejszczak
af20693084
Allows multiple executions of the maven contract plugin; fixes gh-1807
2022-07-11 12:27:45 +02:00
Marcin Grzejszczak
414cd9c545
Fixed broken docs
2022-07-01 14:02:32 +02:00