TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Mockingjay – Fake servers and consumer-driven contracts

39 点作者 quii大约 10 年前

4 条评论

quii大约 10 年前
This is a project born of my frustration of making fake servers and CDCs over and over again as we break our monolith into tiny pieces.<p>I figured the requirements for both fake servers and CDCs in a lot of cases are the same. &quot;Given a request, i want this response&quot;. So I thought, why not just define it once in configuration and be done with it. This stops the two things getting out of sync.<p>The wiki has lots of info as to how to use it and what the point of it is. Would appreciate any feedback, apart from mean things.
评论 #9591286 未加载
dekz大约 10 年前
We use Pact[1], but the idea of flakeyness is interesting. Would you end up with non deterministic builds with the flakeyness? I imagine you could get enough 404&#x27;s to trigger a Circuit Breaker in your application and this would propagate to tests sometimes failing.<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;realestate-com-au&#x2F;pact" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;realestate-com-au&#x2F;pact</a>
评论 #9592145 未加载
评论 #9592130 未加载
advanderveer大约 10 年前
I&#x27;ve encountered the same frustration and created Dockpit (<a href="https:&#x2F;&#x2F;dockpit.io" rel="nofollow">https:&#x2F;&#x2F;dockpit.io</a>) as a solution; it uses Docker containers though.
volaski大约 10 年前
A genuine question, how is it differentiated from Stubby? <a href="http:&#x2F;&#x2F;stub.by&#x2F;" rel="nofollow">http:&#x2F;&#x2F;stub.by&#x2F;</a>
评论 #9592141 未加载