[
https://issues.apache.org/jira/browse/GOBBLIN-2089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Abhishek Jain updated GOBBLIN-2089:
-----------------------------------
Description:
When resume or killed is called for a FlowExecution which doesn't exist, we
return 200 HttpStatus code currently.
We should return 404 in such scenarios.
was:
when already a pending action, the current implementation returns 409 for
RESUME, and 400 for KILL. furthermore it provides no message to the user.
this looks like a bug introduced during recent feature development and/or
refactoring
> Fix /flowexecutions KILL and RESUME action to return HTTP 404 when flow
> execution doesn't exist
> -----------------------------------------------------------------------------------------------
>
> Key: GOBBLIN-2089
> URL: https://issues.apache.org/jira/browse/GOBBLIN-2089
> Project: Apache Gobblin
> Issue Type: Improvement
> Components: gobblin-restli
> Reporter: Abhishek Jain
> Assignee: Hung Tran
> Priority: Major
>
> When resume or killed is called for a FlowExecution which doesn't exist, we
> return 200 HttpStatus code currently.
> We should return 404 in such scenarios.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)