summaryrefslogtreecommitdiffstats
path: root/controller-api
diff options
context:
space:
mode:
Diffstat (limited to 'controller-api')
-rw-r--r--controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/horizon/HorizonClient.java10
-rw-r--r--controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/horizon/MockHorizonClient.java21
2 files changed, 2 insertions, 29 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/horizon/HorizonClient.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/horizon/HorizonClient.java
index 554d3e5b7fa..6933c9b18f5 100644
--- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/horizon/HorizonClient.java
+++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/horizon/HorizonClient.java
@@ -10,16 +10,8 @@ public interface HorizonClient {
HorizonResponse getUser();
- HorizonResponse getDashboard(String dashboardId);
-
- HorizonResponse getFavorite(String userId);
+ HorizonResponse getDashboard();
HorizonResponse getTopFolders();
- HorizonResponse getRecent(String userId);
-
- HorizonResponse getClipboard(String dashboardId);
-
- HorizonResponse getMetaData(byte[] query);
-
}
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/horizon/MockHorizonClient.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/horizon/MockHorizonClient.java
index 13a8c2ec079..f98082ea6aa 100644
--- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/horizon/MockHorizonClient.java
+++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/horizon/MockHorizonClient.java
@@ -17,12 +17,7 @@ public class MockHorizonClient implements HorizonClient {
}
@Override
- public HorizonResponse getDashboard(String dashboardId) {
- return HorizonResponse.empty();
- }
-
- @Override
- public HorizonResponse getFavorite(String userId) {
+ public HorizonResponse getDashboard() {
return HorizonResponse.empty();
}
@@ -31,18 +26,4 @@ public class MockHorizonClient implements HorizonClient {
return HorizonResponse.empty();
}
- @Override
- public HorizonResponse getRecent(String userId) {
- return HorizonResponse.empty();
- }
-
- @Override
- public HorizonResponse getClipboard(String dashboardId) {
- return HorizonResponse.empty();
- }
-
- @Override
- public HorizonResponse getMetaData(byte[] query) {
- return HorizonResponse.empty();
- }
}