feat: expose bounded workflow activation and signal history
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
|
||||
core "git.yuntuo.hk/k2safe/orbit/model"
|
||||
"git.yuntuo.hk/k2safe/orbit/platform/auth"
|
||||
"git.yuntuo.hk/k2safe/orbit/pulse/service"
|
||||
)
|
||||
|
||||
type captureStore struct {
|
||||
@@ -53,3 +54,16 @@ func TestSignalInputBoundary(t *testing.T) {
|
||||
t.Fatal("missing identity accepted")
|
||||
}
|
||||
}
|
||||
|
||||
func (s *captureStore) List(context.Context, auth.Token, core.ID, service.HistoryPageInput) (Page, error) {
|
||||
s.calls++
|
||||
return Page{}, nil
|
||||
}
|
||||
func (s *captureStore) ListOperations(context.Context, auth.Token, core.ID, core.ID, service.HistoryPageInput) (OperationPage, error) {
|
||||
s.calls++
|
||||
return OperationPage{}, nil
|
||||
}
|
||||
func (s *captureStore) GetOperation(context.Context, auth.Token, core.ID, core.ID, core.ID) (OperationView, error) {
|
||||
s.calls++
|
||||
return OperationView{}, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user