use of io.syndesis.qe.account.Account in project syndesis-qe by syndesisio.
the class GMailSteps method deleteMailsFromCreds.
@Given("^delete emails from credentials \"([^\"]*)\" with subject \"([^\"]*)\"$")
public void deleteMailsFromCreds(String creds, String subject) {
Account account = AccountsDirectory.getInstance().get(creds);
gmu.deleteMessages(account.getProperty("username"), subject);
}
use of io.syndesis.qe.account.Account in project syndesis-qe by syndesisio.
the class TwitterSend method fillRealUserName.
public void fillRealUserName(String account) {
Account acc = AccountsDirectory.getInstance().get(account);
this.fillInputByDataTestid("user", acc.getProperty("screenName"));
}
use of io.syndesis.qe.account.Account in project syndesis-qe by syndesisio.
the class FHIR method initProperties.
private void initProperties() {
Account account = AccountsDirectory.getInstance().get(Account.Name.FHIR);
Map<String, String> properties = new HashMap<>();
account.getProperties().forEach((key, value) -> properties.put(key.toLowerCase(), value));
appName = properties.get("host");
fhirPort = Integer.parseInt(properties.get("port"));
}
use of io.syndesis.qe.account.Account in project syndesis-qe by syndesisio.
the class Kudu method createAccount.
public void createAccount() {
Account kudu = new Account();
kudu.setService("Apache Kudu");
Map<String, String> accountParameters = new HashMap<>();
accountParameters.put("host", "syndesis-kudu");
kudu.setProperties(accountParameters);
AccountsDirectory.getInstance().addAccount("kudu", kudu);
}
use of io.syndesis.qe.account.Account in project syndesis-qe by syndesisio.
the class IRC method addAccount.
public void addAccount() {
Account irc = new Account();
Map<String, String> params = new HashMap<>();
params.put("hostname", "irc-server");
params.put("port", "6667");
irc.setService("irc");
irc.setProperties(params);
AccountsDirectory.getInstance().getAccounts().put("irc", irc);
}
Aggregations