Clean up transactions config files
This commit is contained in:
parent
af295f945a
commit
f33444fe39
@ -39,3 +39,9 @@ Workload configuration:
|
||||
- distribution between different transactions
|
||||
- how many concurrent transactions
|
||||
- how many total transactions to be executed
|
||||
|
||||
## Realistic Scenario Description for eShop
|
||||
|
||||
Run multiple benchmarks / experiments with varying factor.
|
||||
|
||||
Customer buys items
|
||||
|
@ -22,7 +22,8 @@
|
||||
"value": "userIds",
|
||||
"distribution": "zipfian"
|
||||
}
|
||||
]
|
||||
],
|
||||
"amount": 10000
|
||||
},
|
||||
{
|
||||
"id": "update-catalog-item-price",
|
||||
@ -37,7 +38,8 @@
|
||||
"value": "productIds",
|
||||
"distribution": "zipfian"
|
||||
}
|
||||
]
|
||||
],
|
||||
"amount": 1000
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -1,4 +1,3 @@
|
||||
"transaction":
|
||||
{
|
||||
"id": "add-items-to-basket",
|
||||
"arguments": [
|
||||
@ -10,7 +9,7 @@
|
||||
"operations": [
|
||||
{
|
||||
"operationRefId": "catalog-get-items",
|
||||
"id": "op-1",
|
||||
"id": "op-1"
|
||||
},
|
||||
{
|
||||
"operationRefId": "basket-add-item",
|
||||
@ -31,7 +30,7 @@
|
||||
"oldUnitPrice": "{{item-1-price}}",
|
||||
"quantity": "{{item-1-available-stock}}",
|
||||
"pictureUrl": ""
|
||||
},
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "item-2",
|
||||
@ -44,7 +43,7 @@
|
||||
"oldUnitPrice": "{{item-2-price}}",
|
||||
"quantity": "{{item-2-available-stock}}",
|
||||
"pictureUrl": ""
|
||||
},
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "item-3",
|
@ -1,4 +1,3 @@
|
||||
"transaction":
|
||||
{
|
||||
"id": "update-catalog-item-price",
|
||||
"dynamicVariables": [
|
||||
@ -10,7 +9,7 @@
|
||||
"operations": [
|
||||
{
|
||||
"operationRefId": "catalog-get-items",
|
||||
"id": "op-1",
|
||||
"id": "op-1"
|
||||
},
|
||||
{
|
||||
"operationRefId": "catalog-update-price",
|
||||
@ -35,7 +34,8 @@
|
||||
"maxStockThreshold": "{{item-1-max-stock-threshold}}",
|
||||
"onReorder": "{{item-1-on-reorder}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user