Skip to content

Commit

Permalink
MET-5619 add core lib metainfo embbeded entities (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeortizquan authored Nov 15, 2023
1 parent 8989f42 commit d787e62
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
import eu.europeana.corelib.definitions.edm.beans.FullBean;
import eu.europeana.corelib.edm.exceptions.MongoDBException;
import eu.europeana.corelib.edm.exceptions.MongoRuntimeException;
import eu.europeana.corelib.edm.model.metainfo.AudioMetaInfoImpl;
import eu.europeana.corelib.edm.model.metainfo.ImageMetaInfoImpl;
import eu.europeana.corelib.edm.model.metainfo.TextMetaInfoImpl;
import eu.europeana.corelib.edm.model.metainfo.VideoMetaInfoImpl;
import eu.europeana.corelib.edm.model.metainfo.WebResourceMetaInfoImpl;
import eu.europeana.corelib.solr.bean.impl.FullBeanImpl;
import eu.europeana.corelib.solr.derived.AttributionSnippet;
Expand Down Expand Up @@ -98,6 +102,10 @@ private Datastore createDatastore(MongoClient mongoClient, String databaseName)
mapper.getEntityModel(QualityAnnotationImpl.class);
mapper.getEntityModel(AttributionSnippet.class);
mapper.getEntityModel(DatasetImpl.class);
mapper.getEntityModel(ImageMetaInfoImpl.class);
mapper.getEntityModel(AudioMetaInfoImpl.class);
mapper.getEntityModel(TextMetaInfoImpl.class);
mapper.getEntityModel(VideoMetaInfoImpl.class);
LOGGER.info("Datastore initialized");

return morphiaDatastore;
Expand Down

0 comments on commit d787e62

Please sign in to comment.