Update: kakao 크롤링 url 설정

This commit is contained in:
UNGGU0704 2025-06-17 14:02:38 +09:00
parent 76423de33b
commit 82a4ca7354
4 changed files with 3 additions and 4 deletions

View File

@ -3,4 +3,5 @@ dependencies {
// File Storage
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation 'com.azure:azure-messaging-eventhubs:5.15.0'
}

View File

@ -231,7 +231,6 @@ public class ExternalIntegrationInteractor implements ExternalIntegrationUseCase
private void publishSyncEvent(Long storeId, String platform, int syncedCount) {
try {
// 기존 Event Hub 설정 그대로 유지
EventHubProducerClient producer = new EventHubClientBuilder()
.connectionString(System.getenv("EVENTHUB_CONNECTION_STRING"), "review-sync")
.buildProducerClient();

View File

@ -72,8 +72,7 @@ public class ExternalPlatformAdapter implements ExternalPlatformPort {
log.info("카카오 리뷰 동기화 시작: storeId={}, externalStoreId={}", storeId, externalStoreId);
try {
// 🔥 카카오 크롤링 서비스 실제 호출
String url = "http://kakao-review-api-service/analyze";
String url = "http://kakao-review-api-service.ai-review-ns.svc.cluster.local/analyze";
Map<String, Object> requestBody = new HashMap<>();
requestBody.put("store_id", externalStoreId);

View File

@ -33,7 +33,7 @@ external-api:
base-url: https://openapi.naver.com
kakao:
api-key: ${KAKAO_API_KEY:}
base-url: http://kakao-review-api-service
base-url: http://kakao-review-api-service.ai-review-ns.svc.cluster.local
google:
api-key: ${GOOGLE_API_KEY:}
base-url: https://maps.googleapis.com