iPrody / iPrody-Devs-Gr0000000008-inquiry-service

0 stars 2 forks source link

Inquiry Service: Inquiry Domain #12

Open usharik opened 3 months ago

usharik commented 3 months ago

Prerequisites Inquiry Service stores data representing a concrete product that a customer inquired. This data specifies details about product, customer details, a source from where an inquiry was initiated and propagated to the service. This data is not static, changes often while working over it. Usually this data is needed while CRM manager is looking for inquiries that to be processed and moved to another step/status. Who inquiry will come to CRM? A customer will sent a form via landing page or a manager can create an inquiry manually via GUI of CRM.

Structures:

Once persistent layer implemented, a service layer for introducing required business operations must be implemented. Operations:

In order to implement service layer tests we have to have a storage to prove that data fetch, add, update, etc. For this we will integration tests approach in combination Spring Boot Test + Testcontainer. Testcontainer will help us to establish a storage and populate data in it.

NOTE: Do not need to cover Spring Repositories with tests

So that,

DoR