diff options
author | Martin Polden <mpolden@mpolden.no> | 2018-06-27 09:24:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-27 09:24:29 +0200 |
commit | 9c1f55f862eb46743f41b2a55edc50d10a72c06f (patch) | |
tree | 28c5865060d03f0b47594a55e9409a57be863232 /controller-api | |
parent | 3a0a7788ee38f63b26bd842fceb5175d15476c61 (diff) | |
parent | c9451b78686b923704126728f56c973c9767709e (diff) |
Merge pull request #6286 from vespa-engine/mpolden/rewrite-statuspage-proxy
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; |