public class MeasureAction extends AbstractProjectBadgesWsAction {
private static final String PARAM_METRIC = "metric";
- private final TelemetryBadgeProvider telemetryBadgeProvider;
private static final Map<String, String> METRIC_NAME_BY_KEY = ImmutableMap.<String, String>builder()
.put(COVERAGE_KEY, "coverage")
E, Color.RATING_E));
private final DbClient dbClient;
+ private final TelemetryBadgeProvider telemetryBadgeProvider;
public MeasureAction(DbClient dbClient, ProjectBadgesSupport support, SvgGenerator svgGenerator,
TelemetryBadgeProvider telemetryBadgeProvider) {