Skip to content

Commit

Permalink
rephrasing Mon Nov 27 11:38:10 CET 2023
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Noël committed Nov 27, 2023
1 parent 915ed33 commit 8cd7d17
Showing 1 changed file with 61 additions and 46 deletions.
107 changes: 61 additions & 46 deletions content/en/storage-providers/manage/pricing-models/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,52 +29,67 @@ If no rules match but the "Fallback on default is set": The deal is processed ag
If no rules match and the "Fallback on default is unset": The deal is rejected

```goat
+-----------------+
| |
| Deal proposal |
| |
+--------+--------+
|
|
v
+-------------------+
| |
| Matching Client |
| |
v +--+--------------+-+
| |
Found Not Found
| |
v v
+-----------------------------+ +------------------------------+
| | | |
| Processing Client Pricing | | Processing Default Pricing |
| | | |
+-----------------------+-----+ +------+-----------------------+
| |
| |
Rules Engine | |
| |
v v
+------------------+
| |
| Matching rules |
| |
+------------------+
Found Not Found
Is Deal price >= Rule price is Fallback to default pricing
Yes No No Yes
Reject Reject
Pricing accepting
Process next CIDgravity Component
+-----------------+
| |
| Deal proposal |
| |
+--------+--------+
|
v
+---------------+
| |
| Match client |
| |
+--+----------+-+
| | +-------+
Found Not Found | |
| | | |
v v v |
+--------------------------+ +---------------------------+ |
| | | | |
| Process Client Pricing | | Process Default Pricing | |
| | | | |
+----------------------+---+ +----+----------------------+ |
| | |
v v |
+----------------+ |
| | |
| Match rules | |
| | |
+--+----------+--+ |
| | |
Found Not Found |
| | |
v v |
+-----------------+ +-------------------+ |
| | | | |
| Is Deal price | | Is Fallback to | |
| >= Rule price | | default pricing | |
| | | | |
+-+-----------+---+ +----+-----------+--+ |
| | | | |
Yes No No Yes |
| | | | |
| v v +-------------+
| +-----------------+
| | |
| | Deal rejected |
| | |
| +-----------------+
v
+------------------+
| |
| Price accepted |
| |
+---------+--------+
|
v
+------------------------+
| |
| Process next |
| CIDgravity component |
| |
+------------------------+
```

## Manage existing models
Expand Down

0 comments on commit 8cd7d17

Please sign in to comment.