Commit Graph

21 Commits

Author SHA1 Message Date
4f95265872 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 18:12:12 +02:00
e9bbac8296 test integration
- add TransactionEndpoints
- add AccountEndpoints
- add sql files for test
- add dependencies
2025-09-14 18:12:12 +02:00
c8897f7fc0 update TransactionController with transfer 2025-09-14 18:12:11 +02:00
fe3283f5f1 add Transfer 2025-09-14 18:12:11 +02:00
610b259832 update TransactionService with transfer 2025-09-14 18:12:11 +02:00
4833eebdd0 update TransactionController with withdrawal 2025-09-14 18:12:11 +02:00
83375cf9cc update TransactionService with withdrawal 2025-09-14 18:12:11 +02:00
0454f112e7 add InsufficientFundsException 2025-09-14 18:12:11 +02:00
04d102c7e1 add TransactionController 2025-09-14 18:12:11 +02:00
b547d318b3 add Transaction 2025-09-14 18:12:11 +02:00
37dde70194 add TransactionService 2025-09-14 18:12:11 +02:00
e46bf55232 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-14 18:12:11 +02:00
25f534b6e3 update AccountService with getForUpdateById and save 2025-09-14 18:12:11 +02:00
c96604ae79 update AccountController with balance 2025-09-14 18:12:11 +02:00
7ce1b15bca update AccountService with getById 2025-09-14 18:12:11 +02:00
85c140a815 add AccountController 2025-09-14 18:12:11 +02:00
dfadf203de add AccountUtil.kt
- AccountEntity toResponse
- Account Request toEntity
2025-09-14 18:12:11 +02:00
79357e4f4d add AccountService 2025-09-14 18:12:11 +02:00
12bc74c1e6 add account data
- AccountRepository
- AccountEntity
- 001-accounts.sql
- Account with Request and Response
2025-09-14 18:12:11 +02:00
83897285e4 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-14 18:12:11 +02:00
Aura Ascend
5b11f3b02b Initial commit 2025-09-14 18:11:16 +02:00