Remove getRotationStatus default implementation
@@ -6,7 +6,6 @@ import com.yahoo.config.provision.HostName;
import com.yahoo.vespa.hosted.controller.api.integration.routing.RotationStatus;
import com.yahoo.vespa.hosted.controller.api.integration.zone.ZoneId;
-import java.util.Collections;
import java.util.Map;
/**
@@ -20,14 +19,11 @@ public interface MetricsService {
DeploymentMetrics getDeploymentMetrics(ApplicationId application, ZoneId zone);
- // TODO: Remove default once implementation catches up
/**
* Get status for a global rotation
* @param rotationName The fully qualified domain name of the rotation
*/
- default Map<HostName, RotationStatus> getRotationStatus(String rotationName) {
- return Collections.emptyMap();
- }
+ Map<HostName, RotationStatus> getRotationStatus(String rotationName);
Map<String, SystemMetrics> getSystemMetrics(ApplicationId application, ZoneId zone);
