[NGSILD] fix ENTITY_GENERIC_ERROR when context broker respond with status code… (201 code)#1617
Merged
fgalan merged 2 commits intotelefonicaid:masterfrom Jun 3, 2024
Merged
Conversation
… in update operation with orion ld 1.5.1 during the transmission of the first measure operation the context broker respond with 201 status code
Member
|
An update operation in CB could response with a 201 ? |
Member
|
Maybe the author of the NGSI-LD contributio (@jason-fox ) could have a look and provide feedback on this. |
Contributor
Author
I think yes, if is the first measure, since in this case the entity is created in context broker
I don't know, I've experimented that only for ngsi-ld with orion-ld, I didn't tried other context brokers for that. |
Contributor
|
Yes any 2xx Status codes are legitimate here in NGSI-LD. LGTM 👍 |
Member
Great! @aquarta please add a line in the CHANGES_NEXT_RELEASE file briefly describing the fix and this PR will me merged. |
Contributor
Author
|
Done |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
… in update operation
with orion ld 1.5.1 during the transmission of the first measure operation the context broker respond with 201 status code.
The log reports
I think this would fix FIWARE/tutorials.IoT-Agent#23