Commit Graph

3390 Commits

Author SHA1 Message Date
buildmaster
856e7d6e38 Bumping versions to 2.2.8.BUILD-SNAPSHOT after release 2021-04-21 18:17:28 +00:00
buildmaster
84793d8691 Going back to snapshots 2021-04-21 18:17:27 +00:00
buildmaster
ed99640b78 Update SNAPSHOT to 2.2.7.RELEASE 2021-04-21 18:07:49 +00:00
buildmaster
41f6412e92 Bumping versions 2021-04-20 22:21:26 +00:00
Marcin Grzejszczak
d3dbda8009 Bumped jsonassert to 0.6.0; fixes gh-1638 2021-04-13 16:33:44 +02:00
Marcin Grzejszczak
b6ca85197e Test binder comes from stream bom 2021-03-09 12:27:17 +01:00
Marcin Grzejszczak
0f9b1aec07 Fixed the schema link; fixes gh-1593 2021-03-09 10:13:49 +01:00
Marcin Grzejszczak
8e6a576d1e Properly escapes query parameters; fixes gh-1441 2021-03-09 10:02:04 +01:00
Marcin Grzejszczak
bda7ef3610 Removes trailing containers;fixes gh-1414 2021-03-08 17:14:46 +01:00
Marcin Grzejszczak
f9115dc30d Includes charset in regular expressions; fixes gh-1603 2021-03-08 12:11:03 +01:00
Marcin Grzejszczak
232e44ad3b Migrating to Github Actions 2021-02-18 11:14:52 +01:00
Arkadiusz Kondas
6853294573 Fix multipart request regex pattern (#1612)
* Fix multipart request regex pattern

* Add ? to \r to enable linux support in multipart regex
2021-02-17 19:50:36 +01:00
buildmaster
d6437e43bb Bumping versions to 2.2.7.BUILD-SNAPSHOT after release 2021-02-11 15:06:30 +00:00
buildmaster
c251d06260 Going back to snapshots 2021-02-11 15:06:29 +00:00
buildmaster
16c738e94d Update SNAPSHOT to 2.2.6.RELEASE 2021-02-11 14:55:51 +00:00
bono007
9a5c5a03f1 Adds support for Kafka message keys in contracts (#1585)
* Adds support for Kafka message keys in contracts

* Updated doc to include note on Kafka key SerDes

* Removes unintentional changes from previous commit.

Fixes gh-1267
2021-02-04 13:44:10 +01:00
Olga Maciaszek-Sharma
fcde7ee58d Use org security policy. 2021-01-22 10:20:21 +01:00
buildmaster
ab9d80c483 Workaround for https://github.com/spring-projects/spring-amqp/issues/1285 2020-12-18 16:21:47 +01:00
Sudhir Tumati
e3d0de106b Add javadoc for AutoConfigureWireMock (#1584) 2020-12-15 08:19:05 +01:00
Ankur Shukla
82d0e6eb7a Added a section "Cloning the repository on Windows" for issue#1567 (#1575)
* Added a section "Cloning the repository on Windows"

* Changes to incorporate feedback from Buzzardo

* Formatting as per feedback from Buzzardo

* removing bullet points.

* Presenting user with unnumbered list for git config options

* fixing a small typo

* adding code-fences and

Co-authored-by: Ankur Shukla <ashukla@thinkanalytics.com>

fixes gh-1567
2020-12-14 22:11:13 +01:00
bono007
ec909350e9 Generates random boolean request value for aBoolean() (#1581)
Fixes gh-1410
2020-12-11 00:25:35 +01:00
Marcin Grzejszczak
346ecc48a8 Added support for XPath for multiple elements; fixes gh-1546 2020-12-10 14:23:45 +01:00
Marcin Grzejszczak
1bb3516249 Fixed broken compilation 2020-12-10 14:00:53 +01:00
Marcin Grzejszczak
2b0ef2f2fc Don't parse the stream content type to generate stubs
without this change we're parsing the stream's output
with this change we treat it as it is

fixes gh-1535
2020-12-10 13:50:16 +01:00
Marcin Grzejszczak
919f4373db Bumped docker image base to 21.04; upgraded JDK; fixes gh-1579 2020-12-10 13:15:22 +01:00
Marcin Grzejszczak
1c1fb6f23a Makes in progress contract tests disabled
without this change all tests from a package were not generated if at least one was in progress
with this change all tests are generated but those in progress are disabled / ignored

fixes gh-1449
2020-12-10 13:02:58 +01:00
bono007
2eff08d08e Adds info note in Wiremock docs around use of WireMock.resetToDefaultMappings (#1577)
* Adds info note in Wiremock docs around use of WireMock.resetToDefaultMappings when using '_stubs' property.

Fixes gh-1451

* Polished newly added docs w/ proper tense.
2020-12-10 10:37:44 +01:00
bono007
172175929c Removes the exclusions of old asm lib from jsonpath lib. (#1578)
Reverts gh-1568
2020-12-10 08:57:36 +01:00
Marcin Grzejszczak
3ccee094c4 Polish 2020-12-09 11:01:27 +01:00
Marcin Grzejszczak
4b7234d73c Revert "Revert "Support auto configuration on meta-annotations (#1564)""
This reverts commit c5b12b91b5.
2020-12-09 09:30:45 +01:00
Marcin Grzejszczak
a0c3686292 Setting current static WireMock instance when server is already running
without this change when the server was already running we wouldn't set the static WireMock's instance to that running server. That would result in still pointing to a previously started WireMock instance
with this change we're setting the static server instance to the running server

fixes gh-1425
2020-12-09 09:29:29 +01:00
Marcin Grzejszczak
c46118139f Fixed checkstyle 2020-12-08 16:08:49 +01:00
Marcin Grzejszczak
c05e2d4dfb Fixed checkstyle 2020-12-08 14:15:11 +01:00
Marcin Grzejszczak
bfbfe89351 Added better logging messages for WireMock configuration 2020-12-08 14:12:27 +01:00
Marcin Grzejszczak
de8333deed Exludes asm libraries from jsonassert
fixes gh-1568
fixes gh-1561
2020-12-01 13:33:30 +01:00
Marcin Grzejszczak
c5b12b91b5 Revert "Support auto configuration on meta-annotations (#1564)"
This reverts commit e3646988fe.
2020-11-24 08:33:04 +01:00
Fabian Winter
e3646988fe Support auto configuration on meta-annotations (#1564)
With this change, the stubbing of WireMock will be reset even if only a
meta-annotation is annotated with `@AutoConfigureWireMock`.

Fixes gh-1204
2020-11-23 10:27:56 +01:00
bono007
67eb9560a3 Allows @AutoConfigureWireMock to respect user-specified properties in yml (#1566)
Fixes gh-1555
2020-11-23 09:27:50 +01:00
bono007
b0e33b3e90 Adds handling for empty list and empty map response body (#1556)
Fixes gh-1423
2020-11-17 08:31:53 +01:00
Marcin Grzejszczak
3477371021 Fixed naming 2020-11-10 22:07:02 +01:00
Marcin Grzejszczak
6873826d72 Made the StubGenerators not check if they are applicable to a file 2020-11-10 17:51:01 +01:00
Marcin Grzejszczak
0cbf8e9ca7 Introduced File for verifying if a stubgenerator should be used 2020-11-10 14:50:26 +01:00
buildmaster
8871838e69 Bumping versions to 2.2.6.BUILD-SNAPSHOT after release 2020-11-09 11:40:11 +00:00
buildmaster
81d2e7b3e9 Going back to snapshots 2020-11-09 11:40:10 +00:00
buildmaster
1ea1ea7113 Update SNAPSHOT to 2.2.5.RELEASE 2020-11-09 11:28:29 +00:00
Dominik Meister
5eab04c970 Delete only valid mappings before generating stubs at runtime (#1547)
* Delete only valid mappings before generating stubs at runtime

Improvements over the changes in 6d44c54c. We now only delete files
which contain valid mappings before generating stubs at runtime. This
way we ensure that we actually use the newly generated stubs, but still
are able to keep additional files around to be included via
`body(file(...))`.

* Incorporated PR feedback

- Removed HttpServerStubFactory
- Use SpringFactorieLoader to load HttpServerStub implementations
- Added tests for WireMockHttpServerStub#isAccepted(File)
2020-10-31 09:13:33 +01:00
Dominik Meister
6d44c54c80 Don't delete additional files before generating stubs on the fly (#1544)
This behaviour did break contracts which include request or response
bodies from separate files (via the `body(file(...))` directives).
2020-10-30 09:32:25 +01:00
Dominik Meister
692c5cf828 Option to disable '.git' suffix in git URLs (#1539)
Added stubrunner.properties.git.ensure-git-suffix to disable the automatic
addition of '.git' to git URLs.  This adds support for repositories which
don't support these kind of URLs (for example Azure DevOps).

Co-authored-by: Dominik Meister <dominik.meister@helsana.ch>
2020-10-27 17:43:12 +01:00
Marcin Grzejszczak
60ebf1aeda Bumped java docker image version 2020-10-26 12:40:14 +01:00
Stein Martin Hustad
a5f83f946a Fix invalid resource url on windows (#1537) 2020-10-23 11:35:52 +02:00