Browse Source

Se actualiza service.endpoint para consultas al endpoint de mongoDB.

Maxi Schvindt 7 years ago
parent
commit
58fab24f44
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/StatsBundle/Controller/CmtsReportController.php

+ 3 - 3
src/StatsBundle/Controller/CmtsReportController.php

@@ -107,7 +107,7 @@ class CmtsReportController extends Controller
         $subName = "d_{$cmtsDeviceId}_s_{$cmtsServerId}";
 
         $result = $targets = array();
-        $endpoint = $this->get('endpoint.mysql');
+        $endpoint = $this->get('endpoint.mongo');
 
         //$targets["interface_stats"] = array("target" => "{$subName}_interface_stats");
         $targets["cmts_octets"] = array("target" => "{$subName}_snmp_cmtsOctets");
@@ -144,7 +144,7 @@ class CmtsReportController extends Controller
         $subName = "d_{$cmtsDeviceId}_s_{$cmtsServerId}";
 
         $result = $targets = array();
-        $endpoint = $this->get('endpoint.mysql');
+        $endpoint = $this->get('endpoint.mongo');
 
         $targets["in_bandwidth"] = array("target" => "{$subName}_inbandwidth_cmts");
         $targets["out_bandwidth"] = array("target" => "{$subName}_outbandwidth_cmts");
@@ -254,7 +254,7 @@ class CmtsReportController extends Controller
         $subName = "d_{$cmtsDeviceId}_s_{$cmtsServerId}";
 
         $result = $targets = array();
-        $endpoint = $this->get('endpoint.mysql');
+        $endpoint = $this->get('endpoint.mongo');
 
         //{$subId}_inconsumption_cmts
         $targets["in_consumption"] = array("target" => "{$subName}_inconsumption_cmts");