diff --git a/common/src/main/resources/config/thunibib-common/mycore.properties b/common/src/main/resources/config/thunibib-common/mycore.properties index 820650742..8bc2b7443 100644 --- a/common/src/main/resources/config/thunibib-common/mycore.properties +++ b/common/src/main/resources/config/thunibib-common/mycore.properties @@ -163,29 +163,34 @@ ThUniBib.HISinOne.ClientSecret = ThUniBib.HISinOne.Publication.Transformer.Name = res-publication-json-detailed ThUniBib.HISinOne.Journal.Transformer.Name = res-json-journal-base -# Transformer for converting mods to json format used by HISinOne -MCR.ContentTransformer.res-publication-json.Class = de.uni_jena.thunibib.his.content.transformer.PublicationHisResTransformer -MCR.ContentTransformer.res-publication-json-detailed.Class = org.mycore.common.content.transformer.MCRTransformerPipe -MCR.ContentTransformer.res-publication-json-detailed.Steps = mods-xml-detailed,mods-resolve-his-keys,mods-create-his-keys,res-publication-json - # This transformer maps values from the source mods to keys used in HISinOne -MCR.ContentTransformer.mods-resolve-his-keys.Class = org.mycore.common.content.transformer.MCRXSLTransformer -MCR.ContentTransformer.mods-resolve-his-keys.TransformerFactoryClass = net.sf.saxon.TransformerFactoryImpl -MCR.ContentTransformer.mods-resolve-his-keys.Stylesheet = xsl/mycoreobject-mods-resolve-his-keys.xsl +MCR.ContentTransformer.mods-resolve-his-keys.Class = org.mycore.common.content.transformer.MCRXSLTransformer +MCR.ContentTransformer.mods-resolve-his-keys.TransformerFactoryClass = net.sf.saxon.TransformerFactoryImpl +MCR.ContentTransformer.mods-resolve-his-keys.Stylesheet = xsl/mycoreobject-mods-resolve-his-keys.xsl + +# This transformer maps values from the source mods to keys used in HISinOne, but with additional lead id information +MCR.ContentTransformer.mods-resolve-his-keys-detailed.Class = org.mycore.common.content.transformer.MCRTransformerPipe +MCR.ContentTransformer.mods-resolve-his-keys-detailed.TransformerFactoryClass = net.sf.saxon.TransformerFactoryImpl +MCR.ContentTransformer.mods-resolve-his-keys-detailed.Steps = mods-xml-detailed,mods-resolve-his-keys # This transformer creates values and keys in for previously unresolved values in HISinOne -MCR.ContentTransformer.mods-create-his-keys.Class = org.mycore.common.content.transformer.MCRXSLTransformer -MCR.ContentTransformer.mods-create-his-keys.TransformerFactoryClass = net.sf.saxon.TransformerFactoryImpl -MCR.ContentTransformer.mods-create-his-keys.Stylesheet = xsl/mycoreobject-mods-create-unresolved-his-keys.xsl +MCR.ContentTransformer.mods-create-his-keys.Class = org.mycore.common.content.transformer.MCRXSLTransformer +MCR.ContentTransformer.mods-create-his-keys.TransformerFactoryClass = net.sf.saxon.TransformerFactoryImpl +MCR.ContentTransformer.mods-create-his-keys.Stylesheet = xsl/mycoreobject-mods-create-unresolved-his-keys.xsl + +# Transformer for converting Publication to json format used by HISinOne +MCR.ContentTransformer.res-publication-json.Class = de.uni_jena.thunibib.his.content.transformer.PublicationHisResTransformer +MCR.ContentTransformer.res-publication-json-detailed.Class = org.mycore.common.content.transformer.MCRTransformerPipe +MCR.ContentTransformer.res-publication-json-detailed.Steps = mods-xml-detailed,mods-resolve-his-keys,mods-create-his-keys,res-publication-json # This transformer converts a Journal to HISinOne JSON-format -MCR.ContentTransformer.res-journal-json.Class = de.uni_jena.thunibib.his.content.transformer.JournalHisResTransformer -MCR.ContentTransformer.res-json-journal-base.Class = org.mycore.common.content.transformer.MCRTransformerPipe -MCR.ContentTransformer.res-json-journal-base.Steps = mods-xml-detailed,mods-resolve-his-keys,mods-create-his-keys,res-journal-json +MCR.ContentTransformer.res-journal-json.Class = de.uni_jena.thunibib.his.content.transformer.JournalHisResTransformer +MCR.ContentTransformer.res-json-journal-base.Class = org.mycore.common.content.transformer.MCRTransformerPipe +MCR.ContentTransformer.res-json-journal-base.Steps = mods-xml-detailed,mods-resolve-his-keys,mods-create-his-keys,res-journal-json # This transformer enriches the MODS with lead_id, resolves his keys and creates missing his keys -MCR.ContentTransformer.mods-resolve-create-his-keys.Class = org.mycore.common.content.transformer.MCRTransformerPipe -MCR.ContentTransformer.mods-resolve-create-his-keys.Steps = mods-xml-detailed,mods-resolve-his-keys,mods-create-his-keys +MCR.ContentTransformer.mods-resolve-create-his-keys.Class = org.mycore.common.content.transformer.MCRTransformerPipe +MCR.ContentTransformer.mods-resolve-create-his-keys.Steps = mods-xml-detailed,mods-resolve-his-keys,mods-create-his-keys -MCR.URIResolver.ModuleResolver.hisinone = de.uni_jena.thunibib.his.xml.HISinOneResolver -MCR.Jersey.Resource.Packages = %MCR.Jersey.Resource.Packages%,de.uni_jena.thunibib.his.rsc +MCR.URIResolver.ModuleResolver.hisinone = de.uni_jena.thunibib.his.xml.HISinOneResolver +MCR.Jersey.Resource.Packages = %MCR.Jersey.Resource.Packages%,de.uni_jena.thunibib.his.rsc