[Feature] X-Service-Code / X-API-KEY 서비스 식별 미들웨어 구현 #32
Labels
No Label
Priority
High
Priority
Low
Priority
Medium
Priority
Non
Priority
Urgent
Status
Available
Status
Done
Status
In Progress
Type
Bug
Type
Chore
Type
Design
Type
Documentation
Type
Feature
Type
Improvement
Type
Refactor
Type
Research
Type
Task
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SPMS/SPMS_API#32
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
설명
멀티테넌시 지원을 위해 X-Service-Code 헤더 기반 서비스 식별 미들웨어와 X-API-KEY 검증 미들웨어를 구현한다.
체크리스트
ServiceRepository (선행 — 미들웨어가 DB 조회 필요)
SPMS.Infrastructure/Persistence/Repositories/ServiceRepository.cs— IServiceRepository 구현ServiceCodeMiddleware (파이프라인 순서 12번)
SPMS.API/Middlewares/ServiceCodeMiddleware.cs/v1/out/*,/swagger)ApiKeyMiddleware (파이프라인 순서 13번)
SPMS.API/Middlewares/ApiKeyMiddleware.cs/v1/in/device/*경로만 X-API-KEY 검증파이프라인 등록
ApplicationBuilderExtensions.cs— 미들웨어 주석 해제 및 등록