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
Add describeWorkflow method in Client #184
Conversation
ffccbdc
to
0d12a67
Compare
Codecov Report
@@ Coverage Diff @@
## main #184 +/- ##
============================================
+ Coverage 69.71% 69.88% +0.16%
- Complexity 343 345 +2
============================================
Files 57 57
Lines 1453 1461 +8
Branches 134 134
============================================
+ Hits 1013 1021 +8
Misses 368 368
Partials 72 72
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
* @param workflowRunId optional | ||
* @return the workflow's status | ||
*/ | ||
public WorkflowStatus getWorkflowStatus( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe getWorkflowInfo
or describeWorkflow
(the name is from Cadence/Temporal)
because we can extend it to get more fields, like workflowStartTime
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should I put the new class WorkflowInfo
into the idl or just in the java-sdk?
I created a MR to add it as a general schema in the idl:
https://github.com/indeedeng/iwf-idl/pull/43/files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably in SDK to keep the idl simple for now
No description provided.