Add asset host logs ingest and UI
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user