-
Notifications
You must be signed in to change notification settings - Fork 3
주식 서버 1분봉 데이터 저장 및 캔들 차트 과거 데이터 조회 API 구현 #87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- MinutePriceSimpleResponse -> MinutePrice
- minutePriceRepository.save method 추가 - MinutePriceSimpleResponse DTO to Document 로직 추가
- 클라이언트에게 받은 code를 통해 이름을 얻기 위한 로직 - 반복문을 통해 enum 값을 조회할 수 있지만 확장성을 고려해 시간 복잡도를 최소화
- MongoDB insert 시 자동 생성되는 _class field 삭제 로직 - MSA 관점에서 Java class 정보인 _class 필드는 다양한 언어의 독립성 보장 X / 불필요한 메타 데이터
- 한국 투자 API로부터 받은 JSON 데이터가 SNAKE_CASE - 이를 위해 objectMapper 구현 - objectMapper로 인해 다른 API 응답 형식이 SNAKE_CASE - objectMapper 삭제 후 DTO @JsonNaming 추가
bo-ram-bo-ram
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다! 작업량이 많아 고생하셨겠어요 ㅠㅠ 다만 저희가 한 이슈당 한 pr 작업을 하기로 했으니 나눠서 하는건 어떨까요? 이번꺼는 몽고디비 셋팅이랑 같이 들어가서 애매하셨을 것 같아요! 74~6, 77 이런식으로라도 다음엔 지켜주시면 좋을 것 같습니다!
| mongodb: | ||
| port: 27017 | ||
| host: localhost | ||
| database: c_shape |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
배포시에 관리하기 위해서 여기도 env 변수명 처리해주시면 좋을 것 같아요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수정해서 머지 하겠습니다!
말씀대로 몽고디비 셋팅이 들어가서 애매했던 부분이 있었습니다. 다음부터는 나눠서 진행하겠습니다!
Pull request
Related issue
Resolve #74
Resolve #75
Resolve #76
Resolve #77
Motivation and context
Solution
How has this been tested
Types of changes
Checklist