[Backlogmanager] [FIWARE-JIRA] (HELP-16601) [fiware-stackoverflow] Is there a way to patch to an entity using wildcards or list of servicepaths

Fernando Lopez (JIRA) jira-help-desk at jira.fiware.org
Mon Apr 27 10:41:00 CEST 2020


     [ https://jira.fiware.org/browse/HELP-16601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fernando Lopez reassigned HELP-16601:
-------------------------------------

    Assignee: Backlog Manager

> [fiware-stackoverflow] Is there a way to patch to an entity using wildcards or list of servicepaths
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HELP-16601
>                 URL: https://jira.fiware.org/browse/HELP-16601
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>            Assignee: Backlog Manager
>              Labels: fiware, fiware-orion, http
>
> Created question in FIWARE Q/A platform on 12-03-2020 at 19:03
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/60660119/is-there-a-way-to-patch-to-an-entity-using-wildcards-or-list-of-servicepaths
> +Question:+
> Is there a way to patch to an entity using wildcards or list of servicepaths
> +Description:+
> Im trying to update an entity using the PATCH /v2/entities/id/attrs endpoint. The service of the id is known; however, the servicepath is not. 
> My first attempt was to leave the header empty or rather not send it at all. For a GET query, this does the job right, however for a PATCH, this returns me a 200. First question, is this the expected behavior?
> Second try was to use a wildcard. I know that my entity is at SP /automatization/<something>. I tried PATCHing to /automatization/# and got a 204, but the entity did not change. 
> My last try was to use a list of known SPs: I know the entity I want is in one of a number of SPs, so a used a comma separated list as the SP header. Same as above: 204 but no change.
> Am I missing something?
> Orion version: 
> {
> "orion": {
> "version": "2.3.0-next",
> "uptime": "2 d, 1 h, 50 m, 52 s",
> "git_hash": "c99fef1b5c93bf1673d407968c2c101f01b95980",
> "compile_time": "Tue Mar 10 09:46:52 UTC 2020",
> "compiled_by": "root",
> "compiled_in": "0a42bdf43030",
> "release_date": "Tue Mar 10 09:46:52 UTC 2020",
> "doc": "https://fiware-orion.rtfd.io/"
> }
> }



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy