import org.opendaylight.mdsal.dom.api.DOMMountPointService;
import org.opendaylight.restconf.nb.rfc8040.handlers.SchemaContextHandler;
import org.opendaylight.restconf.nb.rfc8040.jersey.providers.JsonNormalizedNodeBodyReader;
-import org.opendaylight.restconf.nb.rfc8040.jersey.providers.NormalizedNodeJsonBodyWriter;
-import org.opendaylight.restconf.nb.rfc8040.jersey.providers.NormalizedNodeXmlBodyWriter;
+import org.opendaylight.restconf.nb.rfc8040.jersey.providers.JsonNormalizedNodeBodyWriter;
import org.opendaylight.restconf.nb.rfc8040.jersey.providers.XmlNormalizedNodeBodyReader;
+import org.opendaylight.restconf.nb.rfc8040.jersey.providers.XmlNormalizedNodeBodyWriter;
import org.opendaylight.restconf.nb.rfc8040.jersey.providers.YangSchemaExportBodyWriter;
import org.opendaylight.restconf.nb.rfc8040.jersey.providers.YinSchemaExportBodyWriter;
import org.opendaylight.restconf.nb.rfc8040.jersey.providers.errors.RestconfDocumentedExceptionMapper;
-import org.opendaylight.restconf.nb.rfc8040.jersey.providers.patch.JsonToPatchBodyReader;
-import org.opendaylight.restconf.nb.rfc8040.jersey.providers.patch.PatchJsonBodyWriter;
-import org.opendaylight.restconf.nb.rfc8040.jersey.providers.patch.PatchXmlBodyWriter;
-import org.opendaylight.restconf.nb.rfc8040.jersey.providers.patch.XmlToPatchBodyReader;
+import org.opendaylight.restconf.nb.rfc8040.jersey.providers.patch.JsonPatchBodyReader;
+import org.opendaylight.restconf.nb.rfc8040.jersey.providers.patch.JsonPatchStatusBodyWriter;
+import org.opendaylight.restconf.nb.rfc8040.jersey.providers.patch.XmlPatchBodyReader;
+import org.opendaylight.restconf.nb.rfc8040.jersey.providers.patch.XmlPatchStatusBodyWriter;
/**
* Abstract Restconf Application.
@Override
public final Set<Class<?>> getClasses() {
return Set.of(
- NormalizedNodeJsonBodyWriter.class, NormalizedNodeXmlBodyWriter.class,
+ JsonNormalizedNodeBodyWriter.class, XmlNormalizedNodeBodyWriter.class,
YinSchemaExportBodyWriter.class, YangSchemaExportBodyWriter.class,
- PatchJsonBodyWriter.class, PatchXmlBodyWriter.class);
+ JsonPatchStatusBodyWriter.class, XmlPatchStatusBodyWriter.class);
}
@Override
return ImmutableSet.<Object>builderWithExpectedSize(services.size() + 5)
.addAll(services)
.add(new JsonNormalizedNodeBodyReader(schemaContextHandler, mountPointService))
- .add(new JsonToPatchBodyReader(schemaContextHandler, mountPointService))
+ .add(new JsonPatchBodyReader(schemaContextHandler, mountPointService))
.add(new XmlNormalizedNodeBodyReader(schemaContextHandler, mountPointService))
- .add(new XmlToPatchBodyReader(schemaContextHandler, mountPointService))
+ .add(new XmlPatchBodyReader(schemaContextHandler, mountPointService))
.add(new RestconfDocumentedExceptionMapper(schemaContextHandler))
.build();
}