Implemented the integration with scraper python server, tenders summarise, and some fixes.

This commit is contained in:
Mazyar
2025-12-27 12:47:08 +03:30
parent e4da3b5bb2
commit f6bdcc6d7c
18 changed files with 1054 additions and 45 deletions
+10 -1
View File
@@ -40,8 +40,17 @@ func main() {
// Initialize GLM service
glmService := bootstrap.InitGLMService(config.GLM, appLogger)
// Initialize scraper service
scraperService := bootstrap.InitScraperService(*config, appLogger)
// Initialize MinIO service
minioService := bootstrap.InitMinIOService(config.MinIO, appLogger)
if minioService != nil {
appLogger.Info("MinIO service initialized successfully", map[string]interface{}{})
}
// Initialize Worker
bootstrap.InitWorker(*config, mongoManager, appLogger, notificationService, glmService)
bootstrap.InitWorker(*config, mongoManager, appLogger, notificationService, glmService, scraperService, minioService)
// Set up signal handling for graceful shutdown
signalChan := make(chan os.Signal, 1)