Create a Spring example application for show-case
osoykan opened this issue · 1 comments
osoykan commented
- Has an endpoint POST
localhost:8001/api/product/create
with bodyProductCreateCommand(id, name, supplierId: Int)
(showcase for: sending a real HTTP request with DefaultHttpSystem) - Has a consumer ProductConsumer that accepts a
ProductMessage(id, name, supplierId: Int)
(showcase for: publishing a message and seeing that it consumes) - Has an external API call
localhost:9090/suppliers/{id}/allowed
that returnsSupplierPermission(id, isAllowed: Boolean)
while creating (showcase for: mocking) - If everything is fine, then save it to the database (both API and Consumer) (showcase for: database system)