-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #771 from telefonicaid/task/add_body_parser_xml
read measures in application/soap+xml content-type
- Loading branch information
Showing
6 changed files
with
246 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
- Add: allow read measures in application/soap+xml content-type (#759) | ||
- Fix: binary data representation when sending data through HTTP & MQTT (#690) | ||
- Fix: ensure service and subservice from device in logs about error proccesing message | ||
- Remove: legacy code about unused parsedMessageError flag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
test/unit/ngsiv2/contextRequests/singleMeasureSoapXml.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"id": "Second MQTT Device", | ||
"type": "AnMQTTDevice", | ||
"data": { | ||
"type": "None", | ||
"value": { | ||
"Envelope": { | ||
"$": { | ||
"xmlns:soap": "http://www.w3.org/2003/05/soap-envelope" | ||
}, | ||
"Header": [ | ||
{ | ||
"$": { | ||
"xmlns:soapenv": "http://www.w3.org/2003/05/soap-envelope" | ||
} | ||
} | ||
], | ||
"Body": [ | ||
{ | ||
"$": { | ||
"xmlns:soapenv": "http://www.w3.org/2003/05/soap-envelope" | ||
}, | ||
"notificationEventRequest": [ | ||
{ | ||
"$": { | ||
"xmlns:ns21": "http://myurl.com" | ||
}, | ||
"Param1": [ | ||
"ABC12345" | ||
], | ||
"Param2": [ | ||
"" | ||
], | ||
"Date": [ | ||
"28/09/2023 11:48:15 +0000" | ||
], | ||
"NestedAttr": [ | ||
{ | ||
"SubAttr": [ | ||
"This is a description" | ||
] | ||
} | ||
], | ||
"Status": [ | ||
"Assigned" | ||
], | ||
"OriginSystem": [ | ||
"" | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |