Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Algeron Pact so it can be used as Service Virtualization #87

Open
lordofthejars opened this issue Jan 9, 2018 · 0 comments
Open

Comments

@lordofthejars
Copy link
Member

Issue Overview

In complex microservices architecture, usually what you have is a consumer A that calls another provider B and at the same time, this provider B acts as a consumer of other services, let's call it Providers C and D.

So when you want to validate that Consumer A meets the expectations from Provider B, you write the contract test for the consumer by stubbing Provider B. But when you want to validate that Provider B also meets the expectations you need to stub its collaborators (Providers C and D). So in this case what you need is Service Virtualization to "mock" that services.

Ideally, you should not add a new technology for service virtualization, you could use the same used on the consumer side but in provider side.

https://github.com/lordofthejars/pactstandalone

Expected Behaviour

Use Pact Consumer stubbing capabilities in Provider to simulate the service dependencies of the provider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant