<commit_before># Spring Cloud Contract

[![Join the chat at https://gitter.im/spring-cloud/spring-cloud-contract](https://badges.gitter.im/spring-cloud/spring-cloud-contract.svg)](https://gitter.im/spring-cloud/spring-cloud-contract?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

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 and service schemas 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:

- [x] Move DSL and stub runner code over from [Accurest](https://github.com/Codearte/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?
- [ ] Support [Citrus](http://www.citrusframework.org/) users (somehow?)
- [ ] Schema registries for binary formats like protobuf, thrift, avro<commit_msg>Remove duplicate material from ideas<commit_after># Spring Cloud Contract

Feature ideas:

- [x] Move DSL and stub runner code over from [Accurest](https://github.com/Codearte/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?
- [ ] Support [Citrus](http://www.citrusframework.org/) users (somehow?)
- [ ] Schema registries for binary formats like protobuf, thrift, avro
{'fraction_non_alphanumeric': 0.08299430431244914, 'fraction_numerical': 0.0, 'mean_word_length': 4.925301204819277, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5839257', 'n_tokens_mistral': 659, 'n_tokens_neox': 641, 'n_words': 273}