incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgog...@apache.org
Subject svn commit: r1335854 - in /incubator/ambari/branches/ambari-186: CHANGES.txt hmc/php/db/HMCDBAccessor.php
Date Wed, 09 May 2012 00:24:35 GMT
Author: vgogate
Date: Wed May  9 00:24:34 2012
New Revision: 1335854

URL: http://svn.apache.org/viewvc?rev=1335854&view=rev
Log:
AMBARI-189: Make getAllHostsInfo api support optional params by Histesh Shah

Modified:
    incubator/ambari/branches/ambari-186/CHANGES.txt
    incubator/ambari/branches/ambari-186/hmc/php/db/HMCDBAccessor.php

Modified: incubator/ambari/branches/ambari-186/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1335854&r1=1335853&r2=1335854&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/CHANGES.txt (original)
+++ incubator/ambari/branches/ambari-186/CHANGES.txt Wed May  9 00:24:34 2012
@@ -2,6 +2,9 @@ Ambari Change log
 
 Release 0.x.x - unreleased
 
+  AMBARI-189. Make getAllHostsInfo api support optional params ( Hitesh Shah via
+  vgogate)
+
   AMBARI-188. Disable jdk location validation as filter apis not supported in 
   PHP 5.1. (Hitesh Shah via vgogate)
   

Modified: incubator/ambari/branches/ambari-186/hmc/php/db/HMCDBAccessor.php
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/php/db/HMCDBAccessor.php?rev=1335854&r1=1335853&r2=1335854&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/php/db/HMCDBAccessor.php (original)
+++ incubator/ambari/branches/ambari-186/hmc/php/db/HMCDBAccessor.php Wed May  9 00:24:34
2012
@@ -950,7 +950,8 @@ class HMCDBAccessor {
    *        )
    *     )
    */
-  public function getAllHostsInfo($clusterName, $filter, $order) {
+  public function getAllHostsInfo($clusterName, $filter = array(),
+      $order = array()) {
     LockAcquire();
     $error = "";
     $query = "SELECT "



Mime
View raw message