Comments (2)
Modeling
IdempotentRequestInterceptor
- 요청의 멱등성 키를 조사한다.
- 해당 요청 메서드가
POST
여야 한다. - 해당 요청이 계좌 관련 기능 중 하나여야 한다.
- 계좌 관련 기능은 계좌 개설, 입금, 출금, 이체가 있다.
- 멱등성 키를 이용해 기록을 조회한다.
- 멱등성 키와 연관된 정보가 없으면 요청을 처리하고 응답 값을 저장한다.
- 해당 요청 메서드가
IdempotentRequestHistoryServcie
- 멱등성 키를 이용해 데이터를 조회한다.
- 멱등성 키와 함께 데이터를 저장한다.
IdempotentRequestHistory
- 상태
- 키와 응답 정보를 포함한다.
- 키는 유일한 문자열이다.
- 응답 정보는 request body에 들어가는 정보다.
- 키와 응답 정보를 포함한다.
from hello-banking-api.
프로그램 요구사항
- 준영속 상태가 되기 때문에 데이터 수정시 주의해야 합니다.
- 비용을 고려해 기존 사용하는 MySQL을 고려합니다.
- Spring Bean을 이용하기 위해 인터셉터로 구현합니다.
from hello-banking-api.
Related Issues (13)
- Documentation : Banking
- Documentation : Member
- User Scenario : Account
- Documentation : Alarm
- Issue : 같은 계좌에 이체할 수 없다.
- Issue : 자신의 계좌로만 거래가 가능하다.
- Documentation : Friend
- User Scenario : Friend
- Issue : 계좌 이체는 친구끼리만 가능하다.
- 추가적인 인가 기능을 한 곳에서 관리한다.
- 동시성 제어 방법을 변경한다.
- Customizing exception은 stack trace를 채울 필요가 없습니다.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hello-banking-api.