knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject [02/25] knox git commit: KNOX-1049 - change defaultServicePath to path
Date Thu, 02 Nov 2017 18:48:06 GMT
KNOX-1049 - change defaultServicePath to path

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

Branch: refs/heads/KNOX-998-Package_Restructuring
Commit: 222385bf85bb0c234ca5da981f575ee8db0cd2d3
Parents: 3a41155
Author: Larry McCay <lmccay@hortonworks.com>
Authored: Wed Oct 25 13:14:02 2017 -0400
Committer: Larry McCay <lmccay@hortonworks.com>
Committed: Wed Oct 25 13:14:02 2017 -0400

----------------------------------------------------------------------
 .../hadoop/gateway/service/admin/beans/Topology.java      | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/222385bf/gateway-service-admin/src/main/java/org/apache/hadoop/gateway/service/admin/beans/Topology.java
----------------------------------------------------------------------
diff --git a/gateway-service-admin/src/main/java/org/apache/hadoop/gateway/service/admin/beans/Topology.java
b/gateway-service-admin/src/main/java/org/apache/hadoop/gateway/service/admin/beans/Topology.java
index 8bc5fa7..a197c27 100644
--- a/gateway-service-admin/src/main/java/org/apache/hadoop/gateway/service/admin/beans/Topology.java
+++ b/gateway-service-admin/src/main/java/org/apache/hadoop/gateway/service/admin/beans/Topology.java
@@ -34,7 +34,7 @@ public class Topology {
   private String name;
 
   @XmlElement
-  private String defaultServicePath;
+  private String path;
 
   @XmlElement
   private long timestamp;
@@ -72,12 +72,12 @@ public class Topology {
     return timestamp;
   }
 
-  public void setDefaultService( String defaultServicePath ) {
-    this.defaultServicePath = defaultServicePath;
+  public void setPath( String defaultServicePath ) {
+    this.path = defaultServicePath;
   }
 
-  public String getDefaultService() {
-    return defaultServicePath;
+  public String getPath() {
+    return path;
   }
 
   public void setTimestamp( long timestamp ) {


Mime
View raw message