use of io.syndesis.qe.account.Account in project syndesis-qe by syndesisio.
the class FtpClientManager method initProperties.
private void initProperties() {
Account account = AccountsDirectory.getInstance().get(Account.Name.FTP);
Map<String, String> properties = new HashMap<>();
account.getProperties().forEach((key, value) -> properties.put(key.toLowerCase(), value));
ftpUser = properties.get("username");
ftpPass = properties.get("password");
ftpPodName = properties.get("host");
ftpRemotePort = Integer.parseInt(properties.get("port"));
}
Aggregations