kt-event-marketing/debug/test-complex.puml
2025-10-22 14:13:57 +09:00

24 lines
672 B
Plaintext

@startuml test-complex
!theme mono
title User Service - 회원가입 내부 시퀀스
participant "UserController" as Controller <<API Layer>>
participant "Redis\nCache" as Redis <<E>>
participant "User DB\n(PostgreSQL)" as UserDB <<E>>
[-> Controller: POST /api/users/register\n(RegisterRequest DTO)
activate Controller
Controller -> Controller: @Valid 어노테이션 검증\n(이메일 형식, 비밀번호 8자 이상 등)
alt 중복 사용자 존재
Controller --> [: 400 Bad Request\n{"error": "이미 가입된 전화번호입니다"}
deactivate Controller
else 신규 사용자
Controller --> [: 201 Created
deactivate Controller
end
@enduml