Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix print event version in CLI #821

Merged
merged 1 commit into from
Jun 6, 2018

Conversation

longquanzheng
Copy link
Contributor

Verified in my laptop:

longer@~/gocode/src/github.com/uber/cadence:(master)$ ./cadence --domain samples-domain wf show -w helloworld_1519c56e-28ab-4591-84f1-16433bf2fa2f -pf
  (EventId:1,Timestamp:1528306125831438314,EventType:WorkflowExecutionStarted,Version:1,WorkflowExecutionStartedEventAttributes:(WorkflowType:(Name:main.Workflow),TaskList:(Name:helloWorldGroup),Input:["Cadence"
  ],ExecutionStartToCloseTimeoutSeconds:60,TaskStartToCloseTimeoutSeconds:60,Identity:35847@longer-C02V60N3HTDG@))
  (EventId:2,Timestamp:1528306125831446770,EventType:DecisionTaskScheduled,Version:1,DecisionTaskScheduledEventAttributes:(TaskList:(Name:helloWorldGroup),StartToCloseTimeoutSeconds:60,Attempt:0))
  (EventId:3,Timestamp:1528306185834489247,EventType:WorkflowExecutionTimedOut,Version:1,WorkflowExecutionTimedOutEventAttributes:(TimeoutType:START_TO_CLOSE))
longer@~/gocode/src/github.com/uber/cadence:(master)$ ./cadence --domain samples-domain wf show -w helloworld_1519c56e-28ab-4591-84f1-16433bf2fa2f -pev
  1  (Version: 1)  WorkflowExecutionStarted   (WorkflowType:(Name:main.Workflow),TaskList:(Name:helloWorldGroup),Input:["Cadence"
                                               ],ExecutionStartToCloseTimeoutSeconds:60,TaskStartToCloseTimeoutSeconds:60,Identity:35847@longer-C02V60N3HTDG@)
  2  (Version: 1)  DecisionTaskScheduled      (TaskList:(Name:helloWorldGroup),StartToCloseTimeoutSeconds:60,Attempt:0)
  3  (Version: 1)  WorkflowExecutionTimedOut  (TimeoutType:START_TO_CLOSE)

@longquanzheng longquanzheng requested a review from samarabbas June 6, 2018 17:36
@longquanzheng longquanzheng merged commit 34c6e50 into cadence-workflow:master Jun 6, 2018
@longquanzheng longquanzheng deleted the fixPev branch January 5, 2020 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants