diff --git a/services/src/main/resources/static/demo.html b/services/src/main/resources/static/demo.html index 3c889aa4170cbbaeeb2b73bfc4f320028a067f75..f41c52bc02d3fa461d48e355afec3458932fe02d 100644 --- a/services/src/main/resources/static/demo.html +++ b/services/src/main/resources/static/demo.html @@ -36,17 +36,17 @@ <p>DEFAULT: Supply with default values (idProduct = 1, quantity = 50) <a href="/supplyStock">/supplyStock</a></p> <p>QUERY EXAMPLE: Supply with desired values <a href="/supplyStock?idProduct=1&quantity=30">/supplyStock?idProduct=1&quantity=30</a></p> - <h2>Events logs</h2> - <p>DEFAULT: Print the log in the spring-boot console with the default value (id = 1) <a href="/log">/log</a></p> - <p>QUERY EXAMPLE: Print the log with desired value <a href="/log?id=2">/log?id=2</a></p> - + <h2>Orders</h2> <!-- <p>Order 2 units of product with id = 1 <a href="/order?idProduct=1&quantity=2">/order?idProduct=1&quantity=2</a></p> --> <p>Demo 0: order 2 units of product with id = 1 <a href="/order?idProduct=1&quantity=2">/order?idProduct=1&quantity=2</a></p> <p>Demo 1: order with a non-existing product <a href="/order?idProduct=999&quantity=2">/order?idProduct=999&quantity=2</a></p> <p>Demo 2: order with multiple non-existing products <a href="/orderNotExistingProducts">/orderNotExistingProducts</a></p> <p>Demo 3: order with non-existing account <a href="/order?idProduct=1&quantity=2&idAccount=999">/order?idProduct=1&quantity=2&idAccount=999</a></p> - + + <h2>Events logs</h2> + <p>DEFAULT: Print the log in the spring-boot console with the default value (idEvent = 1) <a href="/log">/log</a></p> + <p>QUERY EXAMPLE: Print the log with desired value <a href="/log?id=2">/log?id=2</a></p> </body> </html> \ No newline at end of file