diff options
author | Martin Polden <mpolden@mpolden.no> | 2018-06-22 15:10:58 +0200 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2018-06-26 14:01:48 +0200 |
commit | 3289bd77b0580668c3e80e7e790b78bc81fee455 (patch) | |
tree | 842afe722a7d3669de0d8d0f1a48c899cea8dbd4 /controller-api | |
parent | 34d80f9d3ffb3ebf984e67d2414f5ab16d2dfa5e (diff) |
Rewrite StatusPage proxy
Diffstat (limited to 'controller-api')
2 files changed, 0 insertions, 29 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/statuspage/StatusPageResource.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/statuspage/StatusPageResource.java deleted file mode 100644 index 65c5e0f9365..00000000000 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/statuspage/StatusPageResource.java +++ /dev/null @@ -1,24 +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.statuspage; - -import com.fasterxml.jackson.databind.JsonNode; - -import javax.ws.rs.GET; -import javax.ws.rs.Path; -import javax.ws.rs.PathParam; -import javax.ws.rs.Produces; -import javax.ws.rs.QueryParam; -import javax.ws.rs.core.MediaType; - -/** - * @author andreer - */ -@Path("/v1/") -@Produces(MediaType.APPLICATION_JSON) -public interface StatusPageResource { - - @GET - @Path("{page}") - @Produces(MediaType.APPLICATION_JSON) - JsonNode statusPage(@PathParam("page") String page, @QueryParam("since") String since); -} diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/statuspage/package-info.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/statuspage/package-info.java deleted file mode 100644 index 3f9117bf931..00000000000 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/statuspage/package-info.java +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -@ExportPackage -package com.yahoo.vespa.hosted.controller.api.statuspage; - -import com.yahoo.osgi.annotation.ExportPackage; |