X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-rest-connector%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Frest%2Fapi%2FRestconfService.java;h=d16916993d4566995afebceacc80303e95953146;hb=6561b5cd3b3d2d8bcb26a6c4f3b8efa52b63523d;hp=d291907cc88bbb397c17896dfbe288e44a73bde6;hpb=2a735bfd69e79cfcf0cbd08d4596e48e3cc1069c;p=controller.git diff --git a/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/api/RestconfService.java b/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/api/RestconfService.java index d291907cc8..d16916993d 100644 --- a/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/api/RestconfService.java +++ b/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/api/RestconfService.java @@ -68,13 +68,13 @@ public interface RestconfService { @Path("/modules/{identifier:.+}") @Produces({ Draft02.MediaTypes.API + JSON, Draft02.MediaTypes.API + XML, MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_XML }) - public StructuredData getModules(@PathParam("identifier") String identifier, @Context UriInfo uriInfo); + public NormalizedNodeContext getModules(@PathParam("identifier") String identifier, @Context UriInfo uriInfo); @GET @Path("/modules/module/{identifier:.+}") @Produces({ Draft02.MediaTypes.API + JSON, Draft02.MediaTypes.API + XML, MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_XML }) - public StructuredData getModule(@PathParam("identifier") String identifier, @Context UriInfo uriInfo); + public NormalizedNodeContext getModule(@PathParam("identifier") String identifier, @Context UriInfo uriInfo); @GET @Path("/operations") @@ -151,6 +151,6 @@ public interface RestconfService { @Path("/streams") @Produces({ Draft02.MediaTypes.API + JSON, Draft02.MediaTypes.API + XML, MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_XML }) - public StructuredData getAvailableStreams(@Context UriInfo uriInfo); + public NormalizedNodeContext getAvailableStreams(@Context UriInfo uriInfo); }