diff --git a/manifest.yaml b/manifest.yaml index 5fa6bcf1..4002d7f4 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -26,7 +26,7 @@ box: strategy: download: bucket project: catalyst-api - commit: 2632451b49a2c3aeedae2074ecd8af6784e952e3 + commit: de17642bf4a0d7cf1bccd3b3b88c747322212fd0 release: main srcFilenames: darwin-amd64: livepeer-catalyst-api-darwin-amd64.tar.gz diff --git a/test/e2e/mist_config.go b/test/e2e/mist_config.go index d4f21752..6ab283a4 100644 --- a/test/e2e/mist_config.go +++ b/test/e2e/mist_config.go @@ -98,10 +98,10 @@ type targetProfile struct { } type trigger struct { - Handler string `json:"handler"` - Sync bool `json:"sync"` - Default string `json:"default"` - Streams []string `json:"streams"` + Handler string `json:"handler,omitempty"` + Sync bool `json:"sync,omitempty"` + Default string `json:"default,omitempty"` + Streams []string `json:"streams,omitempty"` } type mistConfig struct { @@ -186,12 +186,10 @@ func defaultMistConfig(host, sourceOutput string) mistConfig { SidMode: "0", Trustedproxy: []string{}, Triggers: map[string][]trigger{ - "STREAM_SOURCE": { + "LIVE_TRACK_LIST": { { - Handler: "http://127.0.0.1:7878/STREAM_SOURCE", - Sync: true, - Default: "push://", - Streams: []string{}, + Handler: "http://127.0.0.1:7878/api/mist/trigger", + Sync: false, }, }, "PUSH_END": { @@ -200,12 +198,42 @@ func defaultMistConfig(host, sourceOutput string) mistConfig { Sync: false, }, }, - "RECORDING_END": { + "PUSH_OUT_START": { + { + Handler: "http://127.0.0.1:7878/api/mist/trigger", + Sync: true, + }, + }, + "PUSH_REWRITE": { + { + Handler: "http://127.0.0.1:7878/api/mist/trigger", + Sync: true, + }, + }, + "STREAM_BUFFER": { + { + Handler: "http://127.0.0.1:7878/api/mist/trigger", + Sync: false, + }, + }, + "STREAM_SOURCE": { + { + Handler: "http://127.0.0.1:7878/api/mist/trigger", + Sync: true, + }, + }, + "USER_END": { { Handler: "http://127.0.0.1:7878/api/mist/trigger", Sync: false, }, }, + "USER_NEW": { + { + Handler: "http://127.0.0.1:7878/api/mist/trigger", + Sync: true, + }, + }, }, }, Streams: map[string]stream{