public UpdateResponse deleteFlowConfig ( FlowId flowId , Properties header , boolean triggerListener ) throws FlowConfigLoggedException { log . info ( "[GAAS-REST] Delete called with flowGroup {} flowName {}" , flowId . getFlowGroup ( ) , flowId . getFlowName ( ) ) ; URI flowUri = null ; try { flowUri = FlowUriUtils . createFlowSpecUri ( flowId ) ; this . flowCatalog . remove ( flowUri , header , triggerListener ) ; return new UpdateResponse ( HttpStatus . S_200_OK ) ; } catch ( URISyntaxException e ) { throw new FlowConfigLoggedException ( HttpStatus . S_400_BAD_REQUEST , "bad URI " + flowUri , e ) ; } }
Delete flowConfig locally and trigger all listeners iff