[NETCONF-291] post request allows to send data which already exists Created: 13/Oct/16  Updated: 15/Mar/19  Resolved: 20/Oct/16

Status: Resolved
Project: netconf
Component/s: restconf-nb
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Miroslav Kovac Assignee: Miroslav Kovac
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Blocks
blocks NETCONF-254 Create a swagger api explorer for lat... Resolved
External issue ID: 6936

 Description   

Request Post
URI:
http://localhost:8080/restconf/17/data

Body:
{
"cars" : {
"car-entry": [

{ "year": "54688", "model": "string", "id": "some id", "category": "strhing", "manufacturer": "string" }

]
}
}

next with same uri and body
{
"cars" : {
"car-entry": [

{ "year": "1111", "model": "diff", "id": "some id", "category": "diff", "manufacturer": "diff" }

]
}
}

should not allow. it should respond with data already exist.



 Comments   
Comment by Miroslav Kovac [ 13/Oct/16 ]

https://git.opendaylight.org/gerrit/#/c/46864/

Comment by Ivan Hrasko [ 19/Oct/16 ]

cherry pick to boron: https://git.opendaylight.org/gerrit/#/c/47113/

Generated at Wed Feb 07 20:14:38 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.