Merged in feature/batch-status (pull request #215)
Implement and test the batch status feature * working
This commit is contained in:
@@ -12,6 +12,7 @@ import (
|
||||
"os"
|
||||
|
||||
doccleanrunner "queryorchestration/api/docCleanRunner"
|
||||
"queryorchestration/internal/document/batch/outcome"
|
||||
documentclean "queryorchestration/internal/document/clean"
|
||||
"queryorchestration/internal/server/runner"
|
||||
"queryorchestration/internal/serviceconfig/build"
|
||||
@@ -39,7 +40,8 @@ func main() {
|
||||
clean := documentclean.New(cfg)
|
||||
|
||||
return doccleanrunner.New(&doccleanrunner.Services{
|
||||
Clean: clean,
|
||||
Clean: clean,
|
||||
Outcome: outcome.New(cfg.GetDBQueries()),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ import (
|
||||
"os"
|
||||
|
||||
docinitrunner "queryorchestration/api/docInitRunner"
|
||||
"queryorchestration/internal/document/batch/outcome"
|
||||
documentinit "queryorchestration/internal/document/init"
|
||||
"queryorchestration/internal/server/runner"
|
||||
"queryorchestration/internal/serviceconfig/build"
|
||||
@@ -50,6 +51,7 @@ func main() {
|
||||
return docinitrunner.New(&docinitrunner.Services{
|
||||
Document: docinit,
|
||||
Queries: cfg.GetDBQueries(),
|
||||
Outcome: outcome.New(cfg.GetDBQueries()),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@ import (
|
||||
docsyncrunner "queryorchestration/api/docSyncRunner"
|
||||
"queryorchestration/internal/client"
|
||||
"queryorchestration/internal/document"
|
||||
"queryorchestration/internal/document/batch/outcome"
|
||||
documentsync "queryorchestration/internal/document/sync"
|
||||
"queryorchestration/internal/server/runner"
|
||||
"queryorchestration/internal/serviceconfig/build"
|
||||
@@ -48,6 +49,7 @@ func main() {
|
||||
|
||||
return docsyncrunner.New(&docsyncrunner.Services{
|
||||
Document: docsync,
|
||||
Outcome: outcome.New(cfg.GetDBQueries()),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user