[Feature] IP 화이트리스트 관리 API (SEC-03) #50

Closed
opened 2026-02-09 15:35:33 +00:00 by seonkyu.kim · 0 comments
Owner

설명

서비스별 IP 화이트리스트를 관리하는 API를 구현합니다.

체크리스트

Application Layer

  • SPMS.Application/DTOs/Service/IpListResponseDto.cs — IP 목록 응답 DTO
  • SPMS.Application/DTOs/Service/AddIpRequestDto.cs — IP 추가 요청 DTO
  • SPMS.Application/DTOs/Service/DeleteIpRequestDto.cs — IP 삭제 요청 DTO
  • SPMS.Application/Interfaces/IServiceManagementService.cs — 메서드 추가
  • SPMS.Application/Services/ServiceManagementService.cs — 구현

API Layer

  • SPMS.API/Controllers/ServiceController.cs — 엔드포인트 추가
    • POST /{serviceCode}/ip/list — IP 목록 조회
    • POST /{serviceCode}/ip/add — IP 추가
    • POST /{serviceCode}/ip/delete — IP 삭제

검증

  • 빌드 성공 확인
  • IP 형식 검증 (IPv4)
  • 중복 IP 체크

관련 문서

  • Documents/API_Specification.md — API_SPMS_04_SERVICE_07~09
## 설명 서비스별 IP 화이트리스트를 관리하는 API를 구현합니다. ## 체크리스트 ### Application Layer - [ ] `SPMS.Application/DTOs/Service/IpListResponseDto.cs` — IP 목록 응답 DTO - [ ] `SPMS.Application/DTOs/Service/AddIpRequestDto.cs` — IP 추가 요청 DTO - [ ] `SPMS.Application/DTOs/Service/DeleteIpRequestDto.cs` — IP 삭제 요청 DTO - [ ] `SPMS.Application/Interfaces/IServiceManagementService.cs` — 메서드 추가 - [ ] `SPMS.Application/Services/ServiceManagementService.cs` — 구현 ### API Layer - [ ] `SPMS.API/Controllers/ServiceController.cs` — 엔드포인트 추가 - `POST /{serviceCode}/ip/list` — IP 목록 조회 - `POST /{serviceCode}/ip/add` — IP 추가 - `POST /{serviceCode}/ip/delete` — IP 삭제 ### 검증 - [ ] 빌드 성공 확인 - [ ] IP 형식 검증 (IPv4) - [ ] 중복 IP 체크 ## 관련 문서 - `Documents/API_Specification.md` — API_SPMS_04_SERVICE_07~09
seonkyu.kim added the
Priority
Medium
Status
Available
Type
Feature
labels 2026-02-09 15:35:43 +00:00
seonkyu.kim added this to the Phase 2-1: 인증 & 계정 & 서비스 API milestone 2026-02-09 15:36:40 +00:00
seonkyu.kim self-assigned this 2026-02-09 15:36:42 +00:00
seonkyu.kim added
Status
Done
and removed
Status
Available
labels 2026-02-09 15:55:39 +00:00
Sign in to join this conversation.
No description provided.