CC-2750: Ability to query health status for pypo,

liquidsoap, media monitor, and recorder
This commit is contained in:
martin 2011-10-04 15:49:02 -04:00
parent 0af749dd20
commit 7dd14efe27
5 changed files with 2 additions and 56 deletions

View File

@ -694,7 +694,7 @@ class ApiController extends Zend_Controller_Action
$remoteAddr = $_SERVER['REMOTE_ADDR'];
Logging::log("Registered Component: ".$component."@".$remoteAddr);
Application_Model_Component::Register($component, $remoteAddr);
Application_Model_ServiceRegister::Register($component, $remoteAddr);
}
}

View File

@ -1,5 +1,5 @@
<?php
class Application_Model_Component {
class Application_Model_ServiceRegister {
public static function Register($p_componentName, $p_ipAddress){

View File

@ -1,18 +0,0 @@
<?php
/**
* Skeleton subclass for representing a row from the 'cc_component' table.
*
*
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
* @package propel.generator.airtime
*/
class CcComponent extends BaseCcComponent {
} // CcComponent

View File

@ -1,18 +0,0 @@
<?php
/**
* Skeleton subclass for performing query and update operations on the 'cc_component' table.
*
*
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
* @package propel.generator.airtime
*/
class CcComponentPeer extends BaseCcComponentPeer {
} // CcComponentPeer

View File

@ -1,18 +0,0 @@
<?php
/**
* Skeleton subclass for performing query and update operations on the 'cc_component' table.
*
*
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
* @package propel.generator.airtime
*/
class CcComponentQuery extends BaseCcComponentQuery {
} // CcComponentQuery