Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Dismissed
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Enabler:Orion
Description
We have created a Context Provider that exposes an NGSI api with the
following entry points
url (r '^ queryContext', views.queryContext.as_view ()),
url (r '^ updateContext', views.updateContext.as_view ()),
Starting from the fact that we have registered an entity in Orion, and we
verify that it is actually in the table registrations of the database.
If we try to execute the following queries to obtain the information, we
obtain it correctly. Checking that Orion has registered them with our
supplier and forwards the query to it.
GET /v1/contextEntities/5b43f945ccfc0348246283dc
GET /v2/entities/5b43f945ccfc0348246283dc
But, if we execute any of the following queries to update the data of the
entity, they do not redirect to the Context Provider, and we obtain the
following answers.
PUT /v1/contextEntities/5b43f945ccfc0348246283dc/attributes
{
"errorCode":
}
PATCH /v2/entities/5b43f945ccfc0348246283dc/attrs
The only way we have been able to update the information is through the
following query, which redirects correctly and updates.
POST /v1/updateContext
We were wondering if we are avoiding something so that just like when we
consult the information, the update works well regardless of the query that
is executed.
Regards
I am aware
__________________________________________________________________________________________
You can get more information about our cookies and privacy policies on the following links:
- http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/FIWARE_Privacy_Policy
- http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Cookies_Policy_FIWARE
Fiware-tech-help mailing list
Fiware-tech-help@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-tech-help
[Created via e-mail received from: =?UTF-8?Q?Ailema_V=C3=A1zquez_Garc=C3=ADa?= <avazquez@bettergy.es>]