Add OperationsPostPath 87/109087/3
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 28 Nov 2023 03:11:13 +0000 (04:11 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 28 Nov 2023 03:45:05 +0000 (04:45 +0100)
commit33464cc455f0bfea9de84a3dfa712af798599225
treef70f5053fa17f0b90d6b622c0c22390221cdb106
parent9fb70e748e7a6f25ea5ef8f07ae6a8660a933a01
Add OperationsPostPath

This is a nice capture of DatabindContext and the logic we need to
decode OperationInputBody -- using which we can reuse JSON/XML codecs.

JIRA: NETCONF-1157
Change-Id: I6a7136c1c54293be22a85ef015992cc2fb349971
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/databind/JsonOperationInputBody.java
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/databind/OperationInputBody.java
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/databind/XmlOperationInputBody.java
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/server/api/OperationsPostPath.java [new file with mode: 0644]
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/server/api/OperationsPostResult.java
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/AbstractOperationInputBodyTest.java