title: spring cloud contract POC
body: <p>I am trying to create an example POC for my team to use Spring cloud contract.</p>
  
  <p>I was able to receive Green-Pass for Producer side but on Consumer side, I keep getting <br><code>No stubs or contracts were found for [com.datson:cloudcontract-producer:+:stubs] and the switch to fail on no stubs was set.</code>  The contracts are present.</p>
  
  <p>I tried several user-case as described in the offical spring cloud document.</p>
  
  <p><code>@AutoConfigureStubRunner(ids = "com.datson:cloudcontract-producer:+:8080", stubsMode = StubRunnerProperties.StubsMode.LOCAL)</code></p>
  
  <p><code>@AutoConfigureStubRunner(ids = "com.datson:cloudcontract-producer:+:stubs"</code></p>
  
  <p><a href="https://cloud.spring.io/spring-cloud-contract/reference/html/getting-started.html#getting-started-cdc-consumer-run" rel="nofollow noreferrer">https://cloud.spring.io/spring-cloud-contract/reference/html/getting-started.html#getting-started-cdc-consumer-run</a></p>
  
  <p>here is the consumer code sample: <a href="https://github.com/Yayan89/springboot-config-server/tree/master/cloudcontract-consumer" rel="nofollow noreferrer">https://github.com/Yayan89/springboot-config-server/tree/master/cloudcontract-consumer</a>
  <br>here is the producer code sample: <a href="https://github.com/Yayan89/springboot-config-server/tree/master/cloudcontract-producer" rel="nofollow noreferrer">https://github.com/Yayan89/springboot-config-server/tree/master/cloudcontract-producer</a></p>
  
  <p>Might be something silly that I missed out.</p>