Skip to content

Commit

Permalink
UBO-283 Added configuration as mentioned in MyCoRe-Org/mycore#1964 (c…
Browse files Browse the repository at this point in the history
  • Loading branch information
Possommi committed Jul 29, 2024
1 parent f5988f5 commit ea1da14
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ grant all privileges on ubo.* to ubo@localhost identified by 'ubo';
<mapping-file>META-INF/mycore-iview2-mappings.xml</mapping-file>
<mapping-file>META-INF/mycore-viewer-mappings.xml</mapping-file>
<mapping-file>META-INF/mycore-ifs-mappings.xml</mapping-file>
```
```
vi ~/.mycore/ubo/resources/META-INF/persistence.xml
Expand Down
24 changes: 21 additions & 3 deletions ubo-common/src/main/resources/config/ubo-common/mycore.properties
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ MCR.Solr.Core.main.Name=ubo
MCR.Solr.DynamicFields=false
MCR.Solr.Proxy.WhiteList=/select,/select2,/uboExport,/statistics

MCR.URIResolver.xslImports.solr-document=solr-basetemplate.xsl,ubo-solr.xsl

MCR.EventHandler.MCRObject.013.Class=org.mycore.mods.MCRExtractRelatedItemsEventHandler
MCR.EventHandler.MCRObject.018.Class=org.mycore.ubo.dedup.DeDupEventHandler
#MCR.EventHandler.MCRObject.019.Class=org.mycore.ubo.publication.PublicationEventHandler
Expand Down Expand Up @@ -345,6 +343,25 @@ MCR.ContentTransformer.mods2csv.Steps=basket2solradd,mycoreobject-solrdocument,s
MCR.ContentTransformer.mods2csv2.Class=org.mycore.common.content.transformer.MCRTransformerPipe
MCR.ContentTransformer.mods2csv2.Steps=solr2csv

#### 2023.06.x https://github.com/MyCoRe-Org/mycore/pull/1964#issuecomment-1746748570 ################
MCR.Layout.Transformer.Factory.XSLFolder=xsl

MCR.URIResolver.xslImports.solr-document=solr-basetemplate.xsl,ubo-solr.xsl
MCR.URIResolver.xslIncludes.components=%MCR.URIResolver.xslIncludes.components%,solr-layout-utils.xsl
MCR.ContentTransformer.response-browse.Stylesheet=xsl/response-browse.xsl
MCR.ContentTransformer.mycoreobject-solrdocument.Class=org.mycore.common.content.transformer.MCRXSL2JAXBTransformer
MCR.ContentTransformer.mycoreobject-solrdocument.TransformerFactoryClass=org.apache.xalan.processor.TransformerFactoryImpl
MCR.ContentTransformer.mycoreobject-solrdocument.Stylesheet=xsl/mycoreobject-solrdocument.xsl
MCR.ContentTransformer.mycoreobject-solrdocument.Context=org.mycore.solr.index.document.jaxb
MCR.ContentTransformer.response-solrdocument.Class=org.mycore.common.content.transformer.MCRXSL2JAXBTransformer
MCR.ContentTransformer.response-solrdocument.TransformerFactoryClass=org.apache.xalan.processor.TransformerFactoryImpl
MCR.ContentTransformer.response-solrdocument.Stylesheet=xsl/response2batch.xsl,%MCR.ContentTransformer.mycoreobject-solrdocument.Stylesheet%
MCR.ContentTransformer.response-solrdocument.Context=%MCR.ContentTransformer.mycoreobject-solrdocument.Context%
MCR.ContentTransformer.response-prepared.Class=org.mycore.common.content.transformer.MCRXSLTransformer
MCR.ContentTransformer.response-prepared.TransformerFactoryClass=org.apache.xalan.processor.TransformerFactoryImpl
MCR.ContentTransformer.response-prepared.Stylesheet=xsl/response-join-results.xsl,xsl/response-addDocId.xsl,xsl/response-addDerivates.xsl
MCR.URIResolver.xslIncludes.xeditorTemplates=solr-xeditor-templates.xsl

MCR.ContentTransformer.MyCoReWebPage.TransformerFactoryClass=org.apache.xalan.processor.TransformerFactoryImpl
MCR.ContentTransformer.basket-objects.TransformerFactoryClass=org.apache.xalan.processor.TransformerFactoryImpl
MCR.ContentTransformer.debugEnrichment.TransformerFactoryClass=org.apache.xalan.processor.TransformerFactoryImpl
Expand All @@ -361,12 +378,13 @@ MCR.ContentTransformer.response-newest.TransformerFactoryClass=org.apache.xalan.
MCR.ContentTransformer.response-sidebar-admin.TransformerFactoryClass=org.apache.xalan.processor.TransformerFactoryImpl
MCR.ContentTransformer.response-sidebar-mini.TransformerFactoryClass=org.apache.xalan.processor.TransformerFactoryImpl
MCR.ContentTransformer.response-statistics.TransformerFactoryClass=org.apache.xalan.processor.TransformerFactoryImpl
MCR.ContentTransformer.response.TransformerFactoryClass=org.apache.xalan.processor.TransformerFactoryImpl
MCR.ContentTransformer.roles.TransformerFactoryClass=org.apache.xalan.processor.TransformerFactoryImpl
MCR.ContentTransformer.site.TransformerFactoryClass=org.apache.xalan.processor.TransformerFactoryImpl
MCR.ContentTransformer.user.TransformerFactoryClass=org.apache.xalan.processor.TransformerFactoryImpl
MCR.ContentTransformer.users.TransformerFactoryClass=org.apache.xalan.processor.TransformerFactoryImpl
MCR.ContentTransformer.webpage.TransformerFactoryClass=org.apache.xalan.processor.TransformerFactoryImpl

############################################################################################################

UBO.Export.Fields=id,subject,oa,genre,host_genre,person_aut,person_edt,title,id_doi,id_scopus,id_pubmed,id_isi,id_urn,id_duepublico,id_duepublico2,host_title,series,id_issn,id_isbn,shelfmark,year,volume,issue,pages,place,publisher
# Set allowed status of publications appearing personal publication list
Expand Down

0 comments on commit ea1da14

Please sign in to comment.