Various updates

- rebrand group to domain
- move IAM to the API (rest and graph) for enforcing "process:" rules
- add abstraction layer for restream store in order to decouple internal format from format on disk
- move playout handler into restreamHandler
- remove user from restream interface
- add TaskID type that includes the process id and its domain
This commit is contained in:
Ingo Oppermann
2023-05-23 15:47:06 +02:00
parent 6f831fd190
commit ccac2ffd5d
36 changed files with 1822 additions and 1001 deletions

View File

@@ -36,6 +36,7 @@ import (
"github.com/datarhei/core/v16/restream/replace"
"github.com/datarhei/core/v16/restream/rewrite"
restreamstore "github.com/datarhei/core/v16/restream/store"
restreamjsonstore "github.com/datarhei/core/v16/restream/store/json"
"github.com/datarhei/core/v16/rtmp"
"github.com/datarhei/core/v16/service"
"github.com/datarhei/core/v16/session"
@@ -718,7 +719,7 @@ func (a *api) start() error {
if err != nil {
return err
}
store, err = restreamstore.NewJSON(restreamstore.JSONConfig{
store, err = restreamjsonstore.New(restreamjsonstore.Config{
Filesystem: fs,
Filepath: "/db.json",
Logger: a.log.logger.core.WithComponent("ProcessStore"),