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

        fw.ext.user FW External User created issue -
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        veronika Veronika Vlnkova made changes -
        Assignee Jose Manuel Cantera [ jmcantera ]
        jmcantera Jose Manuel Cantera made changes -
        Assignee Jose Manuel Cantera [ jmcantera ] Jason Fox [ jason.fox ]
        jason.fox Jason Fox made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        jason.fox Jason Fox made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        jason.fox Jason Fox made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        backlogmanager Backlog Manager made changes -
        Summary [Fiware-tech-help] [frontierCities2] FIWARE.Request.Tech..
        fla Fernando Lopez made changes -
        HD-Enabler Orion [ 10875 ]
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]

          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: