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

[fiware-stackoverflow] FIWARE Orion-LD upsert replace endpoint: only attributes or completely (including type)?

    Details

    • Type: Monitor
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: FIWARE-TECH-HELP

      Description

      Created question in FIWARE Q/A platform on 26-03-2024 at 17:03
      Please, ANSWER this question AT https://stackoverflow.com/questions/78226841/fiware-orion-ld-upsert-replace-endpoint-only-attributes-or-completely-includin

      Question:
      FIWARE Orion-LD upsert replace endpoint: only attributes or completely (including type)?

      Description:
      I have a question regarding the ngsi-ld/v1/entityOperations/upsert?options=replace endpoint.
      The NGSI-LD specification (Nov 2021) states under 5.6.8.3: "All the existing Entity content shall be replaced" and under 5.6.8.4: "If there were an existing Entity with the same Entity Id, it shall be completely replaced by the new Entity content provided, if the requested update mode is 'replace'."
      We were trying to replace entities using a new type (no attributes given) with the fiware/orion-ld:1.0.0 broker. This does not work ("non-matching entity type"), as the implementation seems targeted at replacing the attributes only.
      Does someone have the final words of wisdom on the definition of this endpoint?
      Thank you!

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        8h 7m 1 Backlog Manager Today 2:01 AM

          People

          • Assignee:
            Unassigned
            Reporter:
            newbacklogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: