1067 Commits

Author SHA1 Message Date
buildmaster
8fb77978c3 Bumping versions 2024-01-25 00:13:40 +00:00
buildmaster
c028b6ecba Bumping versions to 3.1.11-SNAPSHOT after release 2024-01-24 11:40:15 +00:00
buildmaster
f869fcb4ef Going back to snapshots 2024-01-24 11:40:14 +00:00
buildmaster
ee6b545737 Update SNAPSHOT to 3.1.10 2024-01-24 11:26:50 +00:00
buildmaster
0ccd23f34b Bumping versions to 3.1.10-SNAPSHOT after release 2023-12-19 00:42:24 +00:00
buildmaster
8afe20d7ed Going back to snapshots 2023-12-19 00:42:23 +00:00
buildmaster
165cca53f8 Update SNAPSHOT to 3.1.9 2023-12-19 00:29:09 +00:00
Marcin Grzejszczak
7975d43351 Fixed missing support for String body for URL encoded request; fixes gh-1931 2023-09-05 18:27:20 +02:00
Marcin Grzejszczak
b063b3a4bf Fixed conversion to and from YAML; fixes gh-1921 2023-09-05 15:18:38 +02:00
buildmaster
8d897f44ed Bumping versions to 3.1.9-SNAPSHOT after release 2023-06-29 13:50:12 +00:00
buildmaster
30260c234f Going back to snapshots 2023-06-29 13:50:11 +00:00
buildmaster
40f46f68e4 Update SNAPSHOT to 3.1.8 2023-06-29 13:38:36 +00:00
buildmaster
70e9ccda4f Bumping versions to 3.1.8-SNAPSHOT after release 2023-04-27 16:34:07 +00:00
buildmaster
c50cd9f93e Going back to snapshots 2023-04-27 16:34:05 +00:00
buildmaster
d5e74a64e3 Update SNAPSHOT to 3.1.7 2023-04-27 16:07:47 +00:00
Marcin Grzejszczak
c29bd77521 Trying to fix the issue with descendant operator 2023-04-27 14:42:33 +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
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
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
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
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
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
Marcin Grzejszczak
414cd9c545 Fixed broken docs 2022-07-01 14:02:32 +02:00
Marcin Grzejszczak
60be47be07 Merge branch '3.0.x' into 3.1.x 2022-06-20 17:00:02 +02:00
arseniqueee
95153a0299 Add priority property to converted contract in yaml (#1797)
* Add priority property to converted contract in yaml

* Add test for convert priority property in yaml format

Co-authored-by: Фейтуллаев Арсений Валерьевич <avafeytullaev@sberbank.ru>
2022-06-10 22:44:52 +02:00
spencergibb
9c40dc23be Bumps to the next snapshot version 2022-05-27 14:21:44 -04:00
buildmaster
4556a28087 Update SNAPSHOT to 3.1.3 2022-05-27 00:44:01 +00:00
buildmaster
b77ae2ca3e Bumping versions 2022-05-06 00:23:05 +00:00
Maciej Zieliński
1304ccab0b #1778 properly resole query parameters for url and urlPath property in YAML files (#1780)
Co-authored-by: maciezie <maciej.zielinski@idemia.com>
2022-05-05 10:46:49 +02:00
buildmaster
e08abcb423 Bumping versions to 3.1.3-SNAPSHOT after release 2022-04-27 19:56:14 +00:00
buildmaster
3737c8e2c9 Going back to snapshots 2022-04-27 19:56:13 +00:00
buildmaster
774230c2fd Update SNAPSHOT to 3.1.2 2022-04-27 19:34:59 +00:00
Adrian E. Hjertstedt
ce03ee008b Harden detection of InaccessibleObjectException in MetadataUtil (#1766)
The immediate cause under JDK16+ is not always InaccessibleObjectException
meaning the fallback logic to copy properties does not kick in.

Additional logic is needed to harden the detection of the InaccessibleObjectException
to ensure it is catered for in the fallback logic.

Co-authored-by: Adrian Hjertstedt <adrian@adrianhj.com>
2022-03-25 15:30:25 +01:00
Koki Igarashi
9980eb0e9d fix #1656: Add missing support for JSON values inside arrays in WireMockStub (#1764)
Fixes #1656.
Currently, numbers, booleans and null inside arrays are double-quoted
when converting dsl into stub, which results in generating incorrect
json stubs for WireMock. This commit fixes it.
2022-03-24 14:53:47 +01:00
Koki Igarashi
5b7fef0f74 fix #1667: Add missing multipart support in Spock (#1763)
Currently, the multipart support for EXPLICIT and WEBCLIENTTEST
modes in Spock is missing. This commit adds the support.

Fixes #1667
2022-03-23 16:49:28 +01:00
spencergibb
792ad2e096 Ignores failing test.
See gh-1754
2022-02-25 14:02:13 -05:00
buildmaster
dae7582225 Bumping versions to 3.1.2-SNAPSHOT after release 2022-02-17 18:29:52 +00:00
buildmaster
7ecff81496 Going back to snapshots 2022-02-17 18:29:51 +00:00