Introduce DataPutPath 88/109088/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 28 Nov 2023 03:45:38 +0000 (04:45 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 28 Nov 2023 03:48:13 +0000 (04:48 +0100)
commit1f481ac31847bc9d5827ac343cc78d705c88cad0
treee5ddb858ba675b2d2782bf612d4d0873bf2155a7
parent33464cc455f0bfea9de84a3dfa712af798599225
Introduce DataPutPath

We need a way to identify resources, the PUT operation on top of /data
provides the semantics. This again allows us to share codecs.

JIRA: NETCONF-1157
Change-Id: I7099ce5e48d080b734705005c6331bd9a11a173c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/databind/JsonResourceBody.java
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/databind/ResourceBody.java
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/databind/XmlResourceBody.java
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/server/api/DataPutPath.java [new file with mode: 0644]
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/server/mdsal/MdsalRestconfServer.java
restconf/restconf-nb/src/test/java/org/opendaylight/restconf/nb/rfc8040/databind/AbstractResourceBodyTest.java