Files
spring-cloud-contract/README.md
2016-06-12 18:25:12 +01:00

1.1 KiB

Spring Cloud Contract

What you always need it confidence in pushing new features into a new application or service in a distributed system. This project provides support for Consumer Driven Contracts in Spring applications, covering a range of options for writing tests, publishing them as assets, asserting that a contract is kept by producers and consumers, for HTTP and message-based interactions.

Feature ideas:

  • Move DSL and stub runner code over from Accurest
  • Spring Restdocs generators
  • Wiremock support for Spring Boot apps
  • Wiremock mock servers using MockRestServiceServer (from Spring Test)
  • POJO-based contracts (packaging DTOs and stub declarations from the producer)
  • Sample messages packaged and injectable into Spring Cloud Stream consumer tests
  • DiscoveryClient support so backends can be stubbed or mocked transparently (declaratively)
  • Actuator endpoints that verify the state of contracts supported by the host service
  • Something to make PACT easier to use in Spring Boot apps?