-
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
Differences between explicitAttrs
behaviour at lib and at agent level
#782
Comments
Related: telefonicaid/iotagent-node-lib#1529 |
|
This PR: telefonicaid/iotagent-node-lib#1531 disables the tests for any other component than IoTA LIB. In other words, now is not executed in IOTA JSON CI, so no failures. |
The rationale behind this is that to be an explicit attribute you must be an actual ATTRIBUTE, in this way it must be provisioned as active or lazy. The only way a raw/unprovisioned measure, like c, should be propagated is when |
Provisioning a group like:
I've sending the following measure:
to a non provisioned device (dispNew), then I've see the following log:
Which seems right, isn't it? |
Executing the same functional test, there are some differences between iotagent and library: iota-json
iota-node-lib
iotagent-json has |
IoT Agent JSON version the issue has been seen with
latest
Bound or port used (API interaction)
Southbound (Devices data API)
NGSI version
NGSIv2
Are you running a container?
No, I am running it natively
Image type
None
Expected behaviour you didn't see
When using provisioning a group like this:
sending:
Unexpected behaviour you saw
It sends to CB (red is not expected)
Since
c
is not provisioned, should not pass to the CBInstead, in IoTA Node Lib, the behaviour is the oposite (
c
attribute does not appears)The text was updated successfully, but these errors were encountered: