-
Notifications
You must be signed in to change notification settings - Fork 4
SDK-60: update endpoints in WorkflowResource.java #45
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
base: main
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is
... and 1 file with indirect coverage changes 🚀 New features to boost your workflow:
|
return resp.getData(); | ||
} | ||
|
||
Workflow testWorkflow(WorkflowTestRequest req) { |
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.
in OrkesWorkflowClient it was already there. Using Conductor WorkflowClient.
return resp.getData(); | ||
} | ||
|
||
void deleteWorkflow(String workflowId, Boolean archiveWorkflow) { |
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.
already existed in OrkesWorkflowClient
client.execute(request); | ||
} | ||
|
||
void resumeWorkflow(String workflowId) { |
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.
already exists in OrkesWorkflowClient
@EugeneKisel-sm, Do you plan to cover workflow endpoints with e2e tests soon? Should I cover them with integration first? |
@IvanKulik-sm I do plan to cover all endpoints with e2e tests, but it is better to add at least 1 happy path integration test for every new endpoint |
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.
lgtm
return workflowResource.getExecutionStatus(workflowId, includeTasks, summarize); | ||
} | ||
|
||
public void jumpToTask(String workflowId, String taskReferenceName, Map<String, Object> input) { |
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.
We officially do not support this. Lets remove.
… the workflow is not yet started
Pull Request type
NOTE: Please remember to run
./gradlew spotlessApply
to fix any format violations.Changes in this PR
Describe the new behavior from this PR, and why it's needed
Issue #
Alternatives considered
Describe alternative implementation you have considered