X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=restconf%2Fsal-rest-connector%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Frestconf%2FRestconfApplication.java;h=c00cd4cd08291b260902f73f027ddc259bee99cb;hb=bb7dcf7024a5918e72e2035312205f726189a2c4;hp=4a2886915707719a49ca74f23d7e08013a2bb5e0;hpb=a7654ae09a1a094e796597d3ffe4aaa4a3043818;p=netconf.git diff --git a/restconf/sal-rest-connector/src/main/java/org/opendaylight/restconf/RestconfApplication.java b/restconf/sal-rest-connector/src/main/java/org/opendaylight/restconf/RestconfApplication.java index 4a28869157..c00cd4cd08 100644 --- a/restconf/sal-rest-connector/src/main/java/org/opendaylight/restconf/RestconfApplication.java +++ b/restconf/sal-rest-connector/src/main/java/org/opendaylight/restconf/RestconfApplication.java @@ -20,9 +20,9 @@ import org.opendaylight.netconf.sal.rest.impl.PATCHJsonBodyWriter; import org.opendaylight.netconf.sal.rest.impl.PATCHXmlBodyWriter; import org.opendaylight.netconf.sal.rest.impl.RestconfDocumentedExceptionMapper; import org.opendaylight.netconf.sal.rest.impl.XmlNormalizedNodeBodyReader; -import org.opendaylight.restconf.common.wrapper.services.Draft11ServicesWrapperImpl; -import org.opendaylight.restconf.utils.patch.Draft11JsonToPATCHBodyReader; -import org.opendaylight.restconf.utils.patch.Draft11XmlToPATCHBodyReader; +import org.opendaylight.restconf.common.wrapper.services.Draft15ServicesWrapperImpl; +import org.opendaylight.restconf.utils.patch.Draft15JsonToPATCHBodyReader; +import org.opendaylight.restconf.utils.patch.Draft15XmlToPATCHBodyReader; public class RestconfApplication extends Application { @@ -31,7 +31,7 @@ public class RestconfApplication extends Application { return ImmutableSet.> builder().add(NormalizedNodeJsonBodyWriter.class) .add(NormalizedNodeXmlBodyWriter.class).add(JsonNormalizedNodeBodyReader.class) .add(XmlNormalizedNodeBodyReader.class).add(SchemaExportContentYinBodyWriter.class) - .add(Draft11JsonToPATCHBodyReader.class).add(Draft11XmlToPATCHBodyReader.class) + .add(Draft15JsonToPATCHBodyReader.class).add(Draft15XmlToPATCHBodyReader.class) .add(PATCHJsonBodyWriter.class).add(PATCHXmlBodyWriter.class) .add(SchemaExportContentYangBodyWriter.class).add(RestconfDocumentedExceptionMapper.class) .build(); @@ -40,7 +40,7 @@ public class RestconfApplication extends Application { @Override public Set getSingletons() { final Set singletons = new HashSet<>(); - singletons.add(Draft11ServicesWrapperImpl.getInstance()); + singletons.add(Draft15ServicesWrapperImpl.getInstance()); return singletons; } }