add outer/inner sequence

This commit is contained in:
cherry2250
2025-10-22 14:13:57 +09:00
parent 44011cd73a
commit 9fd060b275
127 changed files with 7527 additions and 9 deletions
@@ -3,6 +3,7 @@
title 이벤트 생성 플로우 - 외부 시퀀스 다이어그램
actor Client
actor "소상공인" as User
participant "Frontend" as FE
participant "API Gateway" as Gateway
@@ -103,13 +104,11 @@ FE --> User: "이미지 생성 중..." (로딩)
note over Content: Kafka Consumer\nimage-job-topic 구독
Kafka --> Content: Consume Job Message\n{jobId, eventDraftId, ...}
par 3가지 스타일 병렬 생성
group parallel
Content -> ImageApi: 심플 스타일 생성 요청
ImageApi --> Content: 심플 이미지 URL
and
Content -> ImageApi: 화려한 스타일 생성 요청
ImageApi --> Content: 화려한 이미지 URL
and
Content -> ImageApi: 트렌디 스타일 생성 요청
ImageApi --> Content: 트렌디 이미지 URL
end
@@ -160,32 +159,27 @@ Event -> Dist: REST API - 배포 요청\nPOST /distributions\n{eventId, channels
note over Dist: Circuit Breaker 적용
par 다중 채널 병렬 배포
group parallel
alt 우리동네TV 선택
Dist -> ChannelApis: 우리동네TV API\n15초 영상 업로드
ChannelApis --> Dist: 배포 완료\n{배포ID, 예상노출수}
end
and
alt 링고비즈 선택
Dist -> ChannelApis: 링고비즈 API\n연결음 업데이트
ChannelApis --> Dist: 업데이트 완료\n{완료시각}
end
and
alt 지니TV 선택
Dist -> ChannelApis: 지니TV API\n광고 등록
ChannelApis --> Dist: 광고 등록 완료\n{광고ID, 스케줄}
end
and
alt Instagram 선택
Dist -> ChannelApis: Instagram API\n포스팅
ChannelApis --> Dist: 포스팅 완료\n{postUrl}
end
and
alt Naver Blog 선택
Dist -> ChannelApis: Naver API\n블로그 포스팅
ChannelApis --> Dist: 포스팅 완료\n{postUrl}
end
and
alt Kakao Channel 선택
Dist -> ChannelApis: Kakao API\n채널 포스팅
ChannelApis --> Dist: 포스팅 완료\n{postUrl}