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

Microservice pattern: Consumer-driven contract test #2675

Open
iluwatar opened this issue Oct 15, 2023 · 2 comments
Open

Microservice pattern: Consumer-driven contract test #2675

iluwatar opened this issue Oct 15, 2023 · 2 comments
Assignees
Labels
epic: pattern status: stale issues and pull requests that have not had recent interaction type: feature

Comments

@iluwatar
Copy link
Owner

iluwatar commented Oct 15, 2023

Description:
The Microservices - Service Integration Contract Test design pattern ensures that microservices can communicate and function together as expected. This pattern involves creating and maintaining contract tests that verify the interactions between microservices. These tests help to ensure that changes in one service do not break the functionality of another service, thereby maintaining the integrity of the entire system.

Main elements of the pattern include:

  1. Service Contracts: Define clear and precise contracts for each service, specifying the expected inputs and outputs.
  2. Consumer-driven Contracts: Consumers of a service define the expectations, which are then verified by the service provider.
  3. Automated Tests: Develop automated tests that validate the interactions based on the defined contracts.
  4. Versioning: Manage and test multiple versions of service contracts to ensure backward compatibility.
  5. Continuous Integration: Integrate contract tests into the CI/CD pipeline to detect and fix issues early in the development process.

References:

Acceptance Criteria:

  1. Create service contracts for a sample microservices setup.
  2. Implement consumer-driven contract tests and integrate them into the CI/CD pipeline.
  3. Verify that contract tests detect any breaking changes in service interactions and provide actionable feedback.
@karshav16
Copy link

I would love to work on this issue. Kindly assign this issue!

Copy link

stale bot commented Dec 13, 2024

This issue has been automatically marked as stale because it has not had recent activity. The issue will be unassigned if no further activity occurs. Thank you for your contributions.

@stale stale bot added the status: stale issues and pull requests that have not had recent interaction label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic: pattern status: stale issues and pull requests that have not had recent interaction type: feature
Projects
Status: In Progress
Development

No branches or pull requests

2 participants