Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None
    • HD-Enabler:
      Orion

      Description

      Hello again,

      To update entities owned by a context provider in Orion, they must be
      registered by type and id.

      If we register the context provider specifying only the entity type, then
      when we try to update passing an id in addition to the type.
      POST http://192.168.1.141:1026/v2/registrations/

      {
      "dataProvided": {
      "entities": [

      { "type": "Building", "idPattern" : ".*" }

      ]
      },
      "provider": {
      "http":

      { "url": "https://app.energysequence.com/v2" }

      ,
      "legacyForwarding": true
      }
      }
      Response

      201 Created

      But we can not update an entity of this type. when used the following
      query...

      PATCH
      http://192.168.1.141:1026/v2/entities/5b4bd791ccfc03708e521285/attrs/?type=Building

      the answer 404 is not found.
      Is there any way to update entities without the need to register their
      identifier for each one?
      Regards

      __________________________________________________________________________________________

      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 In Progress In Progress
        44d 23h 51m 1 Jason Fox 30/Aug/18 11:50 AM
        In Progress In Progress Answered Answered
        3s 1 Jason Fox 30/Aug/18 11:50 AM
        Answered Answered Closed Closed
        2s 1 Jason Fox 30/Aug/18 11:50 AM

          People

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

            Dates

            • Created:
              Updated:
              Resolved: