Code Monkey home page Code Monkey logo

Comments (2)

this-is-spear avatar this-is-spear commented on July 2, 2024

Modeling

IdempotentRequestInterceptor

  • 요청의 멱등성 키를 조사한다.
    • 해당 요청 메서드가 POST 여야 한다.
    • 해당 요청이 계좌 관련 기능 중 하나여야 한다.
      • 계좌 관련 기능은 계좌 개설, 입금, 출금, 이체가 있다.
    • 멱등성 키를 이용해 기록을 조회한다.
    • 멱등성 키와 연관된 정보가 없으면 요청을 처리하고 응답 값을 저장한다.

IdempotentRequestHistoryServcie

  • 멱등성 키를 이용해 데이터를 조회한다.
  • 멱등성 키와 함께 데이터를 저장한다.

IdempotentRequestHistory

  • 상태
    • 키와 응답 정보를 포함한다.
      • 키는 유일한 문자열이다.
      • 응답 정보는 request body에 들어가는 정보다.

from hello-banking-api.

this-is-spear avatar this-is-spear commented on July 2, 2024

프로그램 요구사항

  • 준영속 상태가 되기 때문에 데이터 수정시 주의해야 합니다.
  • 비용을 고려해 기존 사용하는 MySQL을 고려합니다.
  • Spring Bean을 이용하기 위해 인터셉터로 구현합니다.

from hello-banking-api.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.