Use AsyncResponse in deleteData/patchData 17/107217/2
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 3 Aug 2023 10:43:51 +0000 (12:43 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 3 Aug 2023 13:42:55 +0000 (15:42 +0200)
commitdd45be888ff11cc7d9261c26844fc94ad3c239cf
treeec9302d8830ef955e47ad9aa17896a9d6739d94a
parent5c0df19c90b9cec83f7fa3412f8aefda8744ec2c
Use AsyncResponse in deleteData/patchData

We have the structure support synchronous execution, use it to eliminate
the need to catch/unwrap underlying exceptions.

JIRA: NETCONF-718
Change-Id: I17573f7012de4bbee4c8f1b53c2d7e518cecedbe
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/services/api/RestconfDataService.java
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/services/impl/RestconfDataServiceImpl.java
restconf/restconf-nb/src/test/java/org/opendaylight/restconf/nb/rfc8040/rests/services/impl/RestconfDataServiceImplTest.java