[ https://jira.fiware.org/browse/HELP-15536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ken Zangelin updated HELP-15536: -------------------------------- Contra-question issued (by Fermin). Awaiting more info > [fiware-stackoverflow] Fiware Orion batch duplicate > --------------------------------------------------- > > Key: HELP-15536 > URL: https://jira.fiware.org/browse/HELP-15536 > Project: Help-Desk > Issue Type: Monitor > Components: FIWARE-TECH-HELP > Reporter: Backlog Manager > Assignee: Ken Zangelin > Labels: fiware, fiware-orion > > Created question in FIWARE Q/A platform on 06-03-2019 at 09:03 > {color: red}Please, ANSWER this question AT{color} 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. -- This message was sent by Atlassian JIRA (v6.4.1#64016)
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy