use of io.cdap.cdap.cli.util.table.CsvTableRenderer in project cdap by caskdata.
the class CLIMainLinkTest method createCLIConfigWithURIPrefix.
public static CLIConfig createCLIConfigWithURIPrefix(URI standaloneUri) throws Exception {
ConnectionConfig connectionConfig = InstanceURIParser.DEFAULT.parseInstanceURI(standaloneUri.toString(), null);
ClientConfig clientConfig = new ClientConfig.Builder().setConnectionConfig(connectionConfig).build();
clientConfig.setAllTimeouts(60000);
return new CLIConfig(clientConfig, System.out, new CsvTableRenderer());
}
use of io.cdap.cdap.cli.util.table.CsvTableRenderer in project cdap by caskdata.
the class CLITestBase method createCLIConfig.
public 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