Repository navigation
[feat] PB-104 CongestionClient Lambda Function URL SigV4 인증 적용 - #210
Conversation
- AWS SDK BOM 2.42.23 의존성 추가 (auth, regions) - AwsSigV4Interceptor: Lambda Function URL AWS_IAM 인증용 SigV4 서명 인터셉터 구현 - CongestionInterceptor: 구체 구현 대신 인터페이스에 의존하도록 추상화 (마커 인터페이스) - AwsConfig: DefaultCredentialsProvider Bean 등록 - CongestionClient: SigV4 인터셉터 주입, base-url 환경변수(CONGESTION_BASE_URL)로 관리 - application.yml: app.congestion.base-url, app.aws.region 환경변수 주입 구조로 변경 - NoOpRequestInterceptor: 테스트용 Null Object 패턴 구현체 추가 - CongestionClientTest: NoOpRequestInterceptor로 생성자 인자 수정
- troubleshooting-lambda-secrets.md 추가
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
PHJ2000
left a comment
There was a problem hiding this comment.
docs/troubleshooting/troubleshooting-lambda-secrets.md 문서가 해당 pr에서 다루는 부분과 연관이 적어보입니다. pr2로 이관하거나 ai레포쪽으로 이동하는게 좋아보입니다.
This reverts commit e6ed7ea.
말씀하신대로 우선 관련 커밋을 revert 하고 추후에 어디 넣을지 검토해보겠습니다. 피드백 감사합니다. |
PHJ2000
left a comment
There was a problem hiding this comment.
수고하셨습니다.
추가로 PR 본문에 적힌 변경사항과 현재 diff 사이에 일부 차이가 있어 보여서, 머지 전 설명도 한 번 최신화해주시면 리뷰어가 실제 변경 범위를 따라가기 더 수월할 것 같습니다. 특히 ProcessCredentialsProvider / app.aws.profile, app.aws.cli-command / transport header 제외 관련 설명은 현재 코드와 기준을 맞춰주면 좋을 것 같아요.
- CONGESTION_SIGV4_ENABLED=false 시 NoOp 인터셉터 등록 (기본값 true) - AwsConfig에서 CongestionInterceptor 빈 생성 책임 이전 (기존 @component 제거) - 운영/로컬 통합 테스트는 기존과 동일하게 SigV4 서명 유지
리뷰까지 반영하여 pr 본문을 수정했습니다. |
|
수고하셨습니다. |
✨ Feature PR
🔗 이슈 링크 (필수)
🧩 이 PR의 변경사항 (필수)
전체 중 위치 (Stacked PR 시)
이 PR에서 변경한 것
✅ 이 PR이 커버하는 AC (필수)
Covers (이 PR에서 완료)
Not covered (후속 작업)
(이유: pr 각각의 크기가 크고 서로 내용이 다르기 때문에 분리하기로 결정 ) → PR feat: PB-104 CongestionClient Lambda Function URL SigV4 인증 적용2 #207 또는 이슈 #XXX
🧪 테스트 결과 (필수)
로컬
CI
Smoke 테스트
🧭 영향 범위 체크 (필수)
💬 리뷰 포인트 (필수)
집중해서 볼 파일/라인:
AwsSigV4Interceptor.java: intercept() — SigV4 서명 헤더 주입 흐름
AwsConfig.java: congestionInterceptor() — sigv4-enabled 분기 로직 추가
docs/troubleshooting/aws-sso-credentials-spring.md
트레이드오프/대안: