ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smoha...@apache.org
Subject ambari git commit: AMBARI-10425. Migrate Slider View to latest Slider
Date Fri, 10 Apr 2015 01:05:24 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 3f49c7e0d -> aaac2b551


AMBARI-10425. Migrate Slider View to latest Slider


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

Branch: refs/heads/trunk
Commit: aaac2b551bac799a8e50819599503d450fc1c743
Parents: 3f49c7e
Author: Sumit Mohanty <smohanty@hortonworks.com>
Authored: Thu Apr 9 17:19:08 2015 -0700
Committer: Sumit Mohanty <smohanty@hortonworks.com>
Committed: Thu Apr 9 17:19:08 2015 -0700

----------------------------------------------------------------------
 contrib/views/slider/pom.xml                                       | 2 +-
 .../apache/ambari/view/slider/SliderAppsViewControllerImpl.java    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/aaac2b55/contrib/views/slider/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/views/slider/pom.xml b/contrib/views/slider/pom.xml
index b7d85a4..66e5daa 100644
--- a/contrib/views/slider/pom.xml
+++ b/contrib/views/slider/pom.xml
@@ -132,7 +132,7 @@
     <commons-lang.version>2.6</commons-lang.version>
     <commons-compress.version>1.9</commons-compress.version>
     <httpclient.version>4.2.5</httpclient.version>
-    <slider.version>0.61.0-SNAPSHOT</slider.version>
+    <slider.version>0.72.0-incubating-SNAPSHOT</slider.version>
     <guice.version>3.0</guice.version>
     <jackson.version>1.9.13</jackson.version>
     <jersey.version>1.9</jersey.version>

http://git-wip-us.apache.org/repos/asf/ambari/blob/aaac2b55/contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsViewControllerImpl.java
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsViewControllerImpl.java
b/contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsViewControllerImpl.java
index 339938a..c95406e 100644
--- a/contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsViewControllerImpl.java
+++ b/contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsViewControllerImpl.java
@@ -1027,7 +1027,7 @@ public class SliderAppsViewControllerImpl implements SliderAppsViewController
{
         for (File appZip : appZips) {
           try {
             ZipFile zipFile = new ZipFile(appZip);
-            Metainfo metainfo = new MetainfoParser().parse(zipFile
+            Metainfo metainfo = new MetainfoParser().fromXmlStream(zipFile
                 .getInputStream(zipFile.getEntry("metainfo.xml")));
             // Create app type object
             if (metainfo.getApplication() != null) {


Mime
View raw message