ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From atk...@apache.org
Subject [1/2] AMBARI-7109 Fix test mode in ambari web. (atkach)
Date Tue, 02 Sep 2014 12:30:34 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk b6abb3d19 -> 6738d3d34


http://git-wip-us.apache.org/repos/asf/ambari/blob/6738d3d3/ambari-web/app/assets/data/stacks/HDP-2.1/service_components.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/stacks/HDP-2.1/service_components.json b/ambari-web/app/assets/data/stacks/HDP-2.1/service_components.json
index 0e62f20..7bf0093 100644
--- a/ambari-web/app/assets/data/stacks/HDP-2.1/service_components.json
+++ b/ambari-web/app/assets/data/stacks/HDP-2.1/service_components.json
@@ -1,699 +1,1506 @@
 {
-  "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices?fields=StackServices/comments,StackServices/service_version,serviceComponents/*",
+  "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services?fields=StackServices/*,serviceComponents/*&_=1409656091161",
   "items" : [
     {
-      "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/FALCON",
+      "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/FALCON",
       "StackServices" : {
         "comments" : "Data management and processing platform",
+        "custom_commands" : [ ],
+        "display_name" : "Falcon",
+        "required_services" : [
+          "OOZIE"
+        ],
+        "service_check_supported" : true,
         "service_name" : "FALCON",
-        "service_version" : "0.4.0.2.1.1",
+        "service_version" : "0.5.0.2.1",
         "stack_name" : "HDP",
-        "stack_version" : "2.1"
+        "stack_version" : "2.1",
+        "user_name" : null,
+        "config_types" : {
+          "falcon-env" : {
+            "supports" : {
+              "final" : "false"
+            }
+          },
+          "falcon-runtime.properties" : {
+            "supports" : {
+              "final" : "false"
+            }
+          },
+          "falcon-startup.properties" : {
+            "supports" : {
+              "final" : "false"
+            }
+          },
+          "oozie-site" : {
+            "supports" : {
+              "final" : "true"
+            }
+          }
+        }
       },
       "serviceComponents" : [
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/FALCON/serviceComponents/FALCON_CLIENT",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/FALCON/components/FALCON_CLIENT",
           "StackServiceComponents" : {
+            "cardinality" : "1+",
             "component_category" : "CLIENT",
             "component_name" : "FALCON_CLIENT",
+            "custom_commands" : [ ],
+            "display_name" : "Falcon Client",
             "is_client" : true,
             "is_master" : false,
             "service_name" : "FALCON",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         },
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/FALCON/serviceComponents/FALCON_SERVER",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/FALCON/components/FALCON_SERVER",
           "StackServiceComponents" : {
+            "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "FALCON_SERVER",
+            "custom_commands" : [ ],
+            "display_name" : "Falcon Server",
             "is_client" : false,
             "is_master" : true,
             "service_name" : "FALCON",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
+          },
+          "dependencies" : [
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/FALCON/components/FALCON_SERVER/dependencies/OOZIE_CLIENT",
+              "Dependencies" : {
+                "component_name" : "OOZIE_CLIENT",
+                "dependent_component_name" : "FALCON_SERVER",
+                "dependent_service_name" : "FALCON",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            },
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/FALCON/components/FALCON_SERVER/dependencies/OOZIE_SERVER",
+              "Dependencies" : {
+                "component_name" : "OOZIE_SERVER",
+                "dependent_component_name" : "FALCON_SERVER",
+                "dependent_service_name" : "FALCON",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            }
+          ]
+        }
+      ]
+    },
+    {
+      "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/FLUME",
+      "StackServices" : {
+        "comments" : "Data management and processing platform",
+        "custom_commands" : [ ],
+        "display_name" : "Flume",
+        "required_services" : [
+          "HDFS"
+        ],
+        "service_check_supported" : true,
+        "service_name" : "FLUME",
+        "service_version" : "1.4.0.2.1",
+        "stack_name" : "HDP",
+        "stack_version" : "2.1",
+        "user_name" : null,
+        "config_types" : {
+          "flume-conf" : {
+            "supports" : {
+              "final" : "false"
+            }
+          },
+          "flume-env" : {
+            "supports" : {
+              "final" : "false"
+            }
+          },
+          "flume-log4j" : {
+            "supports" : {
+              "final" : "false"
+            }
           }
         }
+      },
+      "serviceComponents" : [
+        {
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/FLUME/components/FLUME_HANDLER",
+          "StackServiceComponents" : {
+            "cardinality" : "1+",
+            "component_category" : "SLAVE",
+            "component_name" : "FLUME_HANDLER",
+            "custom_commands" : [ ],
+            "display_name" : "Flume",
+            "is_client" : false,
+            "is_master" : false,
+            "service_name" : "FLUME",
+            "stack_name" : "HDP",
+            "stack_version" : "2.1"
+          },
+          "dependencies" : [ ]
+        }
       ]
     },
     {
-      "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/GANGLIA",
+      "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/GANGLIA",
       "StackServices" : {
-        "comments" : "Ganglia Metrics Collection system",
+        "comments" : "Ganglia Metrics Collection system (<a href=\"http://oss.oetiker.ch/rrdtool/\" target=\"_blank\">RRDTool</a> will be installed too)",
+        "custom_commands" : [ ],
+        "display_name" : "Ganglia",
+        "required_services" : null,
+        "service_check_supported" : false,
         "service_name" : "GANGLIA",
         "service_version" : "3.5.0",
         "stack_name" : "HDP",
-        "stack_version" : "2.1"
+        "stack_version" : "2.1",
+        "user_name" : null,
+        "config_types" : {
+          "ganglia-env" : {
+            "supports" : {
+              "final" : "false"
+            }
+          }
+        }
       },
       "serviceComponents" : [
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/GANGLIA/serviceComponents/GANGLIA_MONITOR",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/GANGLIA/components/GANGLIA_MONITOR",
           "StackServiceComponents" : {
+            "cardinality" : "ALL",
             "component_category" : "SLAVE",
             "component_name" : "GANGLIA_MONITOR",
+            "custom_commands" : [ ],
+            "display_name" : "Ganglia Monitor",
             "is_client" : false,
             "is_master" : false,
             "service_name" : "GANGLIA",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "auto_deploy" : {
+            "enabled" : true
+          },
+          "dependencies" : [ ]
         },
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/GANGLIA/serviceComponents/GANGLIA_SERVER",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/GANGLIA/components/GANGLIA_SERVER",
           "StackServiceComponents" : {
+            "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "GANGLIA_SERVER",
+            "custom_commands" : [ ],
+            "display_name" : "Ganglia Server",
             "is_client" : false,
             "is_master" : true,
             "service_name" : "GANGLIA",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         }
       ]
     },
     {
-      "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/HBASE",
+      "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/HBASE",
       "StackServices" : {
         "comments" : "Non-relational distributed database and centralized service for configuration management &\n        synchronization\n      ",
+        "custom_commands" : [ ],
+        "display_name" : "HBase",
+        "required_services" : [
+          "ZOOKEEPER",
+          "HDFS"
+        ],
+        "service_check_supported" : true,
         "service_name" : "HBASE",
-        "service_version" : "0.96.0.2.1",
+        "service_version" : "0.98.0.2.1",
         "stack_name" : "HDP",
-        "stack_version" : "2.1"
+        "stack_version" : "2.1",
+        "user_name" : null,
+        "config_types" : {
+          "hbase-env" : {
+            "supports" : {
+              "final" : "false"
+            }
+          },
+          "hbase-log4j" : {
+            "supports" : {
+              "final" : "false"
+            }
+          },
+          "hbase-policy" : {
+            "supports" : {
+              "final" : "true"
+            }
+          },
+          "hbase-site" : {
+            "supports" : {
+              "final" : "true"
+            }
+          }
+        }
       },
       "serviceComponents" : [
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/HBASE/serviceComponents/HBASE_CLIENT",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/HBASE/components/HBASE_CLIENT",
           "StackServiceComponents" : {
+            "cardinality" : "1+",
             "component_category" : "CLIENT",
             "component_name" : "HBASE_CLIENT",
+            "custom_commands" : [ ],
+            "display_name" : "HBase Client",
             "is_client" : true,
             "is_master" : false,
             "service_name" : "HBASE",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         },
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/HBASE/serviceComponents/HBASE_MASTER",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/HBASE/components/HBASE_MASTER",
           "StackServiceComponents" : {
+            "cardinality" : "1+",
             "component_category" : "MASTER",
             "component_name" : "HBASE_MASTER",
+            "custom_commands" : [
+              "DECOMMISSION"
+            ],
+            "display_name" : "HBase Master",
             "is_client" : false,
             "is_master" : true,
             "service_name" : "HBASE",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/HBASE/components/HBASE_MASTER/dependencies/HDFS_CLIENT",
+              "Dependencies" : {
+                "component_name" : "HDFS_CLIENT",
+                "dependent_component_name" : "HBASE_MASTER",
+                "dependent_service_name" : "HBASE",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            },
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/HBASE/components/HBASE_MASTER/dependencies/ZOOKEEPER_SERVER",
+              "Dependencies" : {
+                "component_name" : "ZOOKEEPER_SERVER",
+                "dependent_component_name" : "HBASE_MASTER",
+                "dependent_service_name" : "HBASE",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            }
+          ]
         },
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/HBASE/serviceComponents/HBASE_REGIONSERVER",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/HBASE/components/HBASE_REGIONSERVER",
           "StackServiceComponents" : {
+            "cardinality" : "1+",
             "component_category" : "SLAVE",
             "component_name" : "HBASE_REGIONSERVER",
+            "custom_commands" : [ ],
+            "display_name" : "RegionServer",
             "is_client" : false,
             "is_master" : false,
             "service_name" : "HBASE",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         }
       ]
     },
     {
-      "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/HCATALOG",
+      "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/HCATALOG",
       "StackServices" : {
         "comments" : "This is comment for HCATALOG service",
+        "custom_commands" : [ ],
+        "display_name" : "HCatalog",
+        "required_services" : [
+          "HIVE"
+        ],
+        "service_check_supported" : true,
         "service_name" : "HCATALOG",
         "service_version" : "0.12.0.2.1",
         "stack_name" : "HDP",
-        "stack_version" : "2.1"
+        "stack_version" : "2.1",
+        "user_name" : null,
+        "config_types" : { }
       },
       "serviceComponents" : [
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/HCATALOG/serviceComponents/HCAT",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/HCATALOG/components/HCAT",
           "StackServiceComponents" : {
+            "cardinality" : null,
             "component_category" : "CLIENT",
             "component_name" : "HCAT",
+            "custom_commands" : [ ],
+            "display_name" : "HCat",
             "is_client" : true,
             "is_master" : false,
             "service_name" : "HCATALOG",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         }
       ]
     },
     {
-      "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/HDFS",
+      "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/HDFS",
       "StackServices" : {
         "comments" : "Apache Hadoop Distributed File System",
+        "custom_commands" : [ ],
+        "display_name" : "HDFS",
+        "required_services" : [
+          "ZOOKEEPER"
+        ],
+        "service_check_supported" : true,
         "service_name" : "HDFS",
-        "service_version" : "2.1.0.2.1",
+        "service_version" : "2.4.0.2.1",
         "stack_name" : "HDP",
-        "stack_version" : "2.1"
+        "stack_version" : "2.1",
+        "user_name" : null,
+        "config_types" : {
+          "core-site" : {
+            "supports" : {
+              "final" : "true"
+            }
+          },
+          "hadoop-env" : {
+            "supports" : {
+              "final" : "false"
+            }
+          },
+          "hadoop-policy" : {
+            "supports" : {
+              "final" : "true"
+            }
+          },
+          "hdfs-log4j" : {
+            "supports" : {
+              "final" : "false"
+            }
+          },
+          "hdfs-site" : {
+            "supports" : {
+              "final" : "true"
+            }
+          }
+        }
       },
       "serviceComponents" : [
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/HDFS/serviceComponents/DATANODE",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/HDFS/components/DATANODE",
           "StackServiceComponents" : {
+            "cardinality" : "1+",
             "component_category" : "SLAVE",
             "component_name" : "DATANODE",
+            "custom_commands" : [ ],
+            "display_name" : "DataNode",
             "is_client" : false,
             "is_master" : false,
             "service_name" : "HDFS",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         },
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/HDFS/serviceComponents/HDFS_CLIENT",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/HDFS/components/HDFS_CLIENT",
           "StackServiceComponents" : {
+            "cardinality" : "1+",
             "component_category" : "CLIENT",
             "component_name" : "HDFS_CLIENT",
+            "custom_commands" : [ ],
+            "display_name" : "HDFS Client",
             "is_client" : true,
             "is_master" : false,
             "service_name" : "HDFS",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         },
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/HDFS/serviceComponents/JOURNALNODE",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/HDFS/components/JOURNALNODE",
           "StackServiceComponents" : {
-            "component_category" : "MASTER",
+            "cardinality" : "0+",
+            "component_category" : "SLAVE",
             "component_name" : "JOURNALNODE",
+            "custom_commands" : [ ],
+            "display_name" : "JournalNode",
             "is_client" : false,
-            "is_master" : true,
+            "is_master" : false,
             "service_name" : "HDFS",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         },
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/HDFS/serviceComponents/NAMENODE",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/HDFS/components/NAMENODE",
           "StackServiceComponents" : {
+            "cardinality" : "1-2",
             "component_category" : "MASTER",
             "component_name" : "NAMENODE",
+            "custom_commands" : [
+              "DECOMMISSION",
+              "REBALANCEHDFS"
+            ],
+            "display_name" : "NameNode",
             "is_client" : false,
             "is_master" : true,
             "service_name" : "HDFS",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         },
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/HDFS/serviceComponents/SECONDARY_NAMENODE",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/HDFS/components/SECONDARY_NAMENODE",
           "StackServiceComponents" : {
+            "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "SECONDARY_NAMENODE",
+            "custom_commands" : [ ],
+            "display_name" : "SNameNode",
             "is_client" : false,
             "is_master" : true,
             "service_name" : "HDFS",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         },
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/HDFS/serviceComponents/ZKFC",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/HDFS/components/ZKFC",
           "StackServiceComponents" : {
+            "cardinality" : "0+",
             "component_category" : "SLAVE",
             "component_name" : "ZKFC",
+            "custom_commands" : [ ],
+            "display_name" : "ZKFailoverController",
             "is_client" : false,
             "is_master" : false,
             "service_name" : "HDFS",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         }
       ]
     },
     {
-      "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/HIVE",
+      "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/HIVE",
       "StackServices" : {
         "comments" : "Data warehouse system for ad-hoc queries & analysis of large datasets and table & storage management service",
+        "custom_commands" : [ ],
+        "display_name" : "Hive",
+        "required_services" : [
+          "ZOOKEEPER",
+          "YARN",
+          "TEZ"
+        ],
+        "service_check_supported" : true,
         "service_name" : "HIVE",
-        "service_version" : "0.12.0.2.1",
+        "service_version" : "0.13.0.2.1",
         "stack_name" : "HDP",
-        "stack_version" : "2.1"
+        "stack_version" : "2.1",
+        "user_name" : null,
+        "config_types" : {
+          "hive-env" : {
+            "supports" : {
+              "final" : "false"
+            }
+          },
+          "hive-exec-log4j" : {
+            "supports" : {
+              "final" : "false"
+            }
+          },
+          "hive-log4j" : {
+            "supports" : {
+              "final" : "false"
+            }
+          },
+          "hive-site" : {
+            "supports" : {
+              "final" : "true"
+            }
+          }
+        }
       },
       "serviceComponents" : [
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/HIVE/serviceComponents/HIVE_CLIENT",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/HIVE/components/HIVE_CLIENT",
           "StackServiceComponents" : {
+            "cardinality" : "1+",
             "component_category" : "CLIENT",
             "component_name" : "HIVE_CLIENT",
+            "custom_commands" : [ ],
+            "display_name" : "Hive Client",
             "is_client" : true,
             "is_master" : false,
             "service_name" : "HIVE",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         },
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/HIVE/serviceComponents/HIVE_METASTORE",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/HIVE/components/HIVE_METASTORE",
           "StackServiceComponents" : {
+            "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "HIVE_METASTORE",
+            "custom_commands" : [ ],
+            "display_name" : "Hive Metastore",
             "is_client" : false,
             "is_master" : true,
             "service_name" : "HIVE",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "auto_deploy" : {
+            "enabled" : true,
+            "location" : "HIVE/HIVE_SERVER"
+          },
+          "dependencies" : [ ]
         },
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/HIVE/serviceComponents/HIVE_SERVER",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/HIVE/components/HIVE_SERVER",
           "StackServiceComponents" : {
+            "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "HIVE_SERVER",
+            "custom_commands" : [ ],
+            "display_name" : "HiveServer2",
             "is_client" : false,
             "is_master" : true,
             "service_name" : "HIVE",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/HIVE/components/HIVE_SERVER/dependencies/MAPREDUCE2_CLIENT",
+              "Dependencies" : {
+                "component_name" : "MAPREDUCE2_CLIENT",
+                "dependent_component_name" : "HIVE_SERVER",
+                "dependent_service_name" : "HIVE",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            },
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/HIVE/components/HIVE_SERVER/dependencies/TEZ_CLIENT",
+              "Dependencies" : {
+                "component_name" : "TEZ_CLIENT",
+                "dependent_component_name" : "HIVE_SERVER",
+                "dependent_service_name" : "HIVE",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            },
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/HIVE/components/HIVE_SERVER/dependencies/YARN_CLIENT",
+              "Dependencies" : {
+                "component_name" : "YARN_CLIENT",
+                "dependent_component_name" : "HIVE_SERVER",
+                "dependent_service_name" : "HIVE",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            },
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/HIVE/components/HIVE_SERVER/dependencies/ZOOKEEPER_SERVER",
+              "Dependencies" : {
+                "component_name" : "ZOOKEEPER_SERVER",
+                "dependent_component_name" : "HIVE_SERVER",
+                "dependent_service_name" : "HIVE",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            }
+          ]
         },
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/HIVE/serviceComponents/MYSQL_SERVER",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/HIVE/components/MYSQL_SERVER",
           "StackServiceComponents" : {
+            "cardinality" : "0-1",
             "component_category" : "MASTER",
             "component_name" : "MYSQL_SERVER",
+            "custom_commands" : [ ],
+            "display_name" : "MySQL Server",
             "is_client" : false,
             "is_master" : true,
             "service_name" : "HIVE",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         }
       ]
     },
     {
-      "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/MAPREDUCE2",
+      "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/MAPREDUCE2",
       "StackServices" : {
         "comments" : "Apache Hadoop NextGen MapReduce (YARN)",
+        "custom_commands" : [ ],
+        "display_name" : "MapReduce2",
+        "required_services" : [
+          "YARN"
+        ],
+        "service_check_supported" : true,
         "service_name" : "MAPREDUCE2",
         "service_version" : "2.1.0.2.0.6.0",
         "stack_name" : "HDP",
-        "stack_version" : "2.1"
+        "stack_version" : "2.1",
+        "user_name" : null,
+        "config_types" : {
+          "mapred-env" : {
+            "supports" : {
+              "final" : "false"
+            }
+          },
+          "mapred-site" : {
+            "supports" : {
+              "final" : "true"
+            }
+          }
+        }
       },
       "serviceComponents" : [
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/MAPREDUCE2/serviceComponents/HISTORYSERVER",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/MAPREDUCE2/components/HISTORYSERVER",
           "StackServiceComponents" : {
+            "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "HISTORYSERVER",
+            "custom_commands" : [ ],
+            "display_name" : "History Server",
             "is_client" : false,
             "is_master" : true,
             "service_name" : "MAPREDUCE2",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "auto_deploy" : {
+            "enabled" : true,
+            "location" : "YARN/RESOURCEMANAGER"
+          },
+          "dependencies" : [
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/MAPREDUCE2/components/HISTORYSERVER/dependencies/HDFS_CLIENT",
+              "Dependencies" : {
+                "component_name" : "HDFS_CLIENT",
+                "dependent_component_name" : "HISTORYSERVER",
+                "dependent_service_name" : "MAPREDUCE2",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            }
+          ]
         },
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/MAPREDUCE2/serviceComponents/MAPREDUCE2_CLIENT",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/MAPREDUCE2/components/MAPREDUCE2_CLIENT",
           "StackServiceComponents" : {
+            "cardinality" : "0+",
             "component_category" : "CLIENT",
             "component_name" : "MAPREDUCE2_CLIENT",
+            "custom_commands" : [ ],
+            "display_name" : "MapReduce2 Client",
             "is_client" : true,
             "is_master" : false,
             "service_name" : "MAPREDUCE2",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         }
       ]
     },
     {
-      "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/NAGIOS",
+      "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/NAGIOS",
       "StackServices" : {
         "comments" : "Nagios Monitoring and Alerting system",
+        "custom_commands" : [ ],
+        "display_name" : "Nagios",
+        "required_services" : [ ],
+        "service_check_supported" : false,
         "service_name" : "NAGIOS",
         "service_version" : "3.5.0",
         "stack_name" : "HDP",
-        "stack_version" : "2.1"
+        "stack_version" : "2.1",
+        "user_name" : null,
+        "config_types" : {
+          "nagios-env" : {
+            "supports" : {
+              "final" : "false"
+            }
+          }
+        }
       },
       "serviceComponents" : [
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/NAGIOS/serviceComponents/NAGIOS_SERVER",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/NAGIOS/components/NAGIOS_SERVER",
           "StackServiceComponents" : {
+            "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "NAGIOS_SERVER",
+            "custom_commands" : [ ],
+            "display_name" : "Nagios Server",
             "is_client" : false,
             "is_master" : true,
             "service_name" : "NAGIOS",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/NAGIOS/components/NAGIOS_SERVER/dependencies/HCAT",
+              "Dependencies" : {
+                "component_name" : "HCAT",
+                "dependent_component_name" : "NAGIOS_SERVER",
+                "dependent_service_name" : "NAGIOS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            },
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/NAGIOS/components/NAGIOS_SERVER/dependencies/HDFS_CLIENT",
+              "Dependencies" : {
+                "component_name" : "HDFS_CLIENT",
+                "dependent_component_name" : "NAGIOS_SERVER",
+                "dependent_service_name" : "NAGIOS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            },
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/NAGIOS/components/NAGIOS_SERVER/dependencies/MAPREDUCE2_CLIENT",
+              "Dependencies" : {
+                "component_name" : "MAPREDUCE2_CLIENT",
+                "dependent_component_name" : "NAGIOS_SERVER",
+                "dependent_service_name" : "NAGIOS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            },
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/NAGIOS/components/NAGIOS_SERVER/dependencies/OOZIE_CLIENT",
+              "Dependencies" : {
+                "component_name" : "OOZIE_CLIENT",
+                "dependent_component_name" : "NAGIOS_SERVER",
+                "dependent_service_name" : "NAGIOS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            },
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/NAGIOS/components/NAGIOS_SERVER/dependencies/TEZ_CLIENT",
+              "Dependencies" : {
+                "component_name" : "TEZ_CLIENT",
+                "dependent_component_name" : "NAGIOS_SERVER",
+                "dependent_service_name" : "NAGIOS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            },
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/NAGIOS/components/NAGIOS_SERVER/dependencies/YARN_CLIENT",
+              "Dependencies" : {
+                "component_name" : "YARN_CLIENT",
+                "dependent_component_name" : "NAGIOS_SERVER",
+                "dependent_service_name" : "NAGIOS",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            }
+          ]
         }
       ]
     },
     {
-      "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/OOZIE",
+      "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/OOZIE",
       "StackServices" : {
-        "comments" : "System for workflow coordination and execution of Apache Hadoop jobs.  This also includes the installation of the optional Oozie Web Console which relies on and will install the <a target=\"_blank\" href=\"http://www.sencha.com/products/extjs/license/\">ExtJS</a> Library.\n      ",
+        "comments" : "System for workflow coordination and execution of Apache Hadoop jobs.  This also includes the installation of the optional Oozie Web Console which relies on and will install the <a target=\"_blank\" href=\"http://www.sencha.com/legal/open-source-faq/\">ExtJS</a> Library.\n      ",
+        "custom_commands" : [ ],
+        "display_name" : "Oozie",
+        "required_services" : [
+          "YARN"
+        ],
+        "service_check_supported" : true,
         "service_name" : "OOZIE",
         "service_version" : "4.0.0.2.1",
         "stack_name" : "HDP",
-        "stack_version" : "2.1"
+        "stack_version" : "2.1",
+        "user_name" : null,
+        "config_types" : {
+          "oozie-env" : {
+            "supports" : {
+              "final" : "false"
+            }
+          },
+          "oozie-log4j" : {
+            "supports" : {
+              "final" : "false"
+            }
+          },
+          "oozie-site" : {
+            "supports" : {
+              "final" : "true"
+            }
+          }
+        }
       },
       "serviceComponents" : [
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/OOZIE/serviceComponents/OOZIE_CLIENT",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/OOZIE/components/OOZIE_CLIENT",
           "StackServiceComponents" : {
+            "cardinality" : "1+",
             "component_category" : "CLIENT",
             "component_name" : "OOZIE_CLIENT",
+            "custom_commands" : [ ],
+            "display_name" : "Oozie Client",
             "is_client" : true,
             "is_master" : false,
             "service_name" : "OOZIE",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/OOZIE/components/OOZIE_CLIENT/dependencies/HDFS_CLIENT",
+              "Dependencies" : {
+                "component_name" : "HDFS_CLIENT",
+                "dependent_component_name" : "OOZIE_CLIENT",
+                "dependent_service_name" : "OOZIE",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            },
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/OOZIE/components/OOZIE_CLIENT/dependencies/MAPREDUCE2_CLIENT",
+              "Dependencies" : {
+                "component_name" : "MAPREDUCE2_CLIENT",
+                "dependent_component_name" : "OOZIE_CLIENT",
+                "dependent_service_name" : "OOZIE",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            }
+          ]
         },
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/OOZIE/serviceComponents/OOZIE_SERVER",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/OOZIE/components/OOZIE_SERVER",
           "StackServiceComponents" : {
+            "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "OOZIE_SERVER",
+            "custom_commands" : [ ],
+            "display_name" : "Oozie Server",
             "is_client" : false,
             "is_master" : true,
             "service_name" : "OOZIE",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/OOZIE/components/OOZIE_SERVER/dependencies/HDFS_CLIENT",
+              "Dependencies" : {
+                "component_name" : "HDFS_CLIENT",
+                "dependent_component_name" : "OOZIE_SERVER",
+                "dependent_service_name" : "OOZIE",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            },
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/OOZIE/components/OOZIE_SERVER/dependencies/MAPREDUCE2_CLIENT",
+              "Dependencies" : {
+                "component_name" : "MAPREDUCE2_CLIENT",
+                "dependent_component_name" : "OOZIE_SERVER",
+                "dependent_service_name" : "OOZIE",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            },
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/OOZIE/components/OOZIE_SERVER/dependencies/YARN_CLIENT",
+              "Dependencies" : {
+                "component_name" : "YARN_CLIENT",
+                "dependent_component_name" : "OOZIE_SERVER",
+                "dependent_service_name" : "OOZIE",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            }
+          ]
         }
       ]
     },
     {
-      "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/PIG",
+      "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/PIG",
       "StackServices" : {
         "comments" : "Scripting platform for analyzing large datasets",
+        "custom_commands" : [ ],
+        "display_name" : "Pig",
+        "required_services" : [
+          "YARN"
+        ],
+        "service_check_supported" : true,
         "service_name" : "PIG",
-        "service_version" : "0.12.0.2.1",
+        "service_version" : "0.12.1.2.1",
         "stack_name" : "HDP",
-        "stack_version" : "2.1"
+        "stack_version" : "2.1",
+        "user_name" : null,
+        "config_types" : {
+          "pig-env" : {
+            "supports" : {
+              "final" : "false"
+            }
+          },
+          "pig-log4j" : {
+            "supports" : {
+              "final" : "false"
+            }
+          },
+          "pig-properties" : {
+            "supports" : {
+              "final" : "false"
+            }
+          }
+        }
       },
       "serviceComponents" : [
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/PIG/serviceComponents/PIG",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/PIG/components/PIG",
           "StackServiceComponents" : {
+            "cardinality" : "0+",
             "component_category" : "CLIENT",
             "component_name" : "PIG",
+            "custom_commands" : [ ],
+            "display_name" : "Pig",
             "is_client" : true,
             "is_master" : false,
             "service_name" : "PIG",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         }
       ]
     },
     {
-      "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/SQOOP",
+      "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/SQOOP",
       "StackServices" : {
         "comments" : "Tool for transferring bulk data between Apache Hadoop and\n        structured data stores such as relational databases\n      ",
+        "custom_commands" : [ ],
+        "display_name" : "Sqoop",
+        "required_services" : [
+          "HDFS"
+        ],
+        "service_check_supported" : true,
         "service_name" : "SQOOP",
         "service_version" : "1.4.4.2.1",
         "stack_name" : "HDP",
-        "stack_version" : "2.1"
+        "stack_version" : "2.1",
+        "user_name" : null,
+        "config_types" : {
+          "sqoop-env" : {
+            "supports" : {
+              "final" : "false"
+            }
+          }
+        }
       },
       "serviceComponents" : [
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/SQOOP/serviceComponents/SQOOP",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/SQOOP/components/SQOOP",
           "StackServiceComponents" : {
+            "cardinality" : "1+",
             "component_category" : "CLIENT",
             "component_name" : "SQOOP",
+            "custom_commands" : [ ],
+            "display_name" : "Sqoop",
             "is_client" : true,
             "is_master" : false,
             "service_name" : "SQOOP",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/SQOOP/components/SQOOP/dependencies/HDFS_CLIENT",
+              "Dependencies" : {
+                "component_name" : "HDFS_CLIENT",
+                "dependent_component_name" : "SQOOP",
+                "dependent_service_name" : "SQOOP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            },
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/SQOOP/components/SQOOP/dependencies/MAPREDUCE2_CLIENT",
+              "Dependencies" : {
+                "component_name" : "MAPREDUCE2_CLIENT",
+                "dependent_component_name" : "SQOOP",
+                "dependent_service_name" : "SQOOP",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            }
+          ]
         }
       ]
     },
     {
-      "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/GLUSTERFS",
-      "StackServices" : { 
-        "comments" : "An HCFS file system", 
-        "service_name" : "GLUSTERFS",
-        "service_version" : "2.1.3.0",
-        "stack_name" : "HDP",
-        "stack_version" : "2.1"
-      },
-      "serviceComponents" : [
-        {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/GLUSTERFS/serviceComponents/GLUSTERFS",
-          "StackServiceComponents" : {
-            "component_category" : "CLIENT",
-            "component_name" : "GLUSTERFS_CLIENT",
-            "is_client" : true,
-            "is_master" : false,
-            "service_name" : "GLUSTERFS",
-            "stack_name" : "HDP",
-            "stack_version" : "2.1"
-          }
-        }
-      ]
-    },              
-    {
-      "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/STORM",
+      "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/STORM",
       "StackServices" : {
         "comments" : "Apache Hadoop Stream processing framework",
+        "custom_commands" : [ ],
+        "display_name" : "Storm",
+        "required_services" : [
+          "ZOOKEEPER"
+        ],
+        "service_check_supported" : true,
         "service_name" : "STORM",
-        "service_version" : "0.9.0.1",
+        "service_version" : "0.9.1.2.1",
         "stack_name" : "HDP",
-        "stack_version" : "2.1"
+        "stack_version" : "2.1",
+        "user_name" : null,
+        "config_types" : {
+          "storm-env" : {
+            "supports" : {
+              "final" : "false"
+            }
+          },
+          "storm-site" : {
+            "supports" : {
+              "final" : "true"
+            }
+          }
+        }
       },
       "serviceComponents" : [
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/STORM/serviceComponents/DRPC_SERVER",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/STORM/components/DRPC_SERVER",
           "StackServiceComponents" : {
+            "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "DRPC_SERVER",
+            "custom_commands" : [ ],
+            "display_name" : "DRPC Server",
             "is_client" : false,
             "is_master" : true,
             "service_name" : "STORM",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         },
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/STORM/serviceComponents/NIMBUS",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/STORM/components/NIMBUS",
           "StackServiceComponents" : {
+            "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "NIMBUS",
+            "custom_commands" : [ ],
+            "display_name" : "Nimbus",
             "is_client" : false,
             "is_master" : true,
             "service_name" : "STORM",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/STORM/components/NIMBUS/dependencies/ZOOKEEPER_SERVER",
+              "Dependencies" : {
+                "component_name" : "ZOOKEEPER_SERVER",
+                "dependent_component_name" : "NIMBUS",
+                "dependent_service_name" : "STORM",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            }
+          ]
         },
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/STORM/serviceComponents/STORM_REST_API",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/STORM/components/STORM_REST_API",
           "StackServiceComponents" : {
+            "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "STORM_REST_API",
+            "custom_commands" : [ ],
+            "display_name" : "Storm REST API Server",
             "is_client" : false,
             "is_master" : true,
             "service_name" : "STORM",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         },
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/STORM/serviceComponents/STORM_UI_SERVER",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/STORM/components/STORM_UI_SERVER",
           "StackServiceComponents" : {
+            "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "STORM_UI_SERVER",
+            "custom_commands" : [ ],
+            "display_name" : "Storm UI Server",
             "is_client" : false,
             "is_master" : true,
             "service_name" : "STORM",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         },
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/STORM/serviceComponents/SUPERVISOR",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/STORM/components/SUPERVISOR",
           "StackServiceComponents" : {
+            "cardinality" : "1+",
             "component_category" : "SLAVE",
             "component_name" : "SUPERVISOR",
+            "custom_commands" : [ ],
+            "display_name" : "Supervisor",
             "is_client" : false,
             "is_master" : false,
             "service_name" : "STORM",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         }
       ]
     },
     {
-      "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/TEZ",
+      "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/TEZ",
       "StackServices" : {
         "comments" : "Tez is the next generation Hadoop Query Processing framework written on top of YARN.",
+        "custom_commands" : [ ],
+        "display_name" : "Tez",
+        "required_services" : [
+          "YARN"
+        ],
+        "service_check_supported" : false,
         "service_name" : "TEZ",
         "service_version" : "0.4.0.2.1",
         "stack_name" : "HDP",
-        "stack_version" : "2.1"
+        "stack_version" : "2.1",
+        "user_name" : null,
+        "config_types" : {
+          "tez-env" : {
+            "supports" : {
+              "final" : "false"
+            }
+          },
+          "tez-site" : {
+            "supports" : {
+              "final" : "true"
+            }
+          }
+        }
       },
       "serviceComponents" : [
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/TEZ/serviceComponents/TEZ_CLIENT",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/TEZ/components/TEZ_CLIENT",
           "StackServiceComponents" : {
+            "cardinality" : "1+",
             "component_category" : "CLIENT",
             "component_name" : "TEZ_CLIENT",
+            "custom_commands" : [ ],
+            "display_name" : "Tez Client",
             "is_client" : true,
             "is_master" : false,
             "service_name" : "TEZ",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         }
       ]
     },
     {
-      "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/WEBHCAT",
+      "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/WEBHCAT",
       "StackServices" : {
         "comments" : "This is comment for WEBHCAT service",
+        "custom_commands" : [ ],
+        "display_name" : "WebHCat",
+        "required_services" : [
+          "HIVE",
+          "ZOOKEEPER"
+        ],
+        "service_check_supported" : true,
         "service_name" : "WEBHCAT",
-        "service_version" : "0.12.0.2.1",
+        "service_version" : "0.13.0.2.1",
         "stack_name" : "HDP",
-        "stack_version" : "2.1"
+        "stack_version" : "2.1",
+        "user_name" : null,
+        "config_types" : {
+          "webhcat-env" : {
+            "supports" : {
+              "final" : "false"
+            }
+          },
+          "webhcat-site" : {
+            "supports" : {
+              "final" : "true"
+            }
+          }
+        }
       },
       "serviceComponents" : [
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/WEBHCAT/serviceComponents/WEBHCAT_SERVER",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/WEBHCAT/components/WEBHCAT_SERVER",
           "StackServiceComponents" : {
+            "cardinality" : "1",
             "component_category" : "MASTER",
             "component_name" : "WEBHCAT_SERVER",
+            "custom_commands" : [ ],
+            "display_name" : "WebHCat Server",
             "is_client" : false,
             "is_master" : true,
             "service_name" : "WEBHCAT",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/WEBHCAT/components/WEBHCAT_SERVER/dependencies/HDFS_CLIENT",
+              "Dependencies" : {
+                "component_name" : "HDFS_CLIENT",
+                "dependent_component_name" : "WEBHCAT_SERVER",
+                "dependent_service_name" : "WEBHCAT",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            },
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/WEBHCAT/components/WEBHCAT_SERVER/dependencies/MAPREDUCE2_CLIENT",
+              "Dependencies" : {
+                "component_name" : "MAPREDUCE2_CLIENT",
+                "dependent_component_name" : "WEBHCAT_SERVER",
+                "dependent_service_name" : "WEBHCAT",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            },
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/WEBHCAT/components/WEBHCAT_SERVER/dependencies/YARN_CLIENT",
+              "Dependencies" : {
+                "component_name" : "YARN_CLIENT",
+                "dependent_component_name" : "WEBHCAT_SERVER",
+                "dependent_service_name" : "WEBHCAT",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            },
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/WEBHCAT/components/WEBHCAT_SERVER/dependencies/ZOOKEEPER_CLIENT",
+              "Dependencies" : {
+                "component_name" : "ZOOKEEPER_CLIENT",
+                "dependent_component_name" : "WEBHCAT_SERVER",
+                "dependent_service_name" : "WEBHCAT",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            },
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/WEBHCAT/components/WEBHCAT_SERVER/dependencies/ZOOKEEPER_SERVER",
+              "Dependencies" : {
+                "component_name" : "ZOOKEEPER_SERVER",
+                "dependent_component_name" : "WEBHCAT_SERVER",
+                "dependent_service_name" : "WEBHCAT",
+                "stack_name" : "HDP",
+                "stack_version" : "2.1"
+              }
+            }
+          ]
         }
       ]
     },
     {
-      "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/YARN",
+      "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/YARN",
       "StackServices" : {
         "comments" : "Apache Hadoop NextGen MapReduce (YARN)",
+        "custom_commands" : [ ],
+        "display_name" : "YARN",
+        "required_services" : [
+          "HDFS",
+          "TEZ"
+        ],
+        "service_check_supported" : true,
         "service_name" : "YARN",
-        "service_version" : "2.1.0.2.1",
+        "service_version" : "2.4.0.2.1",
         "stack_name" : "HDP",
-        "stack_version" : "2.1"
+        "stack_version" : "2.1",
+        "user_name" : null,
+        "config_types" : {
+          "capacity-scheduler" : {
+            "supports" : {
+              "final" : "true"
+            }
+          },
+          "yarn-env" : {
+            "supports" : {
+              "final" : "false"
+            }
+          },
+          "yarn-log4j" : {
+            "supports" : {
+              "final" : "false"
+            }
+          },
+          "yarn-site" : {
+            "supports" : {
+              "final" : "true"
+            }
+          }
+        }
       },
       "serviceComponents" : [
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/YARN/serviceComponents/APP_TIMELINE_SERVER",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/YARN/components/APP_TIMELINE_SERVER",
           "StackServiceComponents" : {
+            "cardinality" : "0-1",
             "component_category" : "MASTER",
             "component_name" : "APP_TIMELINE_SERVER",
+            "custom_commands" : [ ],
+            "display_name" : "App Timeline Server",
             "is_client" : false,
             "is_master" : true,
             "service_name" : "YARN",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         },
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/YARN/serviceComponents/NODEMANAGER",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/YARN/components/NODEMANAGER",
           "StackServiceComponents" : {
+            "cardinality" : "1+",
             "component_category" : "SLAVE",
             "component_name" : "NODEMANAGER",
+            "custom_commands" : [ ],
+            "display_name" : "NodeManager",
             "is_client" : false,
             "is_master" : false,
             "service_name" : "YARN",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         },
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/YARN/serviceComponents/RESOURCEMANAGER",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/YARN/components/RESOURCEMANAGER",
           "StackServiceComponents" : {
+            "cardinality" : "1-2",
             "component_category" : "MASTER",
             "component_name" : "RESOURCEMANAGER",
+            "custom_commands" : [
+              "DECOMMISSION",
+              "REFRESHQUEUES"
+            ],
+            "display_name" : "ResourceManager",
             "is_client" : false,
             "is_master" : true,
             "service_name" : "YARN",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         },
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/YARN/serviceComponents/YARN_CLIENT",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/YARN/components/YARN_CLIENT",
           "StackServiceComponents" : {
+            "cardinality" : "1+",
             "component_category" : "CLIENT",
             "component_name" : "YARN_CLIENT",
+            "custom_commands" : [ ],
+            "display_name" : "Yarn Client",
             "is_client" : true,
             "is_master" : false,
             "service_name" : "YARN",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         }
       ]
     },
     {
-      "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/ZOOKEEPER",
+      "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/ZOOKEEPER",
       "StackServices" : {
         "comments" : "Centralized service which provides highly reliable distributed\n        coordination.",
+        "custom_commands" : [ ],
+        "display_name" : "ZooKeeper",
+        "required_services" : [ ],
+        "service_check_supported" : true,
         "service_name" : "ZOOKEEPER",
         "service_version" : "3.4.5.2.1",
         "stack_name" : "HDP",
-        "stack_version" : "2.1"
+        "stack_version" : "2.1",
+        "user_name" : null,
+        "config_types" : {
+          "zookeeper-env" : {
+            "supports" : {
+              "final" : "false"
+            }
+          },
+          "zookeeper-log4j" : {
+            "supports" : {
+              "final" : "false"
+            }
+          }
+        }
       },
       "serviceComponents" : [
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/ZOOKEEPER/serviceComponents/ZOOKEEPER_CLIENT",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/ZOOKEEPER/components/ZOOKEEPER_CLIENT",
           "StackServiceComponents" : {
+            "cardinality" : "1+",
             "component_category" : "CLIENT",
             "component_name" : "ZOOKEEPER_CLIENT",
+            "custom_commands" : [ ],
+            "display_name" : null,
             "is_client" : true,
             "is_master" : false,
             "service_name" : "ZOOKEEPER",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         },
         {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/ZOOKEEPER/serviceComponents/ZOOKEEPER_SERVER",
+          "href" : "http://192.168.56.101:8080/api/v1/stacks/HDP/versions/2.1/services/ZOOKEEPER/components/ZOOKEEPER_SERVER",
           "StackServiceComponents" : {
+            "cardinality" : "1+",
             "component_category" : "MASTER",
             "component_name" : "ZOOKEEPER_SERVER",
+            "custom_commands" : [ ],
+            "display_name" : "ZooKeeper Server",
             "is_client" : false,
             "is_master" : true,
             "service_name" : "ZOOKEEPER",
             "stack_name" : "HDP",
             "stack_version" : "2.1"
-          }
-        }
-      ]
-    },
-    {
-      "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/FLUME",
-      "StackServices" : {
-        "comments" : "Efficiently collects, aggregates, and moves large amounts of log data",
-        "service_name" : "FLUME",
-        "service_version" : "1.4.0",
-        "stack_name" : "HDP",
-        "stack_version" : "2.1"
-      },
-      "serviceComponents" : [
-        {
-          "href" : "http://localhost:8080/api/v1/stacks/HDP/versions/2.1/stackServices/FLUME/serviceComponents/FLUME_HANDLER",
-          "StackServiceComponents" : {
-            "component_category" : "SLAVE",
-            "component_name" : "FLUME_HANDLER",
-            "is_client" : false,
-            "is_master" : false,
-            "service_name" : "FLUME",
-            "stack_name" : "HDP",
-            "stack_version" : "2.1"
-          }
+          },
+          "dependencies" : [ ]
         }
       ]
     }

http://git-wip-us.apache.org/repos/asf/ambari/blob/6738d3d3/ambari-web/app/assets/data/views/instances.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/views/instances.json b/ambari-web/app/assets/data/views/instances.json
new file mode 100644
index 0000000..aa8ff0f
--- /dev/null
+++ b/ambari-web/app/assets/data/views/instances.json
@@ -0,0 +1,40 @@
+{
+  "href" : "http://192.168.56.101:8080/api/v1/views?fields=versions/instances/ViewInstanceInfo,versions/ViewVersionInfo/label",
+  "items" : [
+    {
+      "href" : "http://192.168.56.101:8080/api/v1/views/ADMIN_VIEW",
+      "ViewInfo" : {
+        "view_name" : "ADMIN_VIEW"
+      },
+      "versions" : [
+        {
+          "href" : "http://192.168.56.101:8080/api/v1/views/ADMIN_VIEW/versions/1.0.0",
+          "ViewVersionInfo" : {
+            "label" : "Ambari Admin View",
+            "version" : "1.0.0",
+            "view_name" : "ADMIN_VIEW"
+          },
+          "instances" : [
+            {
+              "href" : "http://192.168.56.101:8080/api/v1/views/ADMIN_VIEW/versions/1.0.0/instances/INSTANCE",
+              "ViewInstanceInfo" : {
+                "context_path" : "/views/ADMIN_VIEW/1.0.0/INSTANCE",
+                "description" : "This view provides administration capabilities for Ambari",
+                "icon64_path" : null,
+                "icon_path" : null,
+                "instance_name" : "INSTANCE",
+                "label" : "Ambari Admin View",
+                "static" : true,
+                "version" : "1.0.0",
+                "view_name" : "ADMIN_VIEW",
+                "visible" : false,
+                "instance_data" : { },
+                "properties" : { }
+              }
+            }
+          ]
+        }
+      ]
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ambari/blob/6738d3d3/ambari-web/app/assets/data/views/views.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/views/views.json b/ambari-web/app/assets/data/views/views.json
new file mode 100644
index 0000000..c12f034
--- /dev/null
+++ b/ambari-web/app/assets/data/views/views.json
@@ -0,0 +1,11 @@
+{
+  "href" : "http://192.168.56.101:8080/api/v1/views?_=1409657514311",
+  "items" : [
+    {
+      "href" : "http://192.168.56.101:8080/api/v1/views/ADMIN_VIEW",
+      "ViewInfo" : {
+        "view_name" : "ADMIN_VIEW"
+      }
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ambari/blob/6738d3d3/ambari-web/app/controllers/global/update_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/global/update_controller.js b/ambari-web/app/controllers/global/update_controller.js
index 5427794..8098213 100644
--- a/ambari-web/app/controllers/global/update_controller.js
+++ b/ambari-web/app/controllers/global/update_controller.js
@@ -211,6 +211,9 @@ App.UpdateController = Em.Controller.extend({
             realUrl.replace('<parameters>', '') +
             (paginationProps.length > 0 ? '&' + paginationProps.substring(0, paginationProps.length - 1) : '') +
             (sortProps.length > 0 ? '&' + sortProps.substring(0, sortProps.length - 1) : '');
+          if (App.get('testMode')) {
+            realUrl = testUrl;
+          }
           App.HttpClient.get(realUrl, App.hostsMapper, {
             complete: callback,
             doGetAsPost: true,

http://git-wip-us.apache.org/repos/asf/ambari/blob/6738d3d3/ambari-web/app/utils/ajax/ajax.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/ajax/ajax.js b/ambari-web/app/utils/ajax/ajax.js
index 25a8cd2..4821ba6 100644
--- a/ambari-web/app/utils/ajax/ajax.js
+++ b/ambari-web/app/utils/ajax/ajax.js
@@ -900,7 +900,7 @@ var urls = {
   },
   'cluster.load_repositories': {
     'real': '/stacks/{stackName}/versions/{stackVersion}/operating_systems?fields=repositories/*',
-    'mock': '',
+    'mock': '/data/stacks/HDP-2.1/operating_systems.json',
     'format': function (data) {
       return {
         data: data.data
@@ -1705,14 +1705,14 @@ var urls = {
   },
   'views.info': {
     'real': '/views',
-    'mock':''
+    'mock': '/data/views/views.json'
   },
   /**
    * Get all instances of all views across versions
    */
   'views.instances': {
     'real': '/views?fields=versions/instances/ViewInstanceInfo,versions/ViewVersionInfo/label',
-    'mock':''
+    'mock': '/data/views/instances.json'
   },
   'host.host_component.flume.metrics': {
     'real': '/clusters/{clusterName}/hosts/{hostName}/host_components/FLUME_HANDLER?fields=metrics/flume/flume/{flumeComponent}/*',
@@ -1764,7 +1764,7 @@ var urls = {
   },
   'hosts.for_quick_links': {
     'real': '/clusters/{clusterName}/hosts?Hosts/host_name.in({masterHosts})&fields=Hosts/public_host_name,host_components/HostRoles/component_name{urlParams}&minimal_response=true',
-    'mock': ''
+    'mock': '/data/hosts/quick_links.json'
   },
   'hosts.confirmed.install': {
     'real': '/hosts?fields=Hosts/cpu_count,Hosts/disk_info,Hosts/total_mem&minimal_response=true',

http://git-wip-us.apache.org/repos/asf/ambari/blob/6738d3d3/ambari-web/app/utils/http_client.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/http_client.js b/ambari-web/app/utils/http_client.js
index ef3c94a..ea05d18 100644
--- a/ambari-web/app/utils/http_client.js
+++ b/ambari-web/app/utils/http_client.js
@@ -140,7 +140,7 @@ App.HttpClient = Em.Object.create({
     }
     var client = this,
       request = function () {
-        if (data.doGetAsPost) {
+        if (data.doGetAsPost && !App.get('testMode')) {
           client.getAsPostRequest(url, data, mapper, errorHandler);
         }
         else {

http://git-wip-us.apache.org/repos/asf/ambari/blob/6738d3d3/ambari-web/app/views/common/quick_view_link_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/quick_view_link_view.js b/ambari-web/app/views/common/quick_view_link_view.js
index 37611a7..036acc9 100644
--- a/ambari-web/app/views/common/quick_view_link_view.js
+++ b/ambari-web/app/views/common/quick_view_link_view.js
@@ -170,7 +170,7 @@ App.QuickViewLinks = Em.View.extend({
             return !(item.host_components.someProperty('metrics.hbase.master.IsActiveMaster', 'true') || item.host_components.someProperty('metrics.hbase.master.IsActiveMaster', 'false')) ;
           });
         }
-        if (masterComponents) {
+        if (masterComponents.length > 0) {
           if (App.singleNodeInstall) {
             hosts[0] = App.singleNodeAlias;
           } else if (masterComponents.length > 1) {


Mime
View raw message