Update: kakao 크롤링 url 설정
This commit is contained in:
parent
76423de33b
commit
82a4ca7354
@ -3,4 +3,5 @@ dependencies {
|
||||
|
||||
// File Storage
|
||||
implementation 'org.springframework.boot:spring-boot-starter-webflux'
|
||||
implementation 'com.azure:azure-messaging-eventhubs:5.15.0'
|
||||
}
|
||||
|
||||
@ -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();
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user