-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keep order from a multimeasure to Orion CB #825
Keep order from a multimeasure to Orion CB #825
Comments
Multimeasures are processed one by one measures in this loop: iotagent-json/lib/bindings/HTTPBinding.js Lines 358 to 391 in 86d7cc4
One single measure is able to generate multiple updates to CB (i.e. multientity) which are sent in a /v2/op/update (Batch) to CB iotagent-node lib function Not sure if that loop is keeping or loosing measures order or not; this could be the reason of this issue. |
I understand that the ability to order the measures in some order is out of the scope of this issue (i.e. a new issue as continuation of the present one will be created). |
Yes, the point is to keep the order received in the multimeasures array |
Fixed in PR #826 (+ twin PR telefonicaid/iotagent-ul#677 for IOTA-UL) |
Component
Feature enhancement
Is your feature request related to a problem? Please describe
When sending a multimeasure like this:
The CB receive the requests split in multiple individual requests out of order.
As example:
Describe the solution you'd like
Would be interesting receiving the array in the same order, for example, one batch request
op/update
in the Orion CB, containing the array in the same order.Describe alternatives you've considered
No response
The systemd version you checked that didn't have the feature you are asking for
No response
The text was updated successfully, but these errors were encountered: