[CONTROLLER-591] "Location" header not returned when a new resource is created (POST) Created: 30/Jun/14  Updated: 14/Nov/17  Resolved: 13/Mar/15

Status: Resolved
Project: controller
Component/s: restconf
Affects Version/s: Helium
Fix Version/s: None

Type: Bug
Reporter: Liem Nguyen Assignee: Vaclav Demcak
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


External issue ID: 1269

 Description   

A "Location" header pointing to the URI of the created resource should be returned as part of the POST response. See section 2.4.1 of the Restconf draft for more info.

The draft does not talk about asynchronous POST, but if a resource is created asynchronously, the location header should point to a URI where one can retrieve the working status of the asynchronous operation. See http://restcookbook.com/Resources/asynchroneous-operations/ for the design pattern.



 Comments   
Comment by Tom Pantelis [ 10/Sep/14 ]

This is really new functionality and should be post-Helium.

Comment by Jozef Gloncak [ 17/Sep/14 ]

patch set
https://git.opendaylight.org/gerrit/11274

Comment by Jozef Gloncak [ 14/Oct/14 ]

build was retrigered
https://git.opendaylight.org/gerrit/#/c/11274/

Comment by Jozef Gloncak [ 14/Oct/14 ]

build failure
Failed to execute goal org.jacoco:jacoco-maven-plugin:0.7.2.201409121644:check (report) on project config-subsystem: The parameters 'rules' for goal org.jacoco:jacoco-maven-plugin:0.7.2.201409121644:check are missing or invalid.

Config subsystem artifact wasn't changed in this patch set.

Comment by Jozef Gloncak [ 17/Oct/14 ]

https://git.opendaylight.org/gerrit/#/c/11274/
build is now successfull

Comment by Jozef Gloncak [ 03/Nov/14 ]

rebased

Comment by Jozef Gloncak [ 15/Jan/15 ]

rebased 15.1.2015

Generated at Wed Feb 07 19:53:24 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.