Merged in feature/postprocessing (pull request #114)

Feature/postprocessing

* tests

* passtest

* fixshorttests

* mosttests

* improvingbasedockerfile

* testspeeds

* testing

* host

* canparallel

* clean

* passfullsuite

* singlepagemax

* test

* findfeatures

* findstables

* tbls

* tablestoo

* tablestoo

* lateraltests

* tableloc

* cleanup

* inlinetable

* childids

* cleanup

* tests
This commit is contained in:
Michael McGuinness
2025-04-22 14:40:16 +00:00
parent edc50c7510
commit fee71e7740
404 changed files with 211048 additions and 2820 deletions
+3 -6
View File
@@ -6,7 +6,6 @@ import (
documentclean "queryorchestration/internal/document/clean"
"github.com/go-playground/validator/v10"
"github.com/google/uuid"
)
@@ -17,14 +16,12 @@ type Services struct {
}
type Runner struct {
validator *validator.Validate
svc *Services
svc *Services
}
func New(validator *validator.Validate, svc *Services) Runner {
func New(svc *Services) Runner {
return Runner{
validator: validator,
svc: svc,
svc: svc,
}
}
+1 -2
View File
@@ -20,7 +20,6 @@ import (
"github.com/aws/aws-sdk-go-v2/service/s3"
"github.com/aws/aws-sdk-go-v2/service/sqs"
"github.com/go-playground/validator/v10"
"github.com/google/uuid"
"github.com/pashagolub/pgxmock/v3"
"github.com/stretchr/testify/assert"
@@ -49,7 +48,7 @@ func TestDocCleanRunner(t *testing.T) {
cfg.QueueClient = mockSQS
cfg.DocumentTextTriggerURL = "/i/am/here"
runner := doccleanrunner.New(validator.New(), &doccleanrunner.Services{
runner := doccleanrunner.New(&doccleanrunner.Services{
Clean: documentclean.New(cfg),
})
assert.NotNil(t, runner)