Merged in feature/jobsync (pull request #63)
Document Sync and Job Sync * docsyncfunc * startedQueryWork * morefixes * jobsyncsvcstart * save * jobsynctext * save * save * docsync * shorttest * jobsync * jobsyncupdateoncollectorupdate * passlivetest * collectortest * lint
This commit is contained in:
@@ -5,10 +5,9 @@ import (
|
||||
"log/slog"
|
||||
"os"
|
||||
doccleanrunner "queryorchestration/api/docCleanRunner"
|
||||
"queryorchestration/internal/document"
|
||||
documentclean "queryorchestration/internal/document/clean"
|
||||
cleanversion "queryorchestration/internal/document/clean/version"
|
||||
"queryorchestration/internal/server/runner"
|
||||
"queryorchestration/internal/serviceconfig/objectstore"
|
||||
"queryorchestration/internal/serviceconfig/queue/documenttext"
|
||||
|
||||
_ "github.com/lib/pq"
|
||||
@@ -16,7 +15,6 @@ import (
|
||||
|
||||
type DocCleanConfig struct {
|
||||
runner.BaseConfig
|
||||
objectstore.ObjectStoreConfig
|
||||
documenttext.DocTextConfig
|
||||
}
|
||||
|
||||
@@ -26,9 +24,8 @@ func main() {
|
||||
cfg := &DocCleanConfig{}
|
||||
|
||||
cfg.ControllerFunc = func() runner.Controller {
|
||||
doc := document.New(cfg)
|
||||
clean := documentclean.New(cfg, &documentclean.Services{
|
||||
Document: doc,
|
||||
Version: cleanversion.New(cfg),
|
||||
})
|
||||
|
||||
return doccleanrunner.New(cfg.GetValidator(), &doccleanrunner.Services{
|
||||
|
||||
Reference in New Issue
Block a user