Shortcut PutDataTransactionUtil.readData() 58/93058/2
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 14 Oct 2020 15:35:22 +0000 (17:35 +0200)
committerRobert Varga <nite@hq.sk>
Wed, 14 Oct 2020 16:54:48 +0000 (16:54 +0000)
commited7ab39d4bb0034e9eea5baafa06399e7e78ea88
tree7a3816dbcaab4e767aaa28db624fd22ff7854ef2
parent25a64d0f834ebeed1f382ef9d7325fbfacf084a6
Shortcut PutDataTransactionUtil.readData()

Simplify the dispatch between utils, making it clear we do not need
a SchemaContext in this path. It also clarifies the contract to the
point it is clear PutDataTransactionUtil.readList() is an utter
misnomer and the wrong place to do things.

Change-Id: I6669e5982cfe84c44cefc769ed7dca22d924d86c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/utils/PostDataTransactionUtil.java
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/utils/PutDataTransactionUtil.java
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/utils/ReadDataTransactionUtil.java