knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From su...@apache.org
Subject [11/47] knox git commit: KNOX-483 initial commit for loading service definitions
Date Fri, 13 Feb 2015 02:17:25 GMT
KNOX-483 initial commit for loading service definitions


Project: http://git-wip-us.apache.org/repos/asf/knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/b8aed418
Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/b8aed418
Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/b8aed418

Branch: refs/heads/KNOX-481
Commit: b8aed418f90fe9abe8353671a424fc703a5a5e17
Parents: 4fbb0c6
Author: Sumit Gupta <sumit@apache.org>
Authored: Tue Jan 6 12:07:29 2015 -0500
Committer: Sumit Gupta <sumit@apache.org>
Committed: Thu Feb 12 16:01:13 2015 -0500

----------------------------------------------------------------------
 .../apache/hadoop/gateway/config/impl/GatewayConfigImpl.java    | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/b8aed418/gateway-server/src/main/java/org/apache/hadoop/gateway/config/impl/GatewayConfigImpl.java
----------------------------------------------------------------------
diff --git a/gateway-server/src/main/java/org/apache/hadoop/gateway/config/impl/GatewayConfigImpl.java
b/gateway-server/src/main/java/org/apache/hadoop/gateway/config/impl/GatewayConfigImpl.java
index 4241856..cfbec54 100644
--- a/gateway-server/src/main/java/org/apache/hadoop/gateway/config/impl/GatewayConfigImpl.java
+++ b/gateway-server/src/main/java/org/apache/hadoop/gateway/config/impl/GatewayConfigImpl.java
@@ -174,6 +174,11 @@ public class GatewayConfigImpl extends Configuration implements GatewayConfig
{
   }
 
   @Override
+  public String getGatewayStacksDir() {
+    return getVar( GATEWAY_DATA_HOME_VAR, getGatewayHomeDir() + File.separator + "stacks"
);
+  }
+
+  @Override
   public String getHadoopConfDir() {
     return get( HADOOP_CONF_DIR );
   }


Mime
View raw message