api: fix refactored ApiServerService interface to api Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/74f57959 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/74f57959 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/74f57959 Branch: refs/heads/master Commit: 74f57959085c170fe18808b9da9eac2a1cb22d78 Parents: 68e094e Author: Rohit Yadav <rohit.ya...@shapeblue.com> Authored: Sun Aug 24 15:52:55 2014 +0200 Committer: Rohit Yadav <rohit.ya...@shapeblue.com> Committed: Thu Aug 28 19:45:22 2014 +0200 ---------------------------------------------------------------------- api/pom.xml | 5 +++++ api/src/org/apache/cloudstack/api/ApiServerService.java | 3 --- api/src/org/apache/cloudstack/api/auth/APIAuthenticator.java | 1 - 3 files changed, 5 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/74f57959/api/pom.xml ---------------------------------------------------------------------- diff --git a/api/pom.xml b/api/pom.xml index abfa2c5..ba547df 100644 --- a/api/pom.xml +++ b/api/pom.xml @@ -36,6 +36,11 @@ <artifactId>gson</artifactId> </dependency> <dependency> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + <version>${cs.servlet.version}</version> + </dependency> + <dependency> <groupId>org.apache.cloudstack</groupId> <artifactId>cloud-framework-db</artifactId> <version>${project.version}</version> http://git-wip-us.apache.org/repos/asf/cloudstack/blob/74f57959/api/src/org/apache/cloudstack/api/ApiServerService.java ---------------------------------------------------------------------- diff --git a/api/src/org/apache/cloudstack/api/ApiServerService.java b/api/src/org/apache/cloudstack/api/ApiServerService.java index 9c0cfa3..69215c5 100644 --- a/api/src/org/apache/cloudstack/api/ApiServerService.java +++ b/api/src/org/apache/cloudstack/api/ApiServerService.java @@ -17,9 +17,6 @@ package org.apache.cloudstack.api; import com.cloud.exception.CloudAuthenticationException; -import org.apache.cloudstack.api.ResponseObject; -import org.apache.cloudstack.api.ServerApiException; - import javax.servlet.http.HttpSession; import java.util.Map; http://git-wip-us.apache.org/repos/asf/cloudstack/blob/74f57959/api/src/org/apache/cloudstack/api/auth/APIAuthenticator.java ---------------------------------------------------------------------- diff --git a/api/src/org/apache/cloudstack/api/auth/APIAuthenticator.java b/api/src/org/apache/cloudstack/api/auth/APIAuthenticator.java index 20fe61f..b008f00 100644 --- a/api/src/org/apache/cloudstack/api/auth/APIAuthenticator.java +++ b/api/src/org/apache/cloudstack/api/auth/APIAuthenticator.java @@ -37,5 +37,4 @@ public interface APIAuthenticator { HttpSession session, String remoteAddress, String responseType, StringBuilder auditTrailSb, final HttpServletResponse resp) throws ServerApiException; public APIAuthenticationType getAPIType(); - }