You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by sn...@apache.org on 2014/09/15 15:56:28 UTC
git commit: ARGUS-53:Remove testConfig from REST API
Repository: incubator-argus
Updated Branches:
refs/heads/master d44f0cae2 -> b1370f3a5
ARGUS-53:Remove testConfig from REST API
Signed-off-by: sneethiraj <sn...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/incubator-argus/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-argus/commit/b1370f3a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-argus/tree/b1370f3a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-argus/diff/b1370f3a
Branch: refs/heads/master
Commit: b1370f3a509a6b16942ca1d80fd8b71d6220e4af
Parents: d44f0ca
Author: vperiasamy <vp...@hortonworks.com>
Authored: Mon Sep 15 02:23:11 2014 -0400
Committer: sneethiraj <sn...@apache.org>
Committed: Mon Sep 15 09:56:14 2014 -0400
----------------------------------------------------------------------
security-admin/src/main/java/com/xasecure/rest/PublicAPIs.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/b1370f3a/security-admin/src/main/java/com/xasecure/rest/PublicAPIs.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/rest/PublicAPIs.java b/security-admin/src/main/java/com/xasecure/rest/PublicAPIs.java
index 100c462..320f23f 100644
--- a/security-admin/src/main/java/com/xasecure/rest/PublicAPIs.java
+++ b/security-admin/src/main/java/com/xasecure/rest/PublicAPIs.java
@@ -140,9 +140,9 @@ public class PublicAPIs {
assetMgr.deleteXAsset(id, force);
}
- @POST
- @Path("/api/repository/testConfig")
- @Produces({ "application/xml", "application/json" })
+ // @POST
+ // @Path("/api/repository/testConfig")
+ // @Produces({ "application/xml", "application/json" })
public VXResponse testConfig(VXRepository vXRepository) {
VXAsset vXAsset = xRepositoryService.mapPublicToXAObject(vXRepository);
return assetMgr.testConfig(vXAsset);