Add axon-event-sourcing module: Axon 5.4.2 entity, projection, replay

Event-sourced bank account on Axon Framework 5.4.2 + Spring Boot 4.1.1,
with transcripts generated by tests and three reproduced JPA-store variants.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b69H5rTewUKPyhGS8r
This commit is contained in:
Ankur
2026-12-02 00:02:00 +05:30
parent b4a623b889
commit 5439c041d0
35 changed files with 998 additions and 0 deletions
@@ -0,0 +1,10 @@
# Rejected commands append no events
$ POST /accounts/acc-1/withdraw?amount=9999
HTTP 409 {"error":"Insufficient funds: balance 380, requested 9999"}
$ POST /accounts/acc-1?owner=Again
HTTP 409 {"error":"Account already exists"}
$ POST /accounts/nobody/deposit?amount=5
HTTP 404 {"error":"No such account"}
events in the store after three rejected commands: 3 (still the 3 from the first scenario)