knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From su...@apache.org
Subject [38/47] knox git commit: Added HA support and URL-level dispatch for webhdfs KNOX-483
Date Fri, 13 Feb 2015 02:17:52 GMT
Added HA support and URL-level dispatch for webhdfs KNOX-483


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

Branch: refs/heads/KNOX-481
Commit: 4823f2e4e5c4c6e9ac92469fdae4c5588d554a15
Parents: 99311af
Author: Sumit Gupta <sumit@apache.org>
Authored: Tue Jan 20 11:16:00 2015 -0500
Committer: Sumit Gupta <sumit@apache.org>
Committed: Thu Feb 12 17:16:08 2015 -0500

----------------------------------------------------------------------
 .../hadoop/gateway/service/definition/UrlBinding.java    | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/4823f2e4/gateway-service-definitions/src/main/java/org/apache/hadoop/gateway/service/definition/UrlBinding.java
----------------------------------------------------------------------
diff --git a/gateway-service-definitions/src/main/java/org/apache/hadoop/gateway/service/definition/UrlBinding.java
b/gateway-service-definitions/src/main/java/org/apache/hadoop/gateway/service/definition/UrlBinding.java
index 3630ebf..c64658c 100644
--- a/gateway-service-definitions/src/main/java/org/apache/hadoop/gateway/service/definition/UrlBinding.java
+++ b/gateway-service-definitions/src/main/java/org/apache/hadoop/gateway/service/definition/UrlBinding.java
@@ -29,6 +29,8 @@ public class UrlBinding {
 
   private List<RewriteFilter> rewriteFilters;
 
+  private CustomDispatch dispatch;
+
   @XmlAttribute
   public String getPattern() {
     return pattern;
@@ -46,4 +48,13 @@ public class UrlBinding {
   public void setRewriteFilters(List<RewriteFilter> rewriteFilters) {
     this.rewriteFilters = rewriteFilters;
   }
+
+  @XmlElement(name = "dispatch")
+  public CustomDispatch getDispatch() {
+    return dispatch;
+  }
+
+  public void setDispatch(CustomDispatch dispatch) {
+    this.dispatch = dispatch;
+  }
 }


Mime
View raw message