api path 수정
This commit is contained in:
parent
3075a5d49f
commit
2cd1ba76f5
@ -39,7 +39,7 @@ public class OpenApiConfig {
|
||||
.email("support@kt-event-marketing.com")))
|
||||
.servers(List.of(
|
||||
new Server()
|
||||
.url("http://localhost:8085")
|
||||
.url("http://localhost:8085/api/v1/distribution")
|
||||
.description("Local Development Server"),
|
||||
new Server()
|
||||
.url("https://dev-api.kt-event-marketing.com/distribution/v1")
|
||||
|
||||
@ -18,15 +18,15 @@ import org.springframework.web.bind.annotation.*;
|
||||
|
||||
/**
|
||||
* Distribution Controller
|
||||
* POST api/v1/distribution/distribute - 다중 채널 배포 실행
|
||||
* GET api/v1/distribution/{eventId}/status - 배포 상태 조회
|
||||
* POST /distribute - 다중 채널 배포 실행
|
||||
* GET /{eventId}/status - 배포 상태 조회
|
||||
*
|
||||
* @author System Architect
|
||||
* @since 2025-10-23
|
||||
*/
|
||||
@Slf4j
|
||||
@RestController
|
||||
@RequestMapping("/api/v1/distribution")
|
||||
@RequestMapping
|
||||
@RequiredArgsConstructor
|
||||
@Tag(name = "Distribution", description = "다중 채널 배포 관리 API")
|
||||
public class DistributionController {
|
||||
|
||||
@ -68,7 +68,7 @@ kafka:
|
||||
server:
|
||||
port: ${SERVER_PORT:8085}
|
||||
servlet:
|
||||
context-path: /distribution
|
||||
context-path: /api/v1/distribution
|
||||
|
||||
# Resilience4j Configuration
|
||||
resilience4j:
|
||||
@ -123,6 +123,15 @@ channel:
|
||||
url: ${KAKAO_API_URL:http://localhost:9006/api/kakao}
|
||||
timeout: 10000
|
||||
|
||||
# Naver Blog Configuration (Playwright 기반)
|
||||
naver:
|
||||
blog:
|
||||
username: ${NAVER_BLOG_USERNAME:}
|
||||
password: ${NAVER_BLOG_PASSWORD:}
|
||||
blog-id: ${NAVER_BLOG_ID:}
|
||||
headless: ${NAVER_BLOG_HEADLESS:true}
|
||||
session-path: ${NAVER_BLOG_SESSION_PATH:playwright-sessions}
|
||||
|
||||
# Springdoc OpenAPI (Swagger)
|
||||
springdoc:
|
||||
api-docs:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user