These are chat archives for
Sign in to start talking
Spring Cloud discussion and questions
May 12 2017 07:00
ok, firing up beanstalk now.
turn off all the other stuff and just install mysql after that I guess
May 12 2017 19:54
Hi All. What is the best way to develop a microservice without having to have the other dependent services running?
I am using Spring Cloud Netflix specifically.
May 12 2017 20:01
avoid dependencies on startup and adopt a RESTfull approach and everything should be smooth.
May 12 2017 20:04
There are no hard wired dependencies. I was just wondering how to fake a call when using Feign and Zuul?
I would also have to mock out the authentication since each MS endpoint is secured.
May 12 2017 20:12
On a personal experience that worked for me, I ended up building a mocked implementation of my feign clients backed by json data. This json data is regenerated by the dependencies build process.
May 12 2017 20:17
I think I see where this is going. I can just set a profile up that injects my own feign client that returns mocked data.
I can probably just store that mocked data in my git repo, and have it regenerated during the build process like yours
May 12 2017 20:59
Have you looked at spring cloud contract?
Sounds like what you need is stubs for the producer
May 12 2017 21:55
IMHO Spring Cloud Contract is definitely the way to go if you want to go large scale. A homemade stub is a quicky.
May 12 2017 22:12
Can I configure it to work with OAuth?
or rather, to mock my OAuth server?