CC-2750: Ability to query health status for pypo,
liquidsoap, media monitor, and recorder
This commit is contained in:
parent
0af749dd20
commit
7dd14efe27
5 changed files with 2 additions and 56 deletions
|
@ -694,7 +694,7 @@ class ApiController extends Zend_Controller_Action
|
||||||
$remoteAddr = $_SERVER['REMOTE_ADDR'];
|
$remoteAddr = $_SERVER['REMOTE_ADDR'];
|
||||||
Logging::log("Registered Component: ".$component."@".$remoteAddr);
|
Logging::log("Registered Component: ".$component."@".$remoteAddr);
|
||||||
|
|
||||||
Application_Model_Component::Register($component, $remoteAddr);
|
Application_Model_ServiceRegister::Register($component, $remoteAddr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
class Application_Model_Component {
|
class Application_Model_ServiceRegister {
|
||||||
|
|
||||||
public static function Register($p_componentName, $p_ipAddress){
|
public static function Register($p_componentName, $p_ipAddress){
|
||||||
|
|
|
@ -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
|
|
|
@ -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
|
|
|
@ -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
|
|
Loading…
Add table
Add a link
Reference in a new issue