request = $request = \Config\Services::request(); } public function jobManagerList() { $raw_json = file_get_contents('php://input'); $in = json_decode($raw_json, true); $in["action"] = WRENCHBOARD_JOB_LISTJOBS; $out = []; $endpoint = "WRENCHBOARD_JOB_LISTJOBS-" . $in["client_uid"]; $out = $this->getCache($endpoint); if (count($out) == 0) { $ret = $this->wrenchboard->wrenchboard_api($in, $out); $this->saveCache($endpoint, $out, 1500); $out['internal_return'] = $ret; log_message('critical', "***** ***** WrenchJobs::jobManagerList Cache Done:::Ret " . $ret); } log_message('critical', "***** ***** WrenchJobs::jobManagerList Ret "); return $this->respond($this->summaryReturnData($in, $out), 200); } }