use of co.cask.cdap.cli.util.table.CsvTableRenderer in project cdap by caskdata.
the class CLITestBase method createCLIConfig.
protected static CLIConfig createCLIConfig(URI standaloneUri) throws Exception {
ConnectionConfig connectionConfig = InstanceURIParser.DEFAULT.parse(standaloneUri.toString());
ClientConfig clientConfig = new ClientConfig.Builder().setConnectionConfig(connectionConfig).build();
clientConfig.setAllTimeouts(60000);
return new CLIConfig(clientConfig, System.out, new CsvTableRenderer());
}
Aggregations