PraveenMathew92 / rentals

A reactive api using spring web flux for any rental service
0 stars 1 forks source link

Dependency of order on customer and asset #11

Open PraveenMathew92 opened 5 years ago

PraveenMathew92 commented 5 years ago

Before creating an order, the asset and the customer should be present in the database.

Also, before deleting a customer or an asset, care should be taken that no order regarding it is live.

PraveenMathew92 commented 5 years ago

Both the asset and the customer depend on the order. Should their deletion be handled by the order service