Skip to content
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

feat: 이벤트 관련 기능 추가 #80

Merged
merged 12 commits into from
May 7, 2024
Merged

feat: 이벤트 관련 기능 추가 #80

merged 12 commits into from
May 7, 2024

Conversation

eckrin
Copy link
Member

@eckrin eckrin commented May 7, 2024

📌 Issue number and Link

✏️ Summary

  • 선착순 이벤트 쿠폰 기능 추가
  • Spring AOP 기반 로깅 시스템 구축
  • Spring Batch, Scheduler 기반 로깅 관리 시스템 구축
  • ROLE_ADMIN 추가, 익명유저 추가 (비인가 접근 허용 api 생성)

📝 Changes

  • 이벤트는 ADMIN만 발급 가능
  • 매일 오전 3시 15분에 로그 삭제 배치작업 수행

🔎 PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.io application / infrastructure changes
  • Other... Please describe:

📚 Other information

eckrin added 12 commits January 14, 2024 00:36
- 이벤트 쿠폰 등록, 발급 기능 추가
- 트래픽과 동시성문제를 고려하지 않음
- 신규 이벤트 등록: ROLE_ADMIN
- 이벤트 응모: USER
- AOP클래스 수정
- tb_eventlog 테이블 추가
- 이벤트 등록, 응모 대상
- Spring Batch 6 사용
- 테이블에 로그 저장하도록 정책 변경
- 임시기준 세팅
- 어플리케이션 시작 시 배치 프로세스 동작
- 시작시점 기준 1일이 넘게 지난 로그 삭
- 매일 3시 15분에 최대 500개의 로그 삭제
@eckrin eckrin merged commit a28a6af into master May 7, 2024
1 check passed
@eckrin eckrin deleted the eckrin/fixup branch May 7, 2024 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant