Merged in feature/download-pdf (pull request #216)
retrieve document by id and tests * working * missing files
This commit is contained in:
+16
-13
@@ -28,6 +28,7 @@ import (
|
||||
collectorset "queryorchestration/internal/collector/set"
|
||||
"queryorchestration/internal/document"
|
||||
documentbatch "queryorchestration/internal/document/batch"
|
||||
documentdownload "queryorchestration/internal/document/download"
|
||||
documentupload "queryorchestration/internal/document/upload"
|
||||
"queryorchestration/internal/eula"
|
||||
"queryorchestration/internal/export"
|
||||
@@ -75,6 +76,7 @@ func main() {
|
||||
})
|
||||
doc := document.New(cfg)
|
||||
docup := documentupload.New(cfg)
|
||||
docdownload := documentdownload.New(cfg)
|
||||
docbatch := documentbatch.New(cfg)
|
||||
fieldext := fieldextraction.New(cfg)
|
||||
fld := folder.New(cfg)
|
||||
@@ -83,19 +85,20 @@ func main() {
|
||||
uiSvc := uisettings.New(cfg)
|
||||
|
||||
services := &queryapi.Services{
|
||||
Export: exp,
|
||||
Collector: col,
|
||||
CollectorSet: colupdate,
|
||||
Client: cli,
|
||||
ClientUpdate: cliUpdate,
|
||||
Document: doc,
|
||||
DocumentUpload: docup,
|
||||
DocumentBatch: docbatch,
|
||||
UISettings: uiSvc,
|
||||
FieldExtraction: fieldext,
|
||||
Folder: fld,
|
||||
Label: lbl,
|
||||
Eula: eul,
|
||||
Export: exp,
|
||||
Collector: col,
|
||||
CollectorSet: colupdate,
|
||||
Client: cli,
|
||||
ClientUpdate: cliUpdate,
|
||||
Document: doc,
|
||||
DocumentUpload: docup,
|
||||
DocumentDownload: docdownload,
|
||||
DocumentBatch: docbatch,
|
||||
UISettings: uiSvc,
|
||||
FieldExtraction: fieldext,
|
||||
Folder: fld,
|
||||
Label: lbl,
|
||||
Eula: eul,
|
||||
}
|
||||
|
||||
cons := queryapi.NewControllers(services, cfg)
|
||||
|
||||
Reference in New Issue
Block a user