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

        newbacklogmanager Backlog Manager created issue -
        newbacklogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        newbacklogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        newbacklogmanager Backlog Manager made changes -
        HD-Enabler Unknown [ 10910 ]
        HD-Chapter Unknown [ 10845 ]
        HD-Node Unknown [ 10852 ]

          People

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

            Dates

            • Created:
              Updated: