added logs
This commit is contained in:
@@ -519,8 +519,8 @@ wrenchboard=#
|
||||
];
|
||||
}
|
||||
public function summaryReturnData($in,$outResult, $extraOut=[]){
|
||||
// log_message('critical', "summaryReturnData:: ********* IN ".serialize($in) );
|
||||
// log_message('critical', "summaryReturnData:: ********* OUT ".serialize($outResult) );
|
||||
log_message('critical', "summaryReturnData:: ********* IN ".serialize($in) );
|
||||
log_message('critical', "summaryReturnData:: ********* OUT ".serialize($outResult) );
|
||||
if ($in["action"] == -1 ){
|
||||
$final_out = $outResult;
|
||||
}
|
||||
|
||||
@@ -246,6 +246,7 @@ class WrenchApi extends BaseController
|
||||
$in["action"] = 13012; // WRENCHBOARD_JOB_JOBFILES; -- cannot get contsants to work
|
||||
break;
|
||||
case 'jobmanagerlist':
|
||||
log_message('critical', "******************************************* WRENCHBOARD_JOB_LISTJOBS");
|
||||
$in["action"] = WRENCHBOARD_JOB_LISTJOBS;
|
||||
break;
|
||||
case 'jobgrouplist':
|
||||
@@ -662,8 +663,10 @@ class WrenchApi extends BaseController
|
||||
{
|
||||
$out = $local_out;
|
||||
}
|
||||
|
||||
$this->doCacheStep($in, $out);
|
||||
$cacheOn = false;
|
||||
if ($cacheOn){
|
||||
$this->doCacheStep($in, $out);
|
||||
}
|
||||
// $final_out = ( new \App\Models\ResultFormatter() )->processOutJson($in, $out);
|
||||
// $final_out["environment"] = $current_env + 0; // force convert to interger = $this->getSiteConfigurations("system.live");
|
||||
// $final_out["session_image_server"] = $primary_image_sever; // ( $final_out["environment"] > 0 )? 'https://apigate.nebula.g1.wrenchboard.com/en/wrench/api/v1/getmedia/' : "https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1/getmedia/";
|
||||
|
||||
Reference in New Issue
Block a user