[CONTROLLER-31] Inconcistant API layout of NB APIs Created: 05/Sep/13  Updated: 25/Jul/23  Resolved: 05/May/15

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

Type: Improvement
Reporter: Endre T. Karlson Assignee: Prasanth Pallamreddy
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC



 Description   

There are some issues that are concerning when looking at the NB APIs.

A collection endpoint is /

{containerName}/subnet/all vs /{containerName}

/nodes

also there's a difference in the usage of POST vs PUT for creation of new objects.
POST /controller/nb/v2/staticroute/

{containerName}/route/{route}
PUT /controller/nb/v2/flow/{containerName}

/node/

{nodeType}

/

{nodeId}

/static-flow/

{name}

 Comments   
Comment by Prasanth Pallamreddy [ 10/Sep/13 ]

Submitted a change for review - https://git.opendaylight.org/gerrit/#/c/1149/

Comment by Prasanth Pallamreddy [ 23/Sep/13 ]

The fix has been merged.

Comment by Carol Sanders [ 05/May/15 ]

This bug is part of the project to Move all ADSAL associated component bugs to ADSAL.

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