kt-event-marketing/run-event-service.ps1
merrycoral d89ee4edf7 Event Service 백엔드 API 개발 및 테스트 완료
- Event Service API 엔드포인트 추가 (이벤트 생성, 조회, 수정, AI 추천, 배포)
- DTO 클래스 추가 (요청/응답 모델)
- Kafka Producer 구성 (AI 작업 비동기 처리)
- Content Service Feign 클라이언트 구성
- Redis 설정 추가 및 테스트 컨트롤러 작성
- Docker Compose 설정 (Redis, Kafka, Zookeeper)
- 백엔드 API 테스트 완료 및 결과 문서 작성
- JWT 테스트 토큰 생성 스크립트 추가
- Event Service 실행 스크립트 추가

테스트 결과: 6개 주요 API 모두 정상 작동 확인

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 17:24:09 +09:00

23 lines
852 B
PowerShell

# Event Service 실행 스크립트
$env:SERVER_PORT="8081"
$env:DB_HOST="20.249.177.232"
$env:DB_PORT="5432"
$env:DB_NAME="eventdb"
$env:DB_USERNAME="eventuser"
$env:DB_PASSWORD="Hi5Jessica!"
$env:REDIS_HOST="localhost"
$env:REDIS_PORT="6379"
$env:REDIS_PASSWORD=""
$env:KAFKA_BOOTSTRAP_SERVERS="20.249.182.13:9095,4.217.131.59:9095"
$env:DDL_AUTO="update"
$env:LOG_LEVEL="DEBUG"
$env:SQL_LOG_LEVEL="DEBUG"
$env:CONTENT_SERVICE_URL="http://localhost:8082"
$env:DISTRIBUTION_SERVICE_URL="http://localhost:8084"
$env:JWT_SECRET="kt-event-marketing-jwt-secret-key-for-development-only-minimum-256-bits-required"
Write-Host "Starting Event Service on port 8081..." -ForegroundColor Green
Write-Host "Logs will be saved to logs/event-service.log" -ForegroundColor Yellow
./gradlew event-service:bootRun 2>&1 | Tee-Object -FilePath logs/event-service.log