Commit Graph

3356 Commits

Author SHA1 Message Date
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
Henning Garus
e4ed93acbf Autoconfigure a basic ConnectionFactory as RabbitMockConnectionFactory (#1499)
* Autoconfigure a basic ConnectionFactory as RabbitMockConnectionFactory

Autoconfigure a barebones ConnectionFactory implementation instead of CachingConnectionFactory. CachingConnectionFactory would require additional mocking to support its transaction tracking and caching the mocked connection isn't necessary.

Fixes gh-1259

* Add Test

Co-authored-by: Henning Garus <henning.garus@exxeta.com>
2020-09-09 10:33:09 +02:00
Javier Alejandro Miño
0f338ca5a0 bug: fix validations for xml #1494 (#1495) 2020-09-07 09:07:20 +02:00
spencergibb
8cfff1caa3 Updates s-c-build to 2.3.2.BUILD-SNAPSHOT 2020-08-03 13:48:45 -04:00
buildmaster
9908d6ffe9 Bumping versions to 2.2.5.BUILD-SNAPSHOT after release 2020-07-31 22:04:39 +00:00
buildmaster
464046806d Going back to snapshots 2020-07-31 22:04:38 +00:00
buildmaster
2041d753d4 Update SNAPSHOT to 2.2.4.RELEASE 2020-07-31 21:53:12 +00:00
Marcin Grzejszczak
ed146c9712 Fixed jdk version 2020-07-31 13:28:01 +02:00
Marcin Grzejszczak
59dd620415 Added proper conditions for on each execution 2020-07-31 12:46:35 +02:00
Marcin Grzejszczak
cd58c2c69a Fixde calling before / after methods too often 2020-07-31 12:34:47 +02:00
Marcin Grzejszczak
00714aa7e5 Removing port clash 2020-07-31 12:13:53 +02:00
Marcin Grzejszczak
339da7d1d6 StubRunnerExtension can't be registered around non static field
fixes gh-1458
2020-07-31 11:27:35 +02:00
Javier Alejandro Miño
29f9722c97 bug: handle xml with namespaces for validations #1427 (#1446)
fixes gh-1446
2020-07-28 13:40:30 +02:00
Swierkowski
a8fa381281 no length limit in ISO8601_WITH_OFFSET second's decimal fraction (#1456)
Fixes gh-1452
2020-07-24 18:21:14 +02:00
Marcin Grzejszczak
8d46da6199 Added more logging if there are no HTTP stubs in the attached JAR. Fixes gh-1342 2020-07-24 15:54:53 +02:00
Marcin Grzejszczak
3ebd51cdaa Added support for ReactiveDiscoveryClient; fixes gh-1392 2020-07-24 15:27:41 +02:00
Marcin Grzejszczak
db6f51038a Adds missing import for @EnableStubServer, related to gh-1389 2020-07-23 11:38:12 +02:00
Marcin Grzejszczak
51b6bbea4b Upgraded jdk for docker images 2020-07-21 08:40:40 +02:00
Marcin Grzejszczak
ba6bad379e Excluded Jaxb from Rest Assured 2020-07-15 11:55:19 +02:00
Marcin Grzejszczak
13c7d477fb Excluded jaxb-osgi 2020-07-13 14:50:07 +02:00
Marcin Grzejszczak
e49a53f422 Polish 2020-07-13 10:37:47 +02:00
Javier Alejandro Miño
d6cc0fcd65 bug: handle xml with namespaces closes #1427 (#1445) 2020-07-13 08:50:58 +02:00
Budlee
adae31914e Windows file path fix#1374 (#1402)
* Fix for file resolving for Windows

* #1374 Better way to fix issue with file format in FileStubDownloader

* #1374 Remove unused imports

* #1374 forgot to add tests for change

* Add more windows fixes

* Checkstyle fixes gh-1374

Checkstyle fixes gh-1374

* Checkstyle fixes gh-1374

* gh-1374 pr fix

* gh-1374 pr  fixes

* gh-1374 checkstyle changes

* missed off return from statement

* missed off return from statement

* Remove the FileUtils

* Remove the FileUtils
2020-06-20 17:23:32 +02:00
Marcin Grzejszczak
35ecf47432 Added sybmolic links 2020-06-09 16:54:47 +02:00
Marcin Grzejszczak
e05463f5f5 Migrated to docs.spring.io & updated sc-build 2020-06-04 13:49:58 +02:00
Marcin Grzejszczak
adc9645990 Updated the missing conditional on missing class for sc-loadbalancer; fixes gh-1419 2020-06-02 10:46:49 +02:00
buildmaster
b3ffbb99d3 Bumping versions to 2.2.4.BUILD-SNAPSHOT after release 2020-05-28 22:22:17 +00:00
buildmaster
f0e7556400 Going back to snapshots 2020-05-28 22:22:16 +00:00
buildmaster
8dfb8d3017 Update SNAPSHOT to 2.2.3.RELEASE 2020-05-28 22:08:31 +00:00
spencergibb
b8934a69e4 Updates plugin-publish-plugin to 0.11.0 2020-05-28 17:44:46 -04:00
spencergibb
0a409369ea Ignores .sdkmanrc 2020-05-28 17:15:08 -04:00
Marcin Grzejszczak
a6bf27ddb4 Updated configuration to include the stubbing of the new load balancer; fixes gh-1391 2020-05-21 15:08:05 +02:00
Marcin Grzejszczak
0d58b6e954 Reuses the defined content type instead of overriding it with the default; fixes gh-1388 2020-05-21 13:47:21 +02:00
Olga Maciaszek-Sharma
0b1625cac2 Upgrade gradle for docker builds. Upgrade kotlin. 2020-05-15 17:26:08 +02:00
Tim Ysewyn
174c3565dd Enhanced messaging support for stubrunner (#1389)
Co-authored-by: Tim Ysewyn <tysewyn@pivotal.io>
2020-05-14 11:10:51 +02:00