Merged in feature/import (pull request #157)

Feature/import

* importstart

* pp

* tests

* importtests

* 100GB

* lint

* passtests

* utc

* awsprofile

* doublequotes

* host
This commit is contained in:
Michael McGuinness
2025-05-27 15:28:46 +00:00
parent 46882da5f5
commit cc2278086f
74 changed files with 992 additions and 4753 deletions
+6 -12
View File
@@ -5,9 +5,7 @@ import (
"testing"
queryapi "queryorchestration/api/queryAPI"
"queryorchestration/internal/client"
"queryorchestration/internal/database/repository"
"queryorchestration/internal/export"
"queryorchestration/internal/test"
"github.com/stretchr/testify/assert"
@@ -16,13 +14,11 @@ import (
func TestGetClientStatus(t *testing.T) {
t.Parallel()
cfg := &ClientConfig{}
cfg := &ControllerConfig{}
test.CreateDB(t, cfg)
cons := queryapi.NewControllers(&queryapi.Services{
Client: client.New(cfg),
Export: export.New(),
})
svc := createControllerServices(cfg)
cons := queryapi.NewControllers(svc)
ctx, rec := createContext(t)
@@ -48,13 +44,11 @@ func TestGetClientStatus(t *testing.T) {
}
func BenchmarkGetClientStatus(b *testing.B) {
cfg := &ClientConfig{}
cfg := &ControllerConfig{}
test.CreateDB(b, cfg)
cons := queryapi.NewControllers(&queryapi.Services{
Client: client.New(cfg),
Export: export.New(),
})
svc := createControllerServices(cfg)
cons := queryapi.NewControllers(svc)
ctx, _ := createContext(b)