You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sr...@apache.org on 2014/05/27 22:53:14 UTC
git commit: AMBARI-5904. Remove client components from app-types
slider api. (srimanth)
Repository: ambari
Updated Branches:
refs/heads/trunk c7736445d -> 889675b58
AMBARI-5904. Remove client components from app-types slider api. (srimanth)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/889675b5
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/889675b5
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/889675b5
Branch: refs/heads/trunk
Commit: 889675b5856508451dbfffe6ad6cbd9823875776
Parents: c773644
Author: Srimanth Gunturi <sg...@hortonworks.com>
Authored: Tue May 27 13:46:03 2014 -0700
Committer: Srimanth Gunturi <sg...@hortonworks.com>
Committed: Tue May 27 13:46:03 2014 -0700
----------------------------------------------------------------------
.../apache/ambari/view/slider/SliderAppsViewControllerImpl.java | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/889675b5/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 1947e1d..7f44e04 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
@@ -588,6 +588,8 @@ public class SliderAppsViewControllerImpl implements SliderAppsViewController {
// Components
ArrayList<SliderAppTypeComponent> appTypeComponentList = new ArrayList<SliderAppTypeComponent>();
for (Component component : service.getComponents()) {
+ if ("CLIENT".equals(component.getCategory()))
+ continue;
SliderAppTypeComponent appTypeComponent = new SliderAppTypeComponent();
appTypeComponent.setDisplayName(component.getName());
appTypeComponent.setId(component.getName());