Skip to content
Snippets Groups Projects
Commit b8c30874 authored by michael.ramusi's avatar michael.ramusi
Browse files

updated with differents use cases

parent 10566dfa
No related branches found
No related tags found
No related merge requests found
...@@ -11,9 +11,23 @@ ...@@ -11,9 +11,23 @@
trigger events from each services trigger events from each services
</p> </p>
<p>The triggered events can be monitored in the spring-boot console</p> <p>The triggered events can be monitored in the spring-boot console</p>
<p><a href="/order">Order</a></p> <hr>
<p><a href="/createAccount">Create an account</a></p>
<p><a href="/createProduct">Create a product</a></p> <h2>Products</h2>
<p>Create a product with default values <a href="/createProduct">/createProduct</a></p>
<p>Create a product that is an apple that costs 1.3 <a href="/createProduct?name=apple&price=1.3">/createProduct?name=apple&price=1.3</a></p>
<h2>Accounts</h2>
<p>Create an account with default values <a href="/createAccount">/createAccount</a></p>
<p>Create an account with name Ovide <a href="/createAccount?name=Ovide">/createAccount?name=Ovide</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>
</body> </body>
</html> </html>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment