Merged in feature/textextraction (pull request #110)

Text Extraction

* bases

* go

* splitting

* structure

* movetoasync

* movetoasync

* settinguptrigger

* reorder

* storevent

* standardisepollingvalidation

* unittests

* fixlint

* fixlint

* awscfg

* generatesample

* followthrough

* tests

* clena

* store

* externalidcleanup

* clientid

* local

* baseunittests

* putobjecttests

* tests
This commit is contained in:
Michael McGuinness
2025-04-02 18:50:03 +00:00
parent e6a4cb3990
commit 81e7223560
226 changed files with 17283 additions and 2744 deletions
@@ -1,15 +0,0 @@
package documenttext
const EnvName = "DOCUMENT_TEXT_URL"
type DocTextConfig struct {
DocumentTextURL string `env:"DOCUMENT_TEXT_URL,required,notEmpty"`
}
func (c *DocTextConfig) GetDocumentTextURL() string {
return c.DocumentTextURL
}
type ConfigProvider interface {
GetDocumentTextURL() string
}
@@ -1,21 +0,0 @@
package documenttext_test
import (
"testing"
"queryorchestration/internal/serviceconfig/queue/documenttext"
"github.com/stretchr/testify/assert"
)
func TestGetDocumentTextURL(t *testing.T) {
cfg := documenttext.DocTextConfig{}
name := cfg.GetDocumentTextURL()
assert.Equal(t, "", name)
cfg.DocumentTextURL = "name"
name = cfg.GetDocumentTextURL()
assert.Equal(t, "name", name)
assert.Equal(t, cfg.DocumentTextURL, name)
}