knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lmc...@apache.org
Subject [36/37] knox git commit: KNOX-1063 - Simple Descriptor discovery should notice YAML file with .yaml extension (Phil Zampino via lmccay)
Date Thu, 26 Oct 2017 14:23:12 GMT
KNOX-1063 - Simple Descriptor discovery should notice YAML file with .yaml extension (Phil
Zampino via lmccay)

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

Branch: refs/heads/KNOX-1049
Commit: 986615ff6756ee9b6940dbba0e536c5bcba5de25
Parents: c440344
Author: Larry McCay <lmccay@hortonworks.com>
Authored: Thu Oct 19 18:28:18 2017 -0400
Committer: Larry McCay <lmccay@hortonworks.com>
Committed: Thu Oct 19 18:28:18 2017 -0400

----------------------------------------------------------------------
 .../gateway/services/topology/impl/DefaultTopologyService.java      | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/986615ff/gateway-server/src/main/java/org/apache/hadoop/gateway/services/topology/impl/DefaultTopologyService.java
----------------------------------------------------------------------
diff --git a/gateway-server/src/main/java/org/apache/hadoop/gateway/services/topology/impl/DefaultTopologyService.java
b/gateway-server/src/main/java/org/apache/hadoop/gateway/services/topology/impl/DefaultTopologyService.java
index a8d6de8..13e1a3d 100644
--- a/gateway-server/src/main/java/org/apache/hadoop/gateway/services/topology/impl/DefaultTopologyService.java
+++ b/gateway-server/src/main/java/org/apache/hadoop/gateway/services/topology/impl/DefaultTopologyService.java
@@ -523,6 +523,7 @@ public class DefaultTopologyService
     static {
       SUPPORTED_EXTENSIONS.add("json");
       SUPPORTED_EXTENSIONS.add("yml");
+      SUPPORTED_EXTENSIONS.add("yaml");
     }
 
     private File topologiesDir;


Mime
View raw message