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

[fiware-stackoverflow] How can I delete an id-less entity in Orion?

    Details

      Description

      Created question in FIWARE Q/A platform on 02-04-2015 at 11:04
      Please, ANSWER this question AT https://stackoverflow.com/questions/29409565/how-can-i-delete-an-id-less-entity-in-orion

      Question:
      How can I delete an id-less entity in Orion?

      Description:
      Question title pretty much self explanatory. It is possible to create an id-less entity in Orion. An id = .* query returns normally as an id-less, although existing entity. But how can someone delete that entity? This request didn't work obviously:

      {
      "contextElements": [

      { "type": "", "isPattern": "false", "id": "" }

      ],
      "updateAction": "DELETE"
      }

      This is the returned query:

      {
      "contextElement": {
      "type": "",
      "isPattern": "false",
      "id": "",
      "attributes": [

      { "name": "temp", "type": "integer", "value": "15" }

      ,

      { "name": "pressure", "type": "integer", "value": "720" }

      ]
      },
      "statusCode":

      { "code": "200", "reasonPhrase": "OK" }

      }

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        2h 59m 1 Backlog Manager 30/May/17 9:04 AM
        In Progress In Progress Answered Answered
        2h 2m 1 Fernando Lopez 30/May/17 11:06 AM
        Answered Answered Closed Closed
        1s 1 Fernando Lopez 30/May/17 11:06 AM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        fla Fernando Lopez made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        fla Fernando Lopez made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        fla Fernando Lopez made changes -
        HD-Enabler Orion [ 10875 ]
        Description
        Created question in FIWARE Q/A platform on 02-04-2015 at 11:04
        {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/29409565/how-can-i-delete-an-id-less-entity-in-orion


        +Question:+
        How can I delete an id-less entity in Orion?

        +Description:+
        Question title pretty much self explanatory. It is possible to create an id-less entity in Orion. An id = .* query returns normally as an id-less, although existing entity. But how can someone delete that entity? This request didn't work obviously:

        {
          "contextElements": [
           {
              "type": "",
              "isPattern": "false",
              "id": ""
            }
          ],
          "updateAction": "DELETE"
        }


        This is the returned query:

        {
                    "contextElement": {
                        "type": "",
                        "isPattern": "false",
                        "id": "",
                        "attributes": [
                            {
                                "name": "temp",
                                "type": "integer",
                                "value": "15"
                            },
                            {
                                "name": "pressure",
                                "type": "integer",
                                "value": "720"
                            }
                        ]
                    },
                    "statusCode": {
                        "code": "200",
                        "reasonPhrase": "OK"
                    }
                }

        Created question in FIWARE Q/A platform on 02-04-2015 at 11:04
        {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/29409565/how-can-i-delete-an-id-less-entity-in-orion


        +Question:+
        How can I delete an id-less entity in Orion?

        +Description:+
        Question title pretty much self explanatory. It is possible to create an id-less entity in Orion. An id = .* query returns normally as an id-less, although existing entity. But how can someone delete that entity? This request didn't work obviously:

        {
          "contextElements": [
           {
              "type": "",
              "isPattern": "false",
              "id": ""
            }
          ],
          "updateAction": "DELETE"
        }


        This is the returned query:

        {
                    "contextElement": {
                        "type": "",
                        "isPattern": "false",
                        "id": "",
                        "attributes": [
                            {
                                "name": "temp",
                                "type": "integer",
                                "value": "15"
                            },
                            {
                                "name": "pressure",
                                "type": "integer",
                                "value": "720"
                            }
                        ]
                    },
                    "statusCode": {
                        "code": "200",
                        "reasonPhrase": "OK"
                    }
                }

        HD-Chapter Data [ 10838 ]
        fla Fernando Lopez made changes -
        Assignee Leandro Guillén [ leandro.guillen ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-30 09:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-30 09:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-30 06:05|CREATED monitor | # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-30 06:05|CREATED monitor | # answers= 1, accepted answer= True
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            leandroguillen Leandro Guillén
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: