Skip to content

Commit

Permalink
Implement missing interface in History Handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamer Eldeeb committed Dec 29, 2016
1 parent 8f76346 commit 797d311
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/history/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/uber/tchannel-go/thrift"
)

const historyServiceName = "History"
const historyServiceName = "uber-minions-history"

var _ Client = (*clientImpl)(nil)

Expand Down
6 changes: 6 additions & 0 deletions service/history/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,9 @@ func (h *Handler) StartWorkflowExecution(ctx thrift.Context,
RunId: wf.RunId,
}, err
}

// GetWorkflowExecutionHistory - returns the complete history of a workflow execution
func (h *Handler) GetWorkflowExecutionHistory(ctx thrift.Context,
getRequest *gen.GetWorkflowExecutionHistoryRequest) (*gen.GetWorkflowExecutionHistoryResponse, error) {
return h.engine.GetWorkflowExecutionHistory(getRequest)
}

0 comments on commit 797d311

Please sign in to comment.