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);
}
Aggregations