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

[fiware-stackoverflow] Fiware Orion batch duplicate

    Details

      Description

      Created question in FIWARE Q/A platform on 06-03-2019 at 09:03
      Please, ANSWER this question AT https://stackoverflow.com/questions/55019056/fiware-orion-batch-duplicate

      Question:
      Fiware Orion batch duplicate

      Description:
      I'm using APPEND_STRICT, but having trouble understanding a certain concept.

      Example, I have a single entity in Fiware Orion(already created) and want to create let's say 1000 entities in batch using APEND_STRINCT(v2/op/update).

      In 1000 entities there is 1 duplicate(an entity I mention that is already in Orion).

      So is this correct, Orion will throw error 422 without any information in term of the id of an entity that already exists, error talk about attributes of the entity (I understand why it is the concept of APPEND_STRICT) but showing it would really help.

      And another part is if the entity which is duplicate was on position 400 then Orion send error but continue to write remaining entities, this is really hard to manage because I cannot know when a total write is done and have to show some response while Orion still works on them in the background.

      Are my assumptions correct and can be something done to avoid this, something I failed to notice.

      Thanks.

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2019-03-06 12:05|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2019-03-06 12:05|CREATED monitor | # answers= 0, accepted answer= False
        Hide
        kzangeli Ken Zangelin added a comment -

        Contra-question issued (by Fermin). Awaiting more info

        Show
        kzangeli Ken Zangelin added a comment - Contra-question issued (by Fermin). Awaiting more info
        Hide
        backlogmanager Backlog Manager added a comment -

        2019-03-14 18:06|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2019-03-14 18:06|UPDATED status: transition Answered| # answers= 1, accepted answer= False

          People

          • Assignee:
            kzangeli Ken Zangelin
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: