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

Feautre/be/#134 Spring Cloud Gateway를 이용한 Api 게이트웨이 생성 #142

Merged
merged 13 commits into from
May 4, 2024

Conversation

mclub4
Copy link

@mclub4 mclub4 commented May 4, 2024

Overview

Spring Cloud Gateway가지고 Api gateway 만들었습니다.

Related Issue

Issue Number : #134

Task Details

!!주의!! 반드시 다른 브랜치에서 pull받아서 해보세요. 불안정할 수도 있습니다.

Api Gateway 생성

Spring, Ruby, AI 서버로 가기전에 앞단에서 jwt 토큰을 체크하고 라우팅을 해주는 서버입니다.
추후, Api 횟수 제한을 걸 수 있는 limiter도 추가할 것입니다.

코드 리펙토링

Gateway 추가에 따라서 모든 유저의 UUID (Token에서 원래 추출해야됐던건들)는 X-User-ID를 받아서 쓰시면 됩니다.

Test Scope & Checklist (Optional)

  • Api 게이트웨이 테스트

Review Requirements

바쁜 관계로 PR 간단하게 적습니다.

@mclub4 mclub4 added 📝 feature New feature or request 🔧 refactor Good for newcomers 🔒 BE backend task 🔨 setting labels May 4, 2024
@mclub4 mclub4 requested a review from BlueBerrySoda May 4, 2024 08:09
@mclub4 mclub4 self-assigned this May 4, 2024
@BlueBerrySoda BlueBerrySoda merged commit 7c36b3e into develop-back May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔒 BE backend task 📝 feature New feature or request 🔧 refactor Good for newcomers 🔨 setting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants