Search in sources :

Example 6 with PrimitiveCollectionModule

use of com.b2international.collections.PrimitiveCollectionModule in project snow-owl by b2ihealthcare.

the class BaseChangeProcessorTest method configureMapper.

@Override
protected void configureMapper(ObjectMapper mapper) {
    super.configureMapper(mapper);
    mapper.setSerializationInclusion(Include.NON_NULL);
    mapper.registerModule(new PrimitiveCollectionModule());
}
Also used : PrimitiveCollectionModule(com.b2international.collections.PrimitiveCollectionModule)

Example 7 with PrimitiveCollectionModule

use of com.b2international.collections.PrimitiveCollectionModule in project snow-owl by b2ihealthcare.

the class SnomedEclLabelerRequestTest method configureMapper.

@Override
protected void configureMapper(ObjectMapper mapper) {
    super.configureMapper(mapper);
    mapper.setSerializationInclusion(Include.NON_NULL);
    mapper.registerModule(new PrimitiveCollectionModule());
}
Also used : PrimitiveCollectionModule(com.b2international.collections.PrimitiveCollectionModule)

Example 8 with PrimitiveCollectionModule

use of com.b2international.collections.PrimitiveCollectionModule in project snow-owl by b2ihealthcare.

the class BaseValidationTest method configureMapper.

@Override
@OverridingMethodsMustInvokeSuper
protected void configureMapper(ObjectMapper mapper) {
    super.configureMapper(mapper);
    mapper.setSerializationInclusion(Include.NON_NULL);
    mapper.registerModule(new PrimitiveCollectionModule());
}
Also used : PrimitiveCollectionModule(com.b2international.collections.PrimitiveCollectionModule) OverridingMethodsMustInvokeSuper(javax.annotation.OverridingMethodsMustInvokeSuper)

Aggregations

PrimitiveCollectionModule (com.b2international.collections.PrimitiveCollectionModule)8 IndexSettings (com.b2international.snowowl.core.config.IndexSettings)1 RepositoryConfiguration (com.b2international.snowowl.core.config.RepositoryConfiguration)1 Notifications (com.b2international.snowowl.core.events.Notifications)1 RpcConfiguration (com.b2international.snowowl.rpc.RpcConfiguration)1 ObjectMapper (com.fasterxml.jackson.databind.ObjectMapper)1 OverridingMethodsMustInvokeSuper (javax.annotation.OverridingMethodsMustInvokeSuper)1 IManagedContainer (org.eclipse.net4j.util.container.IManagedContainer)1