Commit Graph

3935 Commits

Author SHA1 Message Date
dependabot-preview[bot]
b2de855f37 Bump camel.version from 3.5.0 to 3.6.0 (#1548)
Bumps `camel.version` from 3.5.0 to 3.6.0.

Updates `camel-spring-boot-starter` from 3.5.0 to 3.6.0

Updates `camel-spring` from 3.5.0 to 3.6.0

Updates `camel-spring-boot` from 3.5.0 to 3.6.0

Updates `camel-core` from 3.5.0 to 3.6.0

Updates `camel-kafka` from 3.5.0 to 3.6.0

Updates `camel-jackson` from 3.5.0 to 3.6.0

Updates `camel-jms` from 3.5.0 to 3.6.0

Updates `camel-activemq` from 3.5.0 to 3.6.0

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-02 09:49:30 +01:00
dependabot-preview[bot]
38f0619d25 Bump maven-resolver from 1.3.3 to 1.6.1 (#1549)
Bumps [maven-resolver](https://github.com/apache/maven-resolver) from 1.3.3 to 1.6.1.
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.3.3...maven-resolver-1.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-02 09:49:08 +01:00
dependabot-preview[bot]
4084017246 Bump maven-project-info-reports-plugin from 3.1.0 to 3.1.1 (#1550)
Bumps [maven-project-info-reports-plugin](https://github.com/apache/maven-project-info-reports-plugin) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/apache/maven-project-info-reports-plugin/releases)
- [Commits](https://github.com/apache/maven-project-info-reports-plugin/compare/maven-project-info-reports-plugin-3.1.0...maven-project-info-reports-plugin-3.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-02 09:48:54 +01: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
d1f555f68b Updated jdk version 2020-10-27 14:06:57 +01:00
Marcin Grzejszczak
0decdd07ac Merge branch '2.2.x' 2020-10-26 12:40:23 +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
AshwiniKatur
81964c7a59 Provides Maven Plugin parameters documentation (#1527)
fixes #341
2020-10-17 09:04:27 +02:00
Shannon Pamperl
9df4da4ef5 Skip tasks when input directory is empty (#1530) 2020-10-17 07:36:20 +02:00
buildmaster
1bfa966550 Bumping versions 2020-10-17 00:21:05 +00:00
buildmaster
2582109f9d Bumping versions 2020-10-05 00:22:09 +00:00
buildmaster
68a657f2c0 Going back to snapshots 2020-10-03 14:55:00 +00:00
buildmaster
4e5267f939 Update SNAPSHOT to 3.0.0-M4 2020-10-03 14:39:36 +00:00
Marcin Grzejszczak
24c930acd2 Added a milestone profile to the maven build 2020-10-03 08:38:23 +02:00
Shannon Pamperl
e91b91efba Convert Gradle plugin from Groovy to Java (#1480)
* Migrate ContractsCopyTask from Groovy to Java

* Convert code to Java

* Refactor ContractsCopyTask

* Migrate GenerateClientStubsFromDslTask from Groovy to Java.

* Refactor GenerateClientStubsFromDslTask

* Clean up configuration of stubsJar

* Migrate GenerateServerTestsTask from Groovy to Java

* Refactor GenerateServerTestsTask

* Migrate PublishStubsToScmTask from Groovy to Java

* Refactor PublishStubsToScmTask

* Remove dead code

* Add additional test to ensure merged contract repository settings works the same as it did before. Add .get() calls to trigger task configuration otherwise, we can miss errors with task configuration.

* Fixup all visibility modifiers and drop any deprecated functionality

* Migrate plugin from Groovy to Java

* Refactor plugin from Groovy to Java

* Fixup project.version where it might not be correctly available yet

* Fix tests that were broken

* Fix functional testing that was failing

* Update functional tests to ensure that up-to-date checks are running as expected

* Added comment around deleteStubsAfterTest in each of the tasks where it is used, to remind editors what the property is for.

* Enable support for build cache

* Reconcile documentation with code

* Remove TODO that has been answered

* Add documentation on how to customize the verifierStubsJar

* Fix failing test

* Allow contractsDirectory to be null

* Fix failing tests

* Move all main source code to java source set
2020-10-02 17:39:53 +02:00
dependabot-preview[bot]
b12fc7ae32 Bump asm from 7.1 to 9.0 (#1526)
Bumps asm from 7.1 to 9.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Marcin Grzejszczak <marcin@grzejszczak.pl>
2020-10-01 13:56:27 +02:00
dependabot-preview[bot]
e51095d4e4 Bump checker from 3.1.1 to 3.6.1 (#1524)
Bumps [checker](https://github.com/typetools/checker-framework) from 3.1.1 to 3.6.1.
- [Release notes](https://github.com/typetools/checker-framework/releases)
- [Changelog](https://github.com/typetools/checker-framework/blob/master/changelog.txt)
- [Commits](https://github.com/typetools/checker-framework/compare/checker-framework-3.1.1...checker-framework-3.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-01 11:51:44 +02:00
dependabot-preview[bot]
8e6d0f9573 Bump camel.version from 3.4.3 to 3.5.0 (#1522)
Bumps `camel.version` from 3.4.3 to 3.5.0.

Updates `camel-spring-boot-starter` from 3.4.3 to 3.5.0

Updates `camel-spring` from 3.4.3 to 3.5.0

Updates `camel-spring-boot` from 3.4.3 to 3.5.0

Updates `camel-core` from 3.4.3 to 3.5.0

Updates `camel-kafka` from 3.4.3 to 3.5.0

Updates `camel-jackson` from 3.4.3 to 3.5.0

Updates `camel-jms` from 3.4.3 to 3.5.0

Updates `camel-activemq` from 3.4.3 to 3.5.0

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-01 11:51:27 +02:00
buildmaster
77fc817643 Bumping versions 2020-09-30 00:22:43 +00:00
Stessy Delcroix
a9c862f9f8 Rewrite spring-cloud-contract-pact module (#1520)
part of gh-1470
2020-09-29 18:41:30 +02:00
buildmaster
ea4bb31077 Bumping versions 2020-09-24 00:22:32 +00:00
Marcin Grzejszczak
85b3a0c966 Added missing new line 2020-09-23 11:59:15 +02:00
Marcin Grzejszczak
87cd26b562 Rerun test/stub generation when 'clean' was called; fixes gh-1514 2020-09-22 13:57:58 +02:00
Marcin Grzejszczak
21d57a42bd Fixed invalid type on message verifier 2020-09-21 17:45:24 +02:00
Marcin Grzejszczak
b738eca9f4 Fixed wrong conditional on missing beans for messaging; fixes gh-1513 2020-09-21 11:21:48 +02:00
Marcin Grzejszczak
6e951e60fd Editing and listing fix
Edited the new content that came in with the fix for issue 1511.
    Also fixed a code listing for JAX-RS. (The tags were misplaced,
    and the additional characters broke the listing. I also had to
    replace the tab characters with tabs.)
2020-09-18 12:29:48 +02:00
Marcin Grzejszczak
b839ebfa46 Updated metadata name 2020-09-17 18:04:27 +02:00
Marcin Grzejszczak
33c7219336 Custom mode & GRPC support 2020-09-17 17:29:48 +02:00
Marcin Grzejszczak
8892c03ae8 Added response builder 2020-09-17 17:29:48 +02:00
Marcin Grzejszczak
d2d38cf51a Added a builder from a request 2020-09-17 17:29:48 +02:00
Marcin Grzejszczak
bd4c01a5d8 Added queryparams support for custom mode 2020-09-17 17:29:48 +02:00
Marcin Grzejszczak
5e5782f736 Scheme & Protocol 2020-09-17 17:29:48 +02:00
Marcin Grzejszczak
2121b0b1b4 Added a CUSTOM test mode for test generation 2020-09-17 17:29:48 +02:00
Marcin Grzejszczak
a629f6ba10 Merge branch '2.2.x' 2020-09-17 16:53:28 +02:00
buildmaster
ffd6574532 Bumping versions 2020-09-17 00:23:53 +00:00
buildmaster
3a1e3c9640 Bumping versions 2020-09-13 00:19:25 +00:00
Marcin Grzejszczak
adbbae446a libs-x-local to just 'x' migration. Fixes gh-1507 2020-09-11 09:59:37 +02:00
Marcin Grzejszczak
a2fac97148 Added GraphQL support (#1506)
fixes #670
2020-09-11 09:32:11 +02:00
Snyk bot
2c5b71222a fix: pom.xml to reduce vulnerabilities (#1504)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JAVA-ORGAPACHEANT-569130
2020-09-10 14:18:25 +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
Henning Garus
5577f722bf 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:32:21 +02:00
Snyk bot
a04b745344 fix: pom.xml to reduce vulnerabilities (#1503)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JAVA-ORGAPACHEANT-569130
2020-09-09 09:10:15 +02:00
Lari Hotari
c27e675ba8 Support multiple WireMockConfigurationCustomizers (#1501)
- fixes #1500
2020-09-08 13:24:30 +02:00
Javier Alejandro Miño
0f338ca5a0 bug: fix validations for xml #1494 (#1495) 2020-09-07 09:07:20 +02:00
dependabot-preview[bot]
4a7a90e3f8 Bump contract.kotlin.version from 1.3.72 to 1.4.0 (#1491)
Bumps `contract.kotlin.version` from 1.3.72 to 1.4.0.

Updates `kotlin-bom` from 1.3.72 to 1.4.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.4.0/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.3.72...v1.4.0)

Updates `kotlin-scripting-compiler-embeddable` from 1.3.72 to 1.4.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.4.0/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.3.72...v1.4.0)

Updates `kotlin-daemon-embeddable` from 1.3.72 to 1.4.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.4.0/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.3.72...v1.4.0)

Updates `kotlin-compiler-embeddable` from 1.3.72 to 1.4.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.4.0/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.3.72...v1.4.0)

Updates `kotlin-maven-plugin` from 1.3.72 to 1.4.0

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-01 11:34:47 +02:00
dependabot-preview[bot]
58cb2256ce Bump maven-site-plugin from 3.8.2 to 3.9.1 (#1490)
Bumps [maven-site-plugin](https://github.com/apache/maven-site-plugin) from 3.8.2 to 3.9.1.
- [Release notes](https://github.com/apache/maven-site-plugin/releases)
- [Commits](https://github.com/apache/maven-site-plugin/compare/maven-site-plugin-3.8.2...maven-site-plugin-3.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-01 11:18:00 +02:00
dependabot-preview[bot]
fec70757c8 Bump wiremock-jre8-standalone from 2.27.0 to 2.27.1 (#1488)
Bumps [wiremock-jre8-standalone](https://github.com/tomakehurst/wiremock) from 2.27.0 to 2.27.1.
- [Release notes](https://github.com/tomakehurst/wiremock/releases)
- [Commits](https://github.com/tomakehurst/wiremock/compare/2.27.0...2.27.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-01 11:16:32 +02:00