batch upload impl

This commit is contained in:
jay brown
2025-08-06 15:06:18 -07:00
parent fac5615c15
commit 7014fa790b
17 changed files with 1272 additions and 97 deletions
+13 -6
View File
@@ -13,6 +13,7 @@ import (
querytest "queryorchestration/internal/query/test"
queryupdate "queryorchestration/internal/query/update"
"queryorchestration/internal/serviceconfig/auth"
"queryorchestration/internal/serviceconfig/objectstore"
)
const Name = "queryAPI"
@@ -31,14 +32,20 @@ type Services struct {
DocumentBatch *documentbatch.Service
}
type Controllers struct {
svc *Services
authConfig auth.ConfigProvider
// ConfigProvider combines auth and objectstore interfaces for the Controllers
type ConfigProvider interface {
auth.ConfigProvider
objectstore.ConfigProvider
}
func NewControllers(services *Services, authConfig auth.ConfigProvider) *Controllers {
type Controllers struct {
svc *Services
cfg ConfigProvider
}
func NewControllers(services *Services, cfg ConfigProvider) *Controllers {
return &Controllers{
svc: services,
authConfig: authConfig,
svc: services,
cfg: cfg,
}
}