Merged in feature/doc_import (pull request #177)
integration of background processor * integration part 1 * feature working * fix mimetype issue
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"io"
|
||||
"log/slog"
|
||||
|
||||
"queryorchestration/internal/backgroundtask"
|
||||
"queryorchestration/internal/serviceconfig/aws"
|
||||
"queryorchestration/internal/serviceconfig/objectstore"
|
||||
)
|
||||
@@ -76,11 +77,12 @@ func (m *mockAuthConfig) SetS3UsePathStyle(bool)
|
||||
func (m *mockAuthConfig) CalculateETag(context.Context, io.Reader) (string, error) {
|
||||
return "test-etag", nil
|
||||
}
|
||||
func (m *mockAuthConfig) GetDirectoryPart(uint16, int64) uint16 { return 0 }
|
||||
func (m *mockAuthConfig) GetBucket() string { return "test-bucket" }
|
||||
func (m *mockAuthConfig) SetBucket(string) {}
|
||||
func (m *mockAuthConfig) GetAWSProfile() aws.Profile { return aws.Profile("default") }
|
||||
func (m *mockAuthConfig) SetAWSProfile(aws.Profile) {}
|
||||
func (m *mockAuthConfig) GetDirectoryPart(uint16, int64) uint16 { return 0 }
|
||||
func (m *mockAuthConfig) GetBucket() string { return "test-bucket" }
|
||||
func (m *mockAuthConfig) SetBucket(string) {}
|
||||
func (m *mockAuthConfig) GetAWSProfile() aws.Profile { return aws.Profile("default") }
|
||||
func (m *mockAuthConfig) SetAWSProfile(aws.Profile) {}
|
||||
func (m *mockAuthConfig) GetBackgroundRunner() *backgroundtask.Runner { return nil }
|
||||
|
||||
// NewTestControllers creates a Controllers instance for testing with a mock auth config
|
||||
func NewTestControllers(services *Services) *Controllers {
|
||||
|
||||
Reference in New Issue
Block a user