Remove UriInfo from JSONRestconfService API methods 16/59216/1
authorTom Pantelis <tompantelis@gmail.com>
Wed, 14 Jun 2017 18:42:41 +0000 (14:42 -0400)
committerTom Pantelis <tompantelis@gmail.com>
Tue, 20 Jun 2017 11:10:10 +0000 (07:10 -0400)
commite51312f71f5c2e964bc660b5ffb6f5089777ef51
tree1b524d66ef098c292f8a7d8b37d30bf3f18af6ff
parent557006cd35f1b540bc0dc15e0b800e0687b73934
Remove UriInfo from JSONRestconfService API methods

https://git.opendaylight.org/gerrit/#/c/48369/ added a UriInfo parameter
to several JSONRestconfService API methods in Carbon. However this was an
undocumented API change which will break downstream users. Further,
there is no available implementation of UriInfo so each user would have
to provide an implementation which would pretty much render the API
unusable. We do not need to expose UriInfo in this API so I've remove the
parameters.

We'll need to cherry-pick to stable/carbon for SR1 to minimize breakage.

Change-Id: I74285413c2a3a92510398a57ea82567b646c6d27
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/restconf/api/JSONRestconfService.java
restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/restconf/impl/JSONRestconfServiceImpl.java
restconf/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/JSONRestconfServiceImplTest.java