This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git
from 3206e809d PROTON-2834: [C++] Container stop should ignore cancelled
timers
new e64c9fada PROTON-2873: Work around transacted modified dispositions
new 0a4c7b2bb PROTON-2936: [C++] Add container quiescent callback
new 84048049f NO-JIRA: [Python example broker] Improve readability of
timeout
new e99e63064 PROTON-1442: Improve C++ transaction API documentation
new 4db5f231e PROTON-2921: Change default message rollback behaviour
new 7cfcc8344 PROTON-1442: Correct outgoing message callbacks
new 329edf8e1 PROTON-1442: Make sure we only respond if we are in a
transaction
new d153c3a8a PROTON-1442: Ensure that transaction id is empty outside
transaction
new a932ea432 PROTON-2922: Transaction testing
new a1d52dfe0 PROTON-2922: Add comprehensive C++ API transaction tests
The 10 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
CMakeLists.txt | 6 +-
c/src/core/engine.c | 20 +-
cpp/CMakeLists.txt | 1 +
cpp/docs/pages.dox | 1 +
cpp/docs/transactions.md | 107 ++
cpp/examples/CMakeLists.txt | 1 -
cpp/examples/tx_interactive.cpp | 774 --------
cpp/examples/tx_recv.cpp | 6 -
cpp/include/proton/container.hpp | 7 +
cpp/include/proton/fwd.hpp | 1 +
cpp/include/proton/messaging_handler.hpp | 8 +-
cpp/include/proton/session.hpp | 19 +
cpp/include/proton/transaction_options.hpp | 76 +
cpp/src/container.cpp | 2 +
cpp/src/contexts.hpp | 5 +
cpp/src/delivery.cpp | 6 +-
cpp/src/handler.cpp | 4 +-
cpp/src/messaging_adapter.cpp | 105 +-
cpp/src/proactor_container_impl.cpp | 37 +-
cpp/src/proactor_container_impl.hpp | 13 +-
cpp/src/session.cpp | 7 +-
...session_options.cpp => transaction_options.cpp} | 50 +-
python/CMakeLists.txt | 3 +
python/examples/broker.py | 20 +-
python/proton/tracing.py => tests/CMakeLists.txt | 13 +-
tests/cpp/CMakeLists.txt | 57 +
tests/cpp/tx_tester.cpp | 1997 ++++++++++++++++++++
tests/cpp/tx_tester.py | 159 ++
tests/cpp/tx_tests/00_setup_seed_messages.tx_test | 8 +
tests/cpp/tx_tests/01_declare.tx_test | 11 +
tests/cpp/tx_tests/02_commit_empty.tx_test | 11 +
tests/cpp/tx_tests/03_explicit_abort.tx_test | 11 +
tests/cpp/tx_tests/04_commit_timeout.tx_test | 13 +
.../cpp/tx_tests/05_incoming_accept_commit.tx_test | 15 +
.../cpp/tx_tests/06_incoming_accept_abort.tx_test | 23 +
.../cpp/tx_tests/07_incoming_reject_commit.tx_test | 15 +
.../tx_tests/08_incoming_release_commit.tx_test | 22 +
.../cpp/tx_tests/09_incoming_modify_commit.tx_test | 22 +
tests/cpp/tx_tests/10_outgoing_send_commit.tx_test | 15 +
tests/cpp/tx_tests/11_outgoing_send_abort.tx_test | 14 +
.../tx_tests/12_rdeclare_after_discharge.tx_test | 24 +
tests/cpp/tx_tests/13_error_double_declare.tx_test | 11 +
.../14_error_commit_without_declare.tx_test | 6 +
.../15_error_declare_unsettled_outgoing.tx_test | 7 +
44 files changed, 2891 insertions(+), 842 deletions(-)
create mode 100644 cpp/docs/transactions.md
delete mode 100644 cpp/examples/tx_interactive.cpp
create mode 100644 cpp/include/proton/transaction_options.hpp
copy cpp/src/{session_options.cpp => transaction_options.cpp} (51%)
copy python/proton/tracing.py => tests/CMakeLists.txt (87%)
create mode 100644 tests/cpp/CMakeLists.txt
create mode 100644 tests/cpp/tx_tester.cpp
create mode 100644 tests/cpp/tx_tester.py
create mode 100644 tests/cpp/tx_tests/00_setup_seed_messages.tx_test
create mode 100644 tests/cpp/tx_tests/01_declare.tx_test
create mode 100644 tests/cpp/tx_tests/02_commit_empty.tx_test
create mode 100644 tests/cpp/tx_tests/03_explicit_abort.tx_test
create mode 100644 tests/cpp/tx_tests/04_commit_timeout.tx_test
create mode 100644 tests/cpp/tx_tests/05_incoming_accept_commit.tx_test
create mode 100644 tests/cpp/tx_tests/06_incoming_accept_abort.tx_test
create mode 100644 tests/cpp/tx_tests/07_incoming_reject_commit.tx_test
create mode 100644 tests/cpp/tx_tests/08_incoming_release_commit.tx_test
create mode 100644 tests/cpp/tx_tests/09_incoming_modify_commit.tx_test
create mode 100644 tests/cpp/tx_tests/10_outgoing_send_commit.tx_test
create mode 100644 tests/cpp/tx_tests/11_outgoing_send_abort.tx_test
create mode 100644 tests/cpp/tx_tests/12_rdeclare_after_discharge.tx_test
create mode 100644 tests/cpp/tx_tests/13_error_double_declare.tx_test
create mode 100644 tests/cpp/tx_tests/14_error_commit_without_declare.tx_test
create mode 100644
tests/cpp/tx_tests/15_error_declare_unsettled_outgoing.tx_test
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]