Files
spring-cloud-contract/docs/src/main/asciidoc/migrations.adoc
Marcin Grzejszczak 0c234e089c Adding option to dump mappings to files (#356)
without this feature we're missing an option to print all mappings registered for servers
with this feature it will be much easier to debug what was registered in which http server stub. The mappings will be dumped to files with name artifactName_registeredPort

fixes #355
2017-07-13 15:30:34 +02:00

20 lines
742 B
Plaintext

:core_path: ../../../..
:doc_samples: {core_path}/samples/wiremock-jetty
:wiremock_tests: {core_path}/spring-cloud-contract-wiremock
In the following document we will write about necessary migration steps between versions.
=== 1.0.x -> 1.1.x
TODO: https://github.com/spring-cloud/spring-cloud-contract/issues/350
=== 1.1.x -> 1.2.x
==== Custom `HttpServerStub`
By introducing a method `String registeredMappings()` in the public interface
`HttpServerStub`, if you wrote a custom `HttpServerStub` implementation, you'll
have to implement that method too. It should return a `String` representing
all mappings available in a single `HttpServerStub`. Related to
https://github.com/spring-cloud/spring-cloud-contract/issues/355[issue 355].