Create delete_session_recording job and associated infra

This commit is contained in:
Danielle Miu authored and Louis Ruch committed 2024-01-16 15:47:09 -08:00
1 parent 2dda19aafe
commit e903947bef
5 files changed
+156 -2

No files matched your search

+4
View File
@@ -40,6 +40,7 @@ import (
"github.com/hashicorp/boundary/internal/plugin"
"github.com/hashicorp/boundary/internal/plugin/loopback"
"github.com/hashicorp/boundary/internal/ratelimit"
"github.com/hashicorp/boundary/internal/recording"
"github.com/hashicorp/boundary/internal/scheduler"
"github.com/hashicorp/boundary/internal/scheduler/cleaner"
"github.com/hashicorp/boundary/internal/scheduler/job"
@@ -615,6 +616,9 @@ func (c *Controller) registerJobs() error {
if err := purge.RegisterJobs(c.baseContext, c.scheduler, rw, rw); err != nil {
return err
}
if err := recording.RegisterJob(c.baseContext, c.scheduler, rw, rw, c.ControllerExtension, c.kms); err != nil {
return err
}
return nil
}