diff options
author | Martin Polden <mpolden@mpolden.no> | 2020-03-06 09:01:48 +0100 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2020-03-06 09:01:48 +0100 |
commit | 90ac98f25a564133ee18c56512c2a1095bd5a3ff (patch) | |
tree | 9639c1ed63f932af9902497d99d0d49168ba5ee1 /controller-api | |
parent | e00645f3da970b0eb817bed37347709a162dae02 (diff) |
Remove unused UserResource
Diffstat (limited to 'controller-api')
2 files changed, 0 insertions, 44 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/application/v4/UserResource.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/application/v4/UserResource.java deleted file mode 100644 index a290323a245..00000000000 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/application/v4/UserResource.java +++ /dev/null @@ -1,27 +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.application.v4; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.yahoo.vespa.hosted.controller.api.application.v4.model.UserInfo; -import com.yahoo.vespa.hosted.controller.api.identifiers.UserId; - -import javax.ws.rs.GET; -import javax.ws.rs.PUT; -import javax.ws.rs.Path; -import javax.ws.rs.Produces; -import javax.ws.rs.QueryParam; -import javax.ws.rs.core.MediaType; - -/** - * @author gv - */ -@Path("/v4/user") -@Produces(MediaType.APPLICATION_JSON) -public interface UserResource { - @GET - @JsonInclude(value = JsonInclude.Include.NON_NULL) - UserInfo whoAmI(@QueryParam("userOverride") UserId userOverride); - - @PUT - void createUserTenant(); -} diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/application/v4/model/UserInfo.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/application/v4/model/UserInfo.java deleted file mode 100644 index 2b2a089c543..00000000000 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/application/v4/model/UserInfo.java +++ /dev/null @@ -1,17 +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.application.v4.model; - -import com.fasterxml.jackson.annotation.JsonIgnoreProperties; -import com.yahoo.vespa.hosted.controller.api.identifiers.UserId; - -import java.util.List; - -/** - * @author gv - */ -@JsonIgnoreProperties(ignoreUnknown = true) -public class UserInfo { - public UserId user; - public boolean tenantExists; - public List<TenantInfo> tenants; -} |