Add asset host logs ingest and UI

This commit is contained in:
Mikhail Chusavitin
2026-03-15 21:38:20 +03:00
parent 5370c1a698
commit f4cd15f0c4
19 changed files with 1374 additions and 222 deletions

View File

@@ -102,6 +102,7 @@ func NewServer(addr string, readTimeout, writeTimeout time.Duration, db *sql.DB)
cancelBg = cancel
failureRepo := failures.NewFailureRepository(db)
assetRepo := registry.NewAssetRepository(db)
assetLogRepo := registry.NewAssetEventLogRepository(db)
componentRepo := registry.NewComponentRepository(db)
installationRepo := registry.NewInstallationRepository(db)
timelineRepo := timeline.NewEventRepository(db)
@@ -121,6 +122,7 @@ func NewServer(addr string, readTimeout, writeTimeout time.Duration, db *sql.DB)
})
RegisterAssetComponentRoutes(mux, AssetComponentDependencies{
Assets: assetRepo,
AssetLogs: assetLogRepo,
Components: componentRepo,
Installations: installationRepo,
Timeline: timelineRepo,