diff options
author | Ola Aunrønning <olaa@verizonmedia.com> | 2021-09-16 15:39:20 +0200 |
---|---|---|
committer | Ola Aunrønning <olaa@verizonmedia.com> | 2021-09-16 15:39:20 +0200 |
commit | 61ee68c3c63d18cf6d201f07dcc574031252aa82 (patch) | |
tree | 4042b915c3338b8999d2fa461b378247bd9a6f22 /controller-api | |
parent | 511170c43b976486e43433f4b796e33e98d3519c (diff) |
Ignore dashboardId parameter. Remove unused functions
Diffstat (limited to 'controller-api')
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(); - } } |