use of org.opendaylight.netconf.sal.rest.api.RestconfService in project netconf by opendaylight.
the class MediaTypesTest method configure.
@Override
protected Application configure() {
/* enable/disable Jersey logs to console */
// enable(TestProperties.LOG_TRAFFIC);
// enable(TestProperties.DUMP_ENTITY);
// enable(TestProperties.RECORD_LOG_LEVEL);
// set(TestProperties.RECORD_LOG_LEVEL, Level.ALL.intValue());'
restconfService = mock(RestconfService.class);
ResourceConfig resourceConfig = new ResourceConfig();
resourceConfig = resourceConfig.registerInstances(restconfService, new NormalizedNodeJsonBodyWriter(), new NormalizedNodeXmlBodyWriter());
return resourceConfig;
}
Aggregations