public static void deleteESInput(){
  String esPIRIndex=SystemConfiguration.getProperty(DistributedTestDriver.ES_INPUT_NODES_PROPERTY) + ":" + SystemConfiguration.getProperty(DistributedTestDriver.ES_INPUT_PORT_PROPERTY)+ "/"+ SystemConfiguration.getProperty(DistributedTestDriver.ES_INPUT_INDEX_PROPERTY);
  logger.info("ES input being deleted at " + esPIRIndex);
  ProcessBuilder pDeletePIR=new ProcessBuilder("curl","-XDELETE",esPIRIndex);
  try {
    TestUtils.executeCommand(pDeletePIR);
    logger.info("ES input deleted!");
  }
 catch (  IOException e) {
    e.printStackTrace();
  }
}

public static void deleteESInput ( ) { String esPIRIndex = SystemConfiguration . getProperty ( DistributedTestDriver . ES_INPUT_NODES_PROPERTY ) + ":" + SystemConfiguration . getProperty ( DistributedTestDriver . ES_INPUT_PORT_PROPERTY ) + "/" + SystemConfiguration . getProperty ( DistributedTestDriver . ES_INPUT_INDEX_PROPERTY ) ; logger . info ( "ES input being deleted at " + esPIRIndex ) ; ProcessBuilder pDeletePIR = new ProcessBuilder ( "curl" , "-XDELETE" , esPIRIndex ) ; try { TestUtils . executeCommand ( pDeletePIR ) ; logger . info ( "ES input deleted!" ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } }
delete the elasticsearch indices that was used for functional testing
