Search in sources :

Example 1 with DatadogCanaryAccount

use of com.netflix.spinnaker.halyard.config.model.v1.canary.datadog.DatadogCanaryAccount in project halyard by spinnaker.

the class DatadogAddCanaryAccountCommand method buildAccount.

@Override
protected AbstractCanaryAccount buildAccount(Canary canary, String accountName) {
    DatadogCanaryAccount account = (DatadogCanaryAccount) new DatadogCanaryAccount().setName(accountName);
    account.setEndpoint(new DatadogCanaryAccount.Endpoint().setBaseUrl(baseUrl)).setApiKey(apiKey).setApplicationKey(applicationKey);
    return account;
}
Also used : DatadogCanaryAccount(com.netflix.spinnaker.halyard.config.model.v1.canary.datadog.DatadogCanaryAccount)

Aggregations

DatadogCanaryAccount (com.netflix.spinnaker.halyard.config.model.v1.canary.datadog.DatadogCanaryAccount)1