public void deleteFlowConfig(FlowId flowId)
      throws RemoteInvocationException {
    LOG.debug("deleteFlowConfig with groupName {}, flowName {}", flowId.getFlowGroup(), flowId.getFlowName());

    DeleteRequest<FlowConfig> deleteRequest = _flowconfigsV2RequestBuilders.delete()
        .id(new ComplexResourceKey<>(flowId, new FlowStatusId())).build();
    ResponseFuture<EmptyRecord> response = _restClient.get().sendRequest(deleteRequest);

    response.getResponse();
  }
public void deleteFlowConfig ( FlowId flowId ) throws RemoteInvocationException { LOG . debug ( "deleteFlowConfig with groupName {}, flowName {}" , flowId . getFlowGroup ( ) , flowId . getFlowName ( ) ) ; DeleteRequest < FlowConfig > deleteRequest = _flowconfigsV2RequestBuilders . delete ( ) . id ( new ComplexResourceKey < > ( flowId , new FlowStatusId ( ) ) ) . build ( ) ; ResponseFuture < EmptyRecord > response = _restClient . get ( ) . sendRequest ( deleteRequest ) ; response . getResponse ( ) ; }
Delete a flow configuration
@param flowId identifier of flow configuration to delete
@throws RemoteInvocationException