Merged in feature/splitqueryrunning (pull request #57)

Split Query Running + Debugging Full Flow

* completedquerysyncrunner

* spliitinglogic

* synccomplete

* informdependents

* only push same collector

* deps

* livetesting

* foundissue

* some issues resolved

* activeupdate

* collectorupdatefixes

* fix dbquesries

* tests

* tests

* pollingdebug
This commit is contained in:
Michael McGuinness
2025-02-11 15:22:59 +00:00
parent 24a038ec3d
commit 71f9802e1a
108 changed files with 3013 additions and 1666 deletions
+7 -5
View File
@@ -26,7 +26,7 @@ func TestCreate(t *testing.T) {
cfg := &serviceconfig.BaseConfig{}
cfg.DBPool = pool
cfg.DBQueries = repository.New(pool)
svc := query.New(cfg, &query.Services{})
svc := query.New(cfg)
config := "{\"path\":\"example_path\"}"
q := query.Query{
@@ -78,11 +78,11 @@ func TestCreateMinimal(t *testing.T) {
cfg := &serviceconfig.BaseConfig{}
cfg.DBPool = pool
cfg.DBQueries = repository.New(pool)
svc := query.New(cfg, &query.Services{})
svc := query.New(cfg)
q := query.Query{
ID: uuid.New(),
Type: resultprocessor.TypeJsonExtractor,
Type: resultprocessor.TypeContextFull,
}
create := &resultprocessor.Create{
Type: q.Type,
@@ -113,10 +113,12 @@ func TestCreateRollback(t *testing.T) {
cfg := &serviceconfig.BaseConfig{}
cfg.DBPool = pool
cfg.DBQueries = repository.New(pool)
svc := query.New(cfg, &query.Services{})
svc := query.New(cfg)
ccfg := "{}"
create := &resultprocessor.Create{
Type: resultprocessor.TypeJsonExtractor,
Type: resultprocessor.TypeJsonExtractor,
Config: &ccfg,
}
dbType, err := resultprocessor.ToDBQueryType(create.Type)