[NETCONF-252] XML POST method not working correctly because of wrong xml reader parsing Created: 08/Aug/16 Updated: 15/Mar/19 Resolved: 10/Aug/16 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | restconf-nb |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Miroslav Kovac | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 6359 |
| Description |
|
karaf installed features: When sending post request to create a mountpoint to some device <node xmlns="urn:TBD:params:xml:ns:yang:network-topology"> readFrom function in XmlNormalizedNodeBodyReader class will parse to MapEntryNode and postDataViaTransaction in BrokerFacade class will submit the write transaction differently in compare to the request with same url and following payload: { } Which is same request in json but read from function in JsonNormalizedNodeBodyReader will parse this payload to MapNode. |
| Comments |
| Comment by Miroslav Kovac [ 10/Aug/16 ] |
|
Fixed with other patch - https://git.opendaylight.org/gerrit/#/c/43316/1 |