- Add comprehensive deployment guide in CLAUDE.md
- Quick deploy commands for News API
- Version management strategy (Major/Minor/Patch)
- Rollback procedures
- Add detailed DEPLOYMENT.md for News API service
- Update docker-compose.yml with SAPIENS platform services
- Add sapiens-web with PostgreSQL (port 3005, 5433)
- Add sapiens-web2 with PostgreSQL (port 3006, 5434)
- Configure health checks and dependencies
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add get_articles_by_source_keyword method to query articles by entities
- Search across entities.people, entities.organizations, and entities.groups
- Deprecate get_articles_by_ids method in favor of dynamic queries
- Support pagination for outlet article listings
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add comment models and service with CRUD operations
- Add comment endpoints (GET, POST, count)
- Add outlets-extracted.json with people/topics/companies data
- Fix database connection in comment_service to use centralized get_database()
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Change HPA minReplicas from 2 to 3
- Maintain maxReplicas at 10
- Default 3 pods, auto-scale up to 10 based on CPU/Memory
🤖 Generated with [Claude Code](https://claude.ai/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
## 🚀 New Service: News API
Multi-language RESTful API service for serving AI-generated news articles
### Features
- **9 Language Support**: ko, en, zh_cn, zh_tw, ja, fr, de, es, it
- **FastAPI Backend**: Async MongoDB integration with Motor
- **Comprehensive Endpoints**:
- List articles with pagination
- Get latest articles
- Search articles by keyword
- Get article by ID
- Get categories by language
- **Production Ready**: Auto-scaling, health checks, K8s deployment
### Technical Stack
- FastAPI 0.104.1 + Uvicorn
- Motor 3.3.2 (async MongoDB driver)
- Pydantic 2.5.0 for data validation
- Docker containerized
- Kubernetes ready with HPA
### API Endpoints
```
GET /api/v1/{lang}/articles # List articles with pagination
GET /api/v1/{lang}/articles/latest # Latest articles
GET /api/v1/{lang}/articles/search # Search articles
GET /api/v1/{lang}/articles/{id} # Get by ID
GET /api/v1/{lang}/categories # Get categories
```
### Deployment Options
1. **Local K8s**: `kubectl apply -f k8s/news-api/`
2. **Docker Hub**: `./scripts/deploy-news-api.sh dockerhub`
3. **Kind**: `./scripts/deploy-news-api.sh kind`
### Performance
- Response Time: <50ms (p50), <200ms (p99)
- Auto-scaling: 2-10 pods based on CPU/Memory
- Supports 1000+ req/sec
### Files Added
- services/news-api/backend/ - FastAPI service implementation
- k8s/news-api/ - Kubernetes deployment manifests
- scripts/deploy-news-api.sh - Automated deployment script
- Comprehensive READMEs for service and K8s deployment
🤖 Generated with [Claude Code](https://claude.ai/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add hybrid deployment port configuration (Docker + K8s)
- Update service architecture to reflect current setup
- Document Docker Hub deployment process
- Clarify infrastructure vs application service separation
- Add health check endpoints for both deployment modes
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Docker Compose for infrastructure (MongoDB, Redis, Kafka, Zookeeper)
- Docker for central control (Scheduler, Monitor, Language Sync)
- K8s for scalable workers (RSS, Google Search, Translator, AI Generator, Image Generator)
- Automatic scaling with HPA (Horizontal Pod Autoscaler)
- Comprehensive deployment scripts and documentation
- Updated README with hybrid deployment guide
- 시스템 요구사항 및 포트 사용 정보
- 단계별 설치 가이드 (Quick Start & Detailed)
- 서비스 아키텍처 설명
- 개별 서비스 관리 방법
- 환경 설정 (API 키 등)
- 개발 가이드 및 테스트
- 상세한 문제 해결 가이드
- Git 저장소 관리 방법
- 모니터링 및 백업 가이드