Skip to content

Commit be710a1

Browse files
Cerfoglgchicco785
authored andcommitted
Added lazy, commands, static and internal attributes to the payload sent to the IoT Agent Manager
1 parent f188355 commit be710a1

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

lib/services/common/iotManagerService.js

+14-11
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,20 @@ function register(callback) {
4444
function adaptServiceInformation(service) {
4545
/* jshint camelcase: false */
4646
return {
47-
apikey: service.apikey,
48-
token: service.trust,
49-
cbHost: service.cbHost,
50-
entity_type: service.type,
51-
resource: service.resource,
52-
service: service.service,
53-
service_path: service.subservice,
54-
attributes: service.attributes,
55-
static_attributes: service.staticAttributes,
56-
timezone: service.timezone,
57-
timestamp: service.timestamp
47+
apikey: service.apikey,
48+
token: service.trust,
49+
cbHost: service.cbHost,
50+
entity_type: service.type,
51+
resource: service.resource,
52+
service: service.service,
53+
service_path: service.subservice,
54+
attributes: service.attributes,
55+
lazy: service.lazy,
56+
commands: service.commands,
57+
static_attributes: service.staticAttributes,
58+
internal_attributes: service.internalAttributes,
59+
timezone: service.timezone,
60+
timestamp: service.timestamp
5861
};
5962
}
6063

0 commit comments

Comments
 (0)