Clean up transactions config files

This commit is contained in:
Philipp Theyssen 2023-03-01 12:00:56 +01:00
parent af295f945a
commit f33444fe39
6 changed files with 19 additions and 12 deletions

View File

@ -39,3 +39,9 @@ Workload configuration:
- distribution between different transactions - distribution between different transactions
- how many concurrent transactions - how many concurrent transactions
- how many total transactions to be executed - how many total transactions to be executed
## Realistic Scenario Description for eShop
Run multiple benchmarks / experiments with varying factor.
Customer buys items

View File

@ -22,7 +22,8 @@
"value": "userIds", "value": "userIds",
"distribution": "zipfian" "distribution": "zipfian"
} }
] ],
"amount": 10000
}, },
{ {
"id": "update-catalog-item-price", "id": "update-catalog-item-price",
@ -37,7 +38,8 @@
"value": "productIds", "value": "productIds",
"distribution": "zipfian" "distribution": "zipfian"
} }
] ],
"amount": 1000
} }
] ]
} }

View File

@ -1,4 +1,3 @@
"transaction":
{ {
"id": "add-items-to-basket", "id": "add-items-to-basket",
"arguments": [ "arguments": [
@ -10,7 +9,7 @@
"operations": [ "operations": [
{ {
"operationRefId": "catalog-get-items", "operationRefId": "catalog-get-items",
"id": "op-1", "id": "op-1"
}, },
{ {
"operationRefId": "basket-add-item", "operationRefId": "basket-add-item",
@ -31,7 +30,7 @@
"oldUnitPrice": "{{item-1-price}}", "oldUnitPrice": "{{item-1-price}}",
"quantity": "{{item-1-available-stock}}", "quantity": "{{item-1-available-stock}}",
"pictureUrl": "" "pictureUrl": ""
}, }
}, },
{ {
"key": "item-2", "key": "item-2",
@ -44,7 +43,7 @@
"oldUnitPrice": "{{item-2-price}}", "oldUnitPrice": "{{item-2-price}}",
"quantity": "{{item-2-available-stock}}", "quantity": "{{item-2-available-stock}}",
"pictureUrl": "" "pictureUrl": ""
}, }
}, },
{ {
"key": "item-3", "key": "item-3",

View File

@ -1,4 +1,3 @@
"transaction":
{ {
"id": "update-catalog-item-price", "id": "update-catalog-item-price",
"dynamicVariables": [ "dynamicVariables": [
@ -10,7 +9,7 @@
"operations": [ "operations": [
{ {
"operationRefId": "catalog-get-items", "operationRefId": "catalog-get-items",
"id": "op-1", "id": "op-1"
}, },
{ {
"operationRefId": "catalog-update-price", "operationRefId": "catalog-update-price",
@ -35,6 +34,7 @@
"maxStockThreshold": "{{item-1-max-stock-threshold}}", "maxStockThreshold": "{{item-1-max-stock-threshold}}",
"onReorder": "{{item-1-on-reorder}}" "onReorder": "{{item-1-on-reorder}}"
} }
}
] ]
} }
] ]