Merged in feature/testwithlogs (pull request #65)
Query Version Sync Runner * testing * queryversiosyncworking * update * tests * fixtests
This commit is contained in:
@@ -5,9 +5,7 @@ import (
|
||||
"log/slog"
|
||||
"os"
|
||||
querysyncrunner "queryorchestration/api/querySyncRunner"
|
||||
"queryorchestration/internal/query"
|
||||
"queryorchestration/internal/query/result"
|
||||
resultset "queryorchestration/internal/query/result/set"
|
||||
resultsync "queryorchestration/internal/query/result/sync"
|
||||
querysync "queryorchestration/internal/query/sync"
|
||||
"queryorchestration/internal/server/runner"
|
||||
queryc "queryorchestration/internal/serviceconfig/queue/query"
|
||||
@@ -26,16 +24,9 @@ func main() {
|
||||
cfg := &QuerySyncConfig{}
|
||||
|
||||
cfg.ControllerFunc = func() runner.Controller {
|
||||
que := query.New(cfg)
|
||||
res := result.New(cfg, &result.Services{
|
||||
Query: que,
|
||||
})
|
||||
resset := resultset.New(cfg, &resultset.Services{
|
||||
Query: que,
|
||||
Result: res,
|
||||
})
|
||||
sync := resultsync.New(cfg)
|
||||
svc := querysync.New(cfg, &querysync.Services{
|
||||
ResultSet: resset,
|
||||
ResultSync: sync,
|
||||
})
|
||||
|
||||
c := querysyncrunner.New(cfg.GetValidator(), &querysyncrunner.Services{
|
||||
|
||||
Reference in New Issue
Block a user