Remove UriInfo from JSONRestconfService API methods 74/58974/1
authorTom Pantelis <tompantelis@gmail.com>
Wed, 14 Jun 2017 18:42:41 +0000 (14:42 -0400)
committerTom Pantelis <tompantelis@gmail.com>
Wed, 14 Jun 2017 18:42:41 +0000 (14:42 -0400)
commit17d4a56409775e872c9d55371e633472d621fe7d
tree5b6b74931060fdf7002f08890cb1ae5e0d3af3d5
parent0b0cb96c38914b815bb7386ddfd721fc32cb8514
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