git commit: AMBARI-7661. Slider View: App types not being returned in API when multiple instances present (srimanth)

2014-10-06 Thread srimanth
Repository: ambari
Updated Branches:
  refs/heads/trunk 80bceaf3a - 4a4b0e693


AMBARI-7661. Slider View: App types not being returned in API when multiple 
instances present (srimanth)


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

Branch: refs/heads/trunk
Commit: 4a4b0e69353d9cc675632e71f31c9c90db337166
Parents: 80bceaf
Author: Srimanth Gunturi sgunt...@hortonworks.com
Authored: Mon Oct 6 14:09:07 2014 -0700
Committer: Srimanth Gunturi sgunt...@hortonworks.com
Committed: Mon Oct 6 14:09:07 2014 -0700

--
 .../apache/ambari/view/slider/SliderAppsViewControllerImpl.java   | 3 ---
 1 file changed, 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/ambari/blob/4a4b0e69/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 e23fdd6..068ce9c 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
@@ -723,9 +723,6 @@ public class SliderAppsViewControllerImpl implements 
SliderAppsViewController {
   @Override
   public ListSliderAppType getSliderAppTypes(SetString properties) {
 if (appTypes == null) {
-  if (!areViewParametersSet()) {
-return Collections.emptyList();
-  }
   appTypes = loadAppTypes();
 }
 return appTypes;



git commit: AMBARI-7661. Slider View: App types not being returned in API when multiple instances present (srimanth)

2014-10-06 Thread srimanth
Repository: ambari
Updated Branches:
  refs/heads/branch-1.7.0 522467ea4 - 473fca01d


AMBARI-7661. Slider View: App types not being returned in API when multiple 
instances present (srimanth)


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

Branch: refs/heads/branch-1.7.0
Commit: 473fca01d64f851aae043207451333f65188466b
Parents: 522467e
Author: Srimanth Gunturi sgunt...@hortonworks.com
Authored: Mon Oct 6 14:09:07 2014 -0700
Committer: Srimanth Gunturi sgunt...@hortonworks.com
Committed: Mon Oct 6 14:18:23 2014 -0700

--
 .../apache/ambari/view/slider/SliderAppsViewControllerImpl.java   | 3 ---
 1 file changed, 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/ambari/blob/473fca01/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 e23fdd6..068ce9c 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
@@ -723,9 +723,6 @@ public class SliderAppsViewControllerImpl implements 
SliderAppsViewController {
   @Override
   public ListSliderAppType getSliderAppTypes(SetString properties) {
 if (appTypes == null) {
-  if (!areViewParametersSet()) {
-return Collections.emptyList();
-  }
   appTypes = loadAppTypes();
 }
 return appTypes;