aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjonmv <venstad@gmail.com>2022-05-04 15:19:31 +0200
committerjonmv <venstad@gmail.com>2022-05-04 15:19:31 +0200
commitf1991592ec4a3d02664da523e23909982c738297 (patch)
tree4010695d4a23ea5f1df5e6ff3d82e1a1f6bfbf92
parent7833171dac9173ff8ad0ddcffac89269a6b13a00 (diff)
Remove duplicated config in cloud-tenant-base
-rw-r--r--cloud-tenant-base/pom.xml18
-rw-r--r--tenant-cd-api/src/main/java/ai/vespa/hosted/cd/internal/TestRuntimeProvider.java5
2 files changed, 3 insertions, 20 deletions
diff --git a/cloud-tenant-base/pom.xml b/cloud-tenant-base/pom.xml
index dda3aba992f..bb4171bd096 100644
--- a/cloud-tenant-base/pom.xml
+++ b/cloud-tenant-base/pom.xml
@@ -19,24 +19,6 @@
<relativePath>../hosted-tenant-base/pom.xml</relativePath>
</parent>
- <licenses>
- <license>
- <name>The Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
- </license>
- </licenses>
- <developers>
- <developer>
- <name>Vespa</name>
- <url>https://github.com/vespa-engine</url>
- </developer>
- </developers>
- <scm>
- <connection>scm:git:git@github.com:vespa-engine/vespa.git</connection>
- <developerConnection>scm:git:git@github.com:vespa-engine/vespa.git</developerConnection>
- <url>git@github.com:vespa-engine/vespa.git</url>
- </scm>
-
<properties>
<endpoint>https://api-ctl.vespa-cloud.com:4443</endpoint>
<extraTestBundleScopeOverrides>
diff --git a/tenant-cd-api/src/main/java/ai/vespa/hosted/cd/internal/TestRuntimeProvider.java b/tenant-cd-api/src/main/java/ai/vespa/hosted/cd/internal/TestRuntimeProvider.java
index 7dae40b5836..bcf8ab53680 100644
--- a/tenant-cd-api/src/main/java/ai/vespa/hosted/cd/internal/TestRuntimeProvider.java
+++ b/tenant-cd-api/src/main/java/ai/vespa/hosted/cd/internal/TestRuntimeProvider.java
@@ -10,7 +10,7 @@ import java.util.concurrent.atomic.AtomicReference;
*/
public interface TestRuntimeProvider {
- static final AtomicReference<TestRuntime> testRuntime = new AtomicReference<>();
+ AtomicReference<TestRuntime> testRuntime = new AtomicReference<>();
void initialize(byte[] config);
@@ -18,7 +18,8 @@ public interface TestRuntimeProvider {
TestRuntimeProvider.testRuntime.set(testRuntime);
}
- public static TestRuntime getTestRuntime() {
+ static TestRuntime getTestRuntime() {
return testRuntime.get();
}
+
}