aboutsummaryrefslogtreecommitdiffstats
path: root/controller-api
diff options
context:
space:
mode:
authorJon Marius Venstad <jvenstad@yahoo-inc.com>2018-01-05 12:32:09 +0100
committerJon Marius Venstad <jvenstad@yahoo-inc.com>2018-01-05 12:32:09 +0100
commit7a1e1667753c77a0214a1e0d475cf4bac0627f3b (patch)
treef626c54be50de44f5cf62b2363225c9284108586 /controller-api
parent1122a0a8945c41703af2d746d927f30273c3f678 (diff)
Moved mock to stubs and removed unused code (putting it in a different branch)
Diffstat (limited to 'controller-api')
-rw-r--r--controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/stubs/MockBuildService.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/stubs/MockBuildService.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/stubs/MockBuildService.java
new file mode 100644
index 00000000000..786a26a2330
--- /dev/null
+++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/stubs/MockBuildService.java
@@ -0,0 +1,15 @@
+package com.yahoo.vespa.hosted.controller.api.integration.stubs;
+
+import com.yahoo.vespa.hosted.controller.api.integration.BuildService;
+
+/**
+ * @author jvenstad
+ */
+public class MockBuildService implements BuildService {
+
+ @Override
+ public boolean trigger(BuildJob buildJob) {
+ return true;
+ }
+
+}