-
Notifications
You must be signed in to change notification settings - Fork 0
Dev -> main 머지 #191
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
Merged
Merged
Dev -> main 머지 #191
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 네이버 쇼핑몰 사이트 (5개)를 참조하여 지정 키워드 수만큼(50개) 수집 구현 - 랜덤 1개 추출하여 DB 저장 구현 - 응답 타입에 맞춰 객체 저장 구현
- 네이버 쇼핑몰 사이트 (5개)를 참조하여 지정 키워드 수만큼(50개) 수집 구현 - 랜덤 keyword 1개 추출하여 DB 저장 구현 - 응답 타입에 맞춰 응답 객체 반환
- 싸다구몰에 키워드 기반 제품 검색 로직 구현
- 싸다구몰에 키워드 기반 제품 검색 로직 구현
…/Final-7team-BE into feature/scheduler
- 수집된 키워드 기반 싸다구몰에서 상품 검색 로직 추가
- UNIFIED_LOGS테이블에 파이프라인의 진행상태를 저장 - 완료 판단 로직 추가로, 기능 실행 중 에러 시 예외 발생 추가
- RedisConnectionFactory 및 RedisTemplate 설정 - String serializer 적용으로 Redis 데이터 저장/조회 최적화 - localhost:6379 기본 설정 (프로퍼티로 오버라이드 가능)
- Redis 기반 refresh token 저장/조회/삭제/검증 기능
- Key 형식: refresh:{userId}, TTL: 14일
- 사용자별 refresh token 관리 및 보안 검증
- Redis 기반 로그아웃된 access token 블랙리스트 관리
- Key 형식: blacklist:{accessToken}, TTL: token 만료시간
- JWT 파싱을 통한 자동 TTL 설정으로 메모리 효율성 확보
- createAccessToken, createRefreshToken 메서드 분리 - refresh token 유효기간 설정 (기본 14일) - 기존 createToken 메서드는 deprecated 처리하여 호환성 유지
fix(stats): 응답 구조를 명세에 맞게 수정하고 log_detail 파싱 로직 추가
Feature/health
- RefreshTokenRequestDto: 토큰 재발급 요청 (refreshToken) - RefreshTokenResponseDto: 토큰 재발급 응답 (새로운 accessToken) - Swagger 문서화 및 validation 어노테이션 적용
- LoginResponseDto에 refreshToken 필드 추가 - 생성자 및 getter/setter 메서드 업데이트 - 기존 API 호환성 유지하면서 refresh token 지원
- INVALID_REFRESH_TOKEN(E507) 에러코드 추가
- 로그인 시 access token + refresh token 발급 및 Redis 저장 - 로그아웃 시 access token 블랙리스트 등록 및 refresh token 삭제 - refresh token 검증 후 새로운 access token 발급 기능 - 기존 예외처리 패턴 일관성 유지
- POST /auth/logout: 로그아웃 처리 - POST /auth/refresh: refresh token으로 새로운 access token 발급 - 기존 ApiResponseDTO 형식 및 Swagger 문서화 일관성 유지
- JwtAuthenticationFilter에 TokenBlacklistService 연동 - 로그아웃된 access token 자동 차단 기능 - SecurityConfig에서 /auth/refresh 엔드포인트 허용 설정 - 의존성 주입 및 필터 설정 업데이트
- null 체크 강화
# Conflicts: # springboot/build.gradle # springboot/src/main/java/com/softlabs/aicontents/config/SecurityConfig.java # springboot/src/main/java/com/softlabs/aicontents/domain/user/mapper/UserMapper.java # springboot/src/main/resources/mappers/domain/user/UserMapper.xml
- SwaggerConfig에 JWT Bearer 인증 스키마 추가 - 인증이 필요한 API에 @securityrequirement 어노테이션 적용 - 공개 API에 @SecurityRequirements({}) 어노테이션으로 인증 불필요 명시 - springdoc-openapi 버전 2.7.0으로 업그레이드 - Swagger UI에서 JWT 토큰 테스트 가능한 환경 구성
Swagger JWT 설정 및 사라진 파일들 복구
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR 종류
변경 사항
어떤 변경사항이 있는지 설명해주세요.
관련 이슈- 관련된 이슈 번호를 적어주세요
Closes #이슈번호
체크리스트
스크린샷
필요한 경우 스크린샷을 첨부해주세요.
기타
추가로 알려야 할 사항이 있다면 적어주세요.