Micro Services- What are they?
Micro service are product of a software architectural style know as micro services architecture.
in this architecture, a single application is developed as a set of small service
Each services operates as its own process and communiates with the other services over a network
DOMAIN-DRIVEN DESIGN
Each service is thought of as a component
Organized around business capabilities and service model a real world domain. Responsibilities enforced via bounded contexts
- Loose coupling and high cohesion
- Continuous delivery — Extensive use of automation(testing,deployment etc)
- fast feedbcack on code quality
- provides confiedence that production software will work
End to End Test Guidelines
Consumer-Driven Test or contract testing
They only test:
Tools such as Pact, pacto and janis can be used to write contract test.
Another way to build this is to have 1 codebase and multiple pipeline.
Now there is a third option 1 code repository and 2 build pipeline per service and this is the recommended way to go.
With some scripting the cross-repo changes can resolve the issue.