summaryrefslogtreecommitdiffstats
path: root/application-model
diff options
context:
space:
mode:
Diffstat (limited to 'application-model')
-rw-r--r--application-model/pom.xml6
-rw-r--r--application-model/src/main/java/com/yahoo/vespa/applicationmodel/TenantId.java2
2 files changed, 2 insertions, 6 deletions
diff --git a/application-model/pom.xml b/application-model/pom.xml
index 7eac247e249..3abf9851d5c 100644
--- a/application-model/pom.xml
+++ b/application-model/pom.xml
@@ -23,12 +23,6 @@
</dependency>
<dependency>
<groupId>com.yahoo.vespa</groupId>
- <artifactId>vespajlib</artifactId>
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.yahoo.vespa</groupId>
<artifactId>config-provisioning</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
diff --git a/application-model/src/main/java/com/yahoo/vespa/applicationmodel/TenantId.java b/application-model/src/main/java/com/yahoo/vespa/applicationmodel/TenantId.java
index 20aca379015..7d94a0418e4 100644
--- a/application-model/src/main/java/com/yahoo/vespa/applicationmodel/TenantId.java
+++ b/application-model/src/main/java/com/yahoo/vespa/applicationmodel/TenantId.java
@@ -31,6 +31,8 @@ public class TenantId {
return id;
}
+ public TenantName toName() { return TenantName.from(id); }
+
@Override
public boolean equals(Object o) {
if (this == o) return true;