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