spring-cloud-contract icon indicating copy to clipboard operation
spring-cloud-contract copied to clipboard

Support for Consumer Driven Contracts in Spring

Results 115 spring-cloud-contract issues
Sort by recently updated
recently updated
newest added

# The rationale We're looking for help in rewriting all possible production code from Groovy to Java. The Spock tests will remain written in Groovy, however ideally we'd prefer not...

enhancement
help wanted
good first issue

Given the contract definition ```groovy outputMessage { body(file('response.json')) } ``` response.json ```json "payload": "{\"propsA\":\"valueA\",\"propsB\":\"valueB\"}" ``` The above contract generates multiple asserts ```java assertThatJson(parsedJson).field("['payload']").field("['propsA']").isEqualTo("valueA"); assertThatJson(parsedJson).field("['payload']").field("['propsB']").isEqualTo("valueB"); ``` The payload here is a...

bug

**Is your feature request related to a problem? Please describe.** The `spring-cloud-contract-maven-plugin` has the option of specifying `imports` and `static imports` for the generated tests. Sometimes you might need to...

enhancement
help wanted

Hi, I've recently tried to write some contracts using the Kotlin DSL and I ran into some issues, I've also thought about ways how they could be remedied. The main...

enhancement
in progress

In the project i am currently working on an application has one queue on which it receives all events, therefore we are using one receiver class (annotated with @RabbitListener) with...

enhancement

Hi @marcingrzejszczak . As we discussed https://gitter.im/spring-cloud/spring-cloud-contract?at=5bc6f78de4b1d87dc792a453 , you could try to handle test web socket via sth like this https://stackoverflow.com/questions/43127591/wiremock-equivalent-for-websockets. Thx.

enhancement

When writing producer-side contracts, my services have complex setup. Some contracts-tests require different setup, so we use different base classes. I find the `baseClassMappings` (in `pom.xml`) hard to use, because...

enhancement
waiting-for-votes

I'm trying to use Spring Cloud Contract to test Messaging (Spring Cloud Stream over Kafka). The message I need to send is JSON encoded, and one of its fields is...

bug

Bug report: I'm using spring cloud contract version **2.0.2.RELEASE** and when I'm generating code with the following contracts I'm getting 2 errors: 1. The `JSONArray` import is missing in the...

enhancement

Some time ago we started to use Consumer Driven Contracts. All the colleagues where keen to understand how it works because we got more and more problems to change the...

enhancement
backlog