Search in sources :

Example 1 with TelemetryUpgradeConfiguration

use of com.sequenceiq.cloudbreak.telemetry.TelemetryUpgradeConfiguration in project cloudbreak by hortonworks.

the class MeteringConfigServiceTest method setUp.

@Before
public void setUp() {
    MeteringConfiguration meteringConfiguration = new MeteringConfiguration(true, "app", "stream");
    TelemetryComponentUpgradeConfiguration meteringAgentConfig = new TelemetryComponentUpgradeConfiguration();
    meteringAgentConfig.setDesiredDate("2021-01-01");
    TelemetryUpgradeConfiguration upgradeConfigs = new TelemetryUpgradeConfiguration();
    upgradeConfigs.setEnabled(true);
    upgradeConfigs.setMeteringAgent(meteringAgentConfig);
    underTest = new MeteringConfigService(meteringConfiguration, upgradeConfigs);
}
Also used : TelemetryComponentUpgradeConfiguration(com.sequenceiq.cloudbreak.telemetry.TelemetryComponentUpgradeConfiguration) TelemetryUpgradeConfiguration(com.sequenceiq.cloudbreak.telemetry.TelemetryUpgradeConfiguration) Before(org.junit.Before)

Aggregations

TelemetryComponentUpgradeConfiguration (com.sequenceiq.cloudbreak.telemetry.TelemetryComponentUpgradeConfiguration)1 TelemetryUpgradeConfiguration (com.sequenceiq.cloudbreak.telemetry.TelemetryUpgradeConfiguration)1 Before (org.junit.Before)1