Merged in feature/eula.part1 (pull request #206)
eula support * eula support * docs
This commit is contained in:
@@ -29,13 +29,13 @@ func main() {
|
||||
})
|
||||
|
||||
server := &http.Server{
|
||||
Addr: ":8085",
|
||||
Addr: ":8080",
|
||||
Handler: mux,
|
||||
ReadHeaderTimeout: time.Minute,
|
||||
}
|
||||
|
||||
go func() {
|
||||
slog.Info("Starting health check server on port 8085")
|
||||
slog.Info("Starting health check server on port 8080")
|
||||
if err := server.ListenAndServe(); err != http.ErrServerClosed {
|
||||
slog.Error("Health check server error", "error", err)
|
||||
}
|
||||
|
||||
@@ -24,6 +24,7 @@ import (
|
||||
"queryorchestration/internal/cognitoauth"
|
||||
"queryorchestration/internal/collector"
|
||||
"queryorchestration/internal/document"
|
||||
"queryorchestration/internal/eula"
|
||||
"queryorchestration/internal/export"
|
||||
"queryorchestration/internal/fieldextraction"
|
||||
"queryorchestration/internal/folder"
|
||||
@@ -77,6 +78,7 @@ func main() {
|
||||
fieldext := fieldextraction.New(cfg)
|
||||
fld := folder.New(cfg)
|
||||
lbl := label.New(cfg)
|
||||
eul := eula.New(cfg)
|
||||
|
||||
services := &queryapi.Services{
|
||||
Export: exp,
|
||||
@@ -90,6 +92,7 @@ func main() {
|
||||
FieldExtraction: fieldext,
|
||||
Folder: fld,
|
||||
Label: lbl,
|
||||
Eula: eul,
|
||||
}
|
||||
|
||||
cons := queryapi.NewControllers(services, cfg)
|
||||
|
||||
Reference in New Issue
Block a user