* pre-create directories for mounting and use /spring/cloud-contract and /contract and /spring-cloud-contract
* add documentation on how to run a customized gradle build to create tests
The suggested command
git clone -c core.longPaths true https://github.com/spring-cloud/spring-cloud-contract.git
fails because Git recognizes `true` as the repo to be cloned.
Add equal sign (`=`) to fix this issue.
This way Git will properly recognize `true` as the value for `core.longPaths`
* 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
* 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
* 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.
* Make contractsDslDir return null if neither directory exists at task configuration time
* Fixup docs type and make the wording a little more clear
* Allow username to be null for ls-remote command.
* Rework git commit id discovery to handle multiple uri schemes as well as fixing the bug with the MapProperty becoming finalized on first read and then not being able to further edit it (eg: in order to add git.commit)
* Begin migration of contract DSL
* Updates to docs relevant to moving default contracts for Gradle
* Switch to conventional lazy properties so that Gradle can automatically handle directory existence for us
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>
* 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
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.)
With this change by adding --thin.profile=kafka or --thin.profile=rabbit we're able to turn on messaging support for stub runner boot.
Also for Docker, you will be able to pass MESSAGING_TYPE env var with either rabbit or kafka as a value and we'll run the messaging support for you.
fixes gh-1468