Optimize RestconfStrategy.postData() 03/107803/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 11 Sep 2023 23:03:48 +0000 (01:03 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 11 Sep 2023 23:05:14 +0000 (01:05 +0200)
commit1e2d66e6bbd8a3f8d2ada231e781cb607ad8c867
tree4188a10fb829cfeffedd89fb563dc70adb9190a1
parent0cf3135fe853808ecfde63b8bf55766f23a82a43
Optimize RestconfStrategy.postData()

The implementation is now tightly bound to a RestconfStrategy, which
allows us to check invariants before we embark on modifying the
datastore.

JIRA: NETCONF-1126
Change-Id: Iec2bec456e248a2d557ed6190719043226dfade2
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/WriteDataParams.java
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/transactions/RestconfStrategy.java