diff --git a/analytics-service/src/main/java/com/kt/event/analytics/config/SampleDataLoader.java b/analytics-service/src/main/java/com/kt/event/analytics/config/SampleDataLoader.java index 422ff1d..dcf3c82 100644 --- a/analytics-service/src/main/java/com/kt/event/analytics/config/SampleDataLoader.java +++ b/analytics-service/src/main/java/com/kt/event/analytics/config/SampleDataLoader.java @@ -225,7 +225,7 @@ public class SampleDataLoader implements ApplicationRunner { private void publishEventCreatedEvents() throws Exception { // 이벤트 1: 신년맞이 할인 이벤트 (진행중, 높은 성과 - ROI 200%) EventCreatedEvent event1 = EventCreatedEvent.builder() - .eventId("1") + .eventId("evt_2025012301") .eventTitle("신년맞이 20% 할인 이벤트") .storeId("store_001") .totalInvestment(new BigDecimal("5000000")) @@ -238,7 +238,7 @@ public class SampleDataLoader implements ApplicationRunner { // 이벤트 2: 설날 특가 이벤트 (진행중, 중간 성과 - ROI 100%) EventCreatedEvent event2 = EventCreatedEvent.builder() - .eventId("2") + .eventId("evt_2025012302") .eventTitle("설날 특가 선물세트 이벤트") .storeId("store_001") .totalInvestment(new BigDecimal("3500000")) @@ -251,7 +251,7 @@ public class SampleDataLoader implements ApplicationRunner { // 이벤트 3: 겨울 신메뉴 런칭 이벤트 (종료, 저조한 성과 - ROI 50%) EventCreatedEvent event3 = EventCreatedEvent.builder() - .eventId("3") + .eventId("evt_2025012303") .eventTitle("겨울 신메뉴 런칭 이벤트") .storeId("store_001") .totalInvestment(new BigDecimal("2000000")) @@ -269,7 +269,7 @@ public class SampleDataLoader implements ApplicationRunner { * DistributionCompleted 이벤트 발행 (설계서 기준 - 이벤트당 1번 발행, 여러 채널 배열) */ private void publishDistributionCompletedEvents() throws Exception { - String[] eventIds = {"1", "2", "3"}; + String[] eventIds = {"evt_2025012301", "evt_2025012302", "evt_2025012303"}; int[][] expectedViews = { {5000, 10000, 3000, 2000}, // 이벤트1: 우리동네TV, 지니TV, 링고비즈, SNS {3500, 7000, 2000, 1500}, // 이벤트2 @@ -359,7 +359,7 @@ public class SampleDataLoader implements ApplicationRunner { * - 이벤트3: 30명 (user071~user100) → 30명이 이전 이벤트들과 중복 */ private void publishParticipantRegisteredEvents() throws Exception { - String[] eventIds = {"1", "2", "3"}; + String[] eventIds = {"evt_2025012301", "evt_2025012302", "evt_2025012303"}; String[] channels = {"우리동네TV", "지니TV", "링고비즈", "SNS"}; // 이벤트별 참여자 범위 (중복 참여 반영)