Skip to content
Snippets Groups Projects
Commit bedbdaf4 authored by michael.ramusi's avatar michael.ramusi
Browse files
parents 00b1f18a 66de06eb
No related branches found
No related tags found
No related merge requests found
...@@ -88,7 +88,7 @@ public class http { ...@@ -88,7 +88,7 @@ public class http {
@RequestMapping("/supplyStock") @RequestMapping("/supplyStock")
public Product supplyStock( public Product supplyStock(
@RequestParam(value = "idProduct", defaultValue = "1") int idProduct, @RequestParam(value = "idProduct", defaultValue = "1") int idProduct,
@RequestParam(value = "quantity", defaultValue = "10") int quantity) { @RequestParam(value = "quantity", defaultValue = "50") int quantity) {
http.incrementId(); http.incrementId();
stockService.send(new EventAddProductQuantity(http.getId(), "Supplying ", idProduct, quantity)); stockService.send(new EventAddProductQuantity(http.getId(), "Supplying ", idProduct, quantity));
return null; return null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment