telefonicaid / iotagent-manager

IoT Agent Manager to use as proxy for multiple IoTAgents with different protocols
GNU Affero General Public License v3.0
7 stars 8 forks source link

[WIP] list devices just for configured protocols #249

Closed AlvaroVega closed 3 years ago

AlvaroVega commented 3 years ago

When iotagent-manager is asked about all devices, without provide a protocol, then iotagent-manager tries to ask to all iotagents

With this PR iotagent-manager is going to ask to agents where are some configured protocols. But this way a device without any other group for that protocol will not be listed

coveralls commented 3 years ago

Pull Request Test Coverage Report for Build 1115905484


Changes Missing Coverage Covered Lines Changed/Added Lines %
lib/services/iotaRedirector.js 14 15 93.33%
<!-- Total: 14 15 93.33% -->
Files with Coverage Reduction New Missed Lines %
lib/services/iotaRedirector.js 3 78.51%
lib/services/protocolData.js 6 73.91%
<!-- Total: 9 -->
Totals Coverage Status
Change from base Build 949284276: -0.7%
Covered Lines: 498
Relevant Lines: 624

💛 - Coveralls