Merged in feature/remove-mocks (pull request #202)
Feature/remove mocks * remove mocks * cleanup db migrations
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
// **Listens For**: Body Containing Document ID.
|
||||
//
|
||||
// **Action**.
|
||||
// Listens For: Body Containing Document ID.
|
||||
//
|
||||
// Action:
|
||||
// If the document is not already clean according to the collector standards, a clean is triggered.
|
||||
//
|
||||
// An event with the document id is pushed to the DOCTEXT queue.
|
||||
// Note: Text extraction has been removed. The document pipeline ends after cleaning.
|
||||
// See remove_texttract_and_mocks_plan.md for details.
|
||||
package main
|
||||
|
||||
import (
|
||||
@@ -17,14 +16,14 @@ import (
|
||||
"queryorchestration/internal/server/runner"
|
||||
"queryorchestration/internal/serviceconfig/build"
|
||||
"queryorchestration/internal/serviceconfig/objectstore"
|
||||
"queryorchestration/internal/serviceconfig/queue/documenttext"
|
||||
|
||||
_ "github.com/lib/pq"
|
||||
)
|
||||
|
||||
// DocCleanConfig provides configuration for the document cleaning runner.
|
||||
// Note: documenttext.DocTextConfig has been removed since text extraction is deprecated.
|
||||
type DocCleanConfig struct {
|
||||
runner.BaseConfig[doccleanrunner.Body]
|
||||
documenttext.DocTextConfig
|
||||
objectstore.ObjectStoreConfig
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user