sczyh30 / vertx-blueprint-microservice

Vert.x Blueprint Project - Micro-Shop microservice application
Apache License 2.0
772 stars 301 forks source link

3-layer architecture #34

Open vyaghini opened 6 years ago

vyaghini commented 6 years ago

There is no clear distinction between service layer and data access layer in micro-services. Is there any particular reason for that? Also what about tests? I'm still not sure about the best practices to test the logic without relying on an actual data source. In other words what would be the best way to mock data while doing tests?