Результат настоящих запросов через PDO_OCI к Oracle. Собственные учебные объекты после наблюдений удалены; полезный файл сохранён.
Полученные строки и наблюдения
{
"initial_stock": {
"CAB-7": 3,
"TAP-2": 5
},
"first_context": {
"module": "inventory-cli",
"action": "receive-stock",
"client_info": "supplier-A",
"client_identifier": "operator-17"
},
"between_context": {
"module": null,
"action": null,
"client_info": null,
"client_identifier": null
},
"second_context": {
"module": "inventory-cli",
"action": "inventory-count",
"client_info": "count-sheet-2",
"client_identifier": "operator-22"
},
"after_context": {
"module": null,
"action": null,
"client_info": null,
"client_identifier": null
},
"receipt": {
"operations": [
{
"sku": "CAB-7",
"qty": 5,
"module": "inventory-cli",
"action": "receive-stock",
"client_info": "supplier-A",
"client_identifier": "operator-17"
},
{
"sku": "TAP-2",
"qty": 4,
"module": "inventory-cli",
"action": "inventory-count",
"client_info": "count-sheet-2",
"client_identifier": "operator-22"
}
],
"context_cleared_between_operations": true,
"context_cleared_after_operations": true
},
"persistent_connection": false,
"call_timeout": {
"available": true,
"before_ms": 0,
"set_ms": 0,
"restored": true,
"expiry_exercised": false
}
}
result.json содержит те же данные. Реквизиты входа сюда не записываются.