Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
ge-mange
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
joel.cavat
ge-mange
Commits
b8c30874
Commit
b8c30874
authored
6 years ago
by
michael.ramusi
Browse files
Options
Downloads
Patches
Plain Diff
updated with differents use cases
parent
10566dfa
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
services/src/main/resources/static/demo.html
+17
-3
17 additions, 3 deletions
services/src/main/resources/static/demo.html
with
17 additions
and
3 deletions
services/src/main/resources/static/demo.html
+
17
−
3
View file @
b8c30874
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment