These are chat archives for spring-cloud/spring-cloud

5th
Oct 2018
choubani amir
@amirensit
Oct 05 2018 10:52 UTC
hello
does org.springframework.cloud.openfeign.FeignClient package is replaced ?
choubani amir
@amirensit
Oct 05 2018 12:44 UTC
@TYsewyn ok
Is there any difference between org.springframework.cloud.netflix.feign.FeignClient and org.springframework.cloud.openfeign.FeignClient ?
I have the same example written in 2 ways. Each way import FeighClientdifferently
choubani amir
@amirensit
Oct 05 2018 12:52 UTC
both have the same code
If so, why is there two differents interfaces ?
Marcos Barbero
@marcosbarbero
Oct 05 2018 12:58 UTC
@amirensit Netflix Feign is no longer a thing, if it's still there it should be deprecated. You can rely on the Open Feign one
choubani amir
@amirensit
Oct 05 2018 12:58 UTC
@marcosbarbero ok
Rob Maskell
@RobMaskell
Oct 05 2018 16:37 UTC
@Ziemowit have been tracking this one for a while, new spring issue recently created that might be the cause although it does supposedly work in boot 2.1 I'm using 2.0.x https://jira.spring.io/browse/SPR-17348
Vajpai
@vajpai
Oct 05 2018 17:34 UTC
Please suggest, for contact testing which frame preferable in microservices approach. Consider CI/CD also.
Tim Ysewyn
@TYsewyn
Oct 05 2018 17:41 UTC
for consumer-driven contract testing?
I'd go with Spring Cloud Contract, but my opinion is biased 😁
Vajpai
@vajpai
Oct 05 2018 17:46 UTC
Thanks @TYsewyn. Yes consumer driven. Basically QA need to validate our microservices. So they were build automation code with jayway restassured. So looking for best restassured framework to validate the contact.
Tim Ysewyn
@TYsewyn
Oct 05 2018 17:50 UTC
if you're using Spring Cloud Contract, then tests are generated based on your contract(s). So your producer's API will be validated at build time.
it will also generate stubs which you can upload to a repository like nexus or artifactory, or even a git repo. Those stubs can be used by the consumer(s).
Vajpai
@vajpai
Oct 05 2018 17:56 UTC
Thanks @TYsewyn
Tim Ysewyn
@TYsewyn
Oct 05 2018 17:56 UTC
You're welcome! :)
springroll12
@springroll12
Oct 05 2018 22:03 UTC
Hello. I am interested in understanding how to deploy spring-cloud-config and spring-cloud-vault in a multi a deployment scenario (identical microservices cluster1 , cluster2 etc). Would you want/need one vault server for each cluster, or does it make more sense to just have one vault server that is referenced by all clusters? The latter seems to introduce external dependencies, while the former seems excessive. Is there a best practice here?
Spencer Gibb
@spencergibb
Oct 05 2018 22:08 UTC
what is the difference in clusters?
springroll12
@springroll12
Oct 05 2018 22:09 UTC
They would be two separate deployments of the same set of microaervices.
Spencer Gibb
@spencergibb
Oct 05 2018 23:30 UTC
and the reason they are separate? There's no best practice. If there's no need for separation and one vault server is sufficient, the use that.
springroll12
@springroll12
Oct 05 2018 23:32 UTC
Business requirements. Some deployed on premise, some on different cloud providers.