comment unused
This commit is contained in:
@@ -115,15 +115,15 @@ class WrenchResources extends BaseController
|
||||
$endpoints = $this->endPointList();
|
||||
$out = array();
|
||||
$res1 = [];
|
||||
if (array_key_exists($endpoint, $endpoints)) {
|
||||
} else {
|
||||
http_response_code(404);
|
||||
// tell the user product does not exist
|
||||
echo json_encode([
|
||||
'message' => 'Endpoint not found.',
|
||||
'URI' => $uri,
|
||||
]);
|
||||
}
|
||||
// if (array_key_exists($endpoint, $endpoints)) {
|
||||
// } else {
|
||||
// http_response_code(404);
|
||||
// // tell the user product does not exist
|
||||
// echo json_encode([
|
||||
// 'message' => 'Endpoint not found.',
|
||||
// 'URI' => $uri,
|
||||
// ]);
|
||||
// }
|
||||
|
||||
$current_env = $this->getSiteConfigurations("system.live");
|
||||
$primary_image_sever = $this->getSiteConfigurations("system.primary_image_sever");
|
||||
@@ -156,6 +156,7 @@ class WrenchResources extends BaseController
|
||||
try {
|
||||
$micro_service_net1 = $this->getSiteConfigurations("system.micro_service_net1"); //"10.10.10.120";
|
||||
$local_url = "http://".$micro_service_net1.":3034/famresourcecat";
|
||||
log_message('critical', "WrenchResources Path GATE 00666 -> ".$local_url);
|
||||
return $this->APIcall('GET', $local_url, $in);
|
||||
} catch (Exception $e) {
|
||||
log_message('critical', "WrenchResources Path GATE 007 - ".$e->getMessage());
|
||||
|
||||
Reference in New Issue
Block a user