BUG 2805 - Fixed Restconf RPC calls and POST to create data 36/16136/8
authorMaros Marsalek <mmarsale@cisco.com>
Tue, 10 Mar 2015 10:19:33 +0000 (11:19 +0100)
committerTony Tkacik <ttkacik@cisco.com>
Tue, 10 Mar 2015 21:10:38 +0000 (22:10 +0100)
RPCs now works again with JSON and XML
POST works with data store.

AbstractIdentifierAwareJaxRsProvider and its derivates,
provides InstanceIdentifierContext as was parsed from
RESTCONF URI, along with parsed NormalizedNode.

If operation is create, then parsed NormalizedNode
is used along with InstanceIdentifier context to compute
full InstanceIdentifier for data to be created
and works with these data.

This actually simplified flow in codecs.

Change-Id: I5b12965f35d946087cc57f19a28425b27eb27755
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>

No differences found