Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-14395

[Fiware-tech-help] [frontierCities2]

    Details

    • 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":

      { "code": "404", "reasonPhrase": "No context element found", "details": "5b43f945ccfc0348246283dc" }

      }
      PATCH /v2/entities/5b43f945ccfc0348246283dc/attrs

      { "error": "NotFound", "description": "The requested entity has not been found. Check type and id" }

      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:

      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>]

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        310d 8h 28m 1 Jason Fox 16/May/19 9:15 PM

          People

          • Assignee:
            jason.fox Jason Fox
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: