Commit Graph

21 Commits

Author SHA1 Message Date
9d6eca4377 infinity money bug :D
This is here to show a small miss with big problems.

- add missing test to
  - TransactionEndpoints
  - TransactionControllerTest
- update Transfer with validation for sender receiver
- add SenderReceiverValidator
- add SenderReceiver
2025-09-14 12:15:08 +02:00
aa8ba9ae1e test integration
- add TransactionEndpoints
- add AccountEndpoints
- add sql files for test
- add dependencies
2025-09-14 12:15:08 +02:00
ddf91791e5 update TransactionController with transfer 2025-09-14 12:15:08 +02:00
32d340223e add Transfer 2025-09-14 12:15:08 +02:00
44aafdb505 update TransactionService with transfer 2025-09-14 12:15:08 +02:00
9dcae1f5e0 update TransactionController with withdrawal 2025-09-14 12:15:08 +02:00
f9a5cd5922 update TransactionService with withdrawal 2025-09-14 12:15:08 +02:00
adfe96720b add InsufficientFundsException 2025-09-13 18:54:02 +02:00
71edd35c8e add TransactionController 2025-09-13 18:54:02 +02:00
ff9a3f70ae add Transaction 2025-09-13 12:53:14 +02:00
2a6d1be968 add TransactionService 2025-09-13 12:53:14 +02:00
4304dbde1d add account not found exception
- update balance in AccountController with onErrorResume
- update AccountService
  - update getForUpdateById with switchIfEmpty
  - update getById with switchIfEmpty
- add AccountNotFoundException
2025-09-13 12:53:14 +02:00
27494e6fb1 update AccountService with getForUpdateById and save 2025-09-13 12:53:14 +02:00
68926b0159 update AccountController with balance 2025-09-13 12:53:13 +02:00
942750d9d8 update AccountService with getById 2025-09-13 12:52:56 +02:00
0f8e6ab852 add AccountController 2025-09-13 12:52:15 +02:00
37e20dcdbe add AccountUtil.kt
- AccountEntity toResponse
- Account Request toEntity
2025-09-13 12:52:15 +02:00
d25a43c219 add AccountService 2025-09-13 12:52:14 +02:00
9e5bf28ff9 add account data
- AccountRepository
- AccountEntity
- 001-accounts.sql
- Account with Request and Response
2025-09-13 12:48:58 +02:00
61519fc586 project setup
- update README.md
- setup tls
  - update gradle.properties with docker tls ports
  - update application.yml
    - disable tls in develop
    - set docker values
    - add default tls values
  - add keystore.p12
- setup postgres
  - update application.yml with defualt values
  - add 000-initizalise.sql
  - add postgres dependencies and config
  - add docker compose development
- add actuator.http
- add http environment
- update name and readme for service
2025-09-13 12:46:02 +02:00
Aura Ascend
772e693d48 Initial commit 2025-09-13 12:45:03 +02:00