summaryrefslogtreecommitdiffstats
path: root/controller-api
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2018-09-21 15:02:25 +0200
committerMartin Polden <mpolden@mpolden.no>2018-09-24 10:34:13 +0200
commit718466ef345c30d80901b566f88d2b0d2a14cc42 (patch)
tree03b2336330d5424561057e02e68d2b45d1f1c898 /controller-api
parent53c7f12a5205b4828964370f4895b5bd1f82bbdb (diff)
Use cached rotation status in application API
Diffstat (limited to 'controller-api')
-rw-r--r--controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/routing/MemoryGlobalRoutingService.java20
1 files changed, 0 insertions, 20 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/routing/MemoryGlobalRoutingService.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/routing/MemoryGlobalRoutingService.java
deleted file mode 100644
index 9f1ac1b1f0b..00000000000
--- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/routing/MemoryGlobalRoutingService.java
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-package com.yahoo.vespa.hosted.controller.api.integration.routing;
-
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * @author bratseth
- */
-public class MemoryGlobalRoutingService implements GlobalRoutingService {
-
- @Override
- public Map<String, RotationStatus> getHealthStatus(String rotationName) {
- HashMap<String, RotationStatus> map = new HashMap<>();
- map.put("prod.us-west-1", RotationStatus.IN);
- return Collections.unmodifiableMap(map);
- }
-
-}