PubMan 7 3

This page shall contain every change that is made during a qa release of the version mentioned above. If it's not here, it never happened!

= PubMan 7.3 Release =

Affected Servers

 * http://qa-pubman.mpdl.mpg.de/
 * http://qa-coreservice.mpdl.mpg.de:8080/


 * http://pubman.mpdl.mpg.de/
 * http://coreservice.mpdl.mpg.de/


 * http://test-pubman.mpdl.mpg.de/
 * http://test-coreservice.mpdl.mpg.de:8080/


 * http://nims.mpdl.mpg.de/
 * http://nims-coreservice.mpdl.mpg.de:8080/


 * http://migration-pubman.mpdl.mpg.de/
 * http://migration-coreservice.mpdl.mpg.de:8080/

Fedora

 * PID Migration on srv01.mpdl.mpg.de
 * save /opt/fedora/data/objects
 * save database(fedora3 and riTriples)
 * adapt properties in pidMigration.properties

escidoc.pidcache.service.url=http://srv03.mpdl.mpg.de:8080/pidcache/handle escidoc.pidcache.server=srv03.mpdl.mpg.de escidoc.pidcache.user.name=pid_manager escidoc.pidcache.user.password=wannapid escidoc.pidprovider.class=de.mpg.escidoc.handler.PIDProvider escidoc.pubman.instance.url=http://pubman.mpdl.mpg.de escidoc.pubman.instance.context.path=/pubman escidoc.pubman.item.pattern=/item/$1 escidoc.pubman.component.pattern=/item/$1/component/$2/$3 triplestore.datasource.url=jdbc:postgresql://localhost:5432/riTriples triplestore.datasource.driverClassName=org.postgresql.Driver triplestore.datasource.username=postgres triplestore.datasource.password=postgres triplestore.datasource.table=t4
 * 1) pidcache server configuration - getting the PIDs from
 * 1) the pubman instance registering handles for
 * 1) triplestore database configuration - needed for item component mapping

cd /opt/fedora/data/objects java -jar pid_migration-1.0-SNAPSHOT-jar-with-dependencies.jar -transformvalidate. CREATE DATABASE "fedora3" WITH ENCODING='UTF8' OWNER="fedoraAdmin"; CREATE DATABASE "riTriples" WITH ENCODING='SQL_ASCII' OWNER="fedoraAdmin" TEMPLATE=template0;
 * run pid migration
 * drop database and rebuild database (fedora3 and riTriples)

cd /opt/fedora/server/bin rebuild.sh (Enter 2-1; 1-1)

Coreservice JBoss

 * pidmanager.war, PidManager.properties, gwdg.properties

Core Infrastructure

 * install framework 1.3.9

Core Lucene Index
escidoc-core.om.indexer.optimize.interval=0 0 2 1 12 ?
 * copy xslt stylesheets from subversion to /usr/share/jboss/server/default/conf/search/config/index/escidoc_all and .. item/container_admin
 * switch off optimize in escidoc-core.properties, e.g.
 * reindex
 * switch on optimize again

PubMan Properties

 * Siegelnummer für PubMan:
 * escidoc.pubman.instance.seal_number=ZDB-97-MPR
 * Kontexte für die der SSRN-Button verfügbar ist:
 * escidoc.pubman.instance.ssrn_contexts= TODO
 * Stylesheet paths (Die anderen Stylesheets aus dem Ordner müssen auch aktuell sein! Genauso die vocabulary Mappings in transformations!)
 * escidoc.transformation.pmc2escidoc_publication_item.stylesheet.filename=/usr/share/jboss/server/default/conf/transformation/transformations/thirdParty/xslt/bmc2escidoc-publication-item.xsl
 * escidoc.transformation.pmc2escidoc_publication_component.stylesheet.filename=/usr/share/jboss/server/default/conf/transformation/transformations/thirdParty/xslt/pmc2escidoc-publication-component.xsl
 * escidoc.transformation.pmc_fulltext_xml2pmc_fulltext_xslfo.stylesheet.filename=/usr/share/jboss/server/default/conf/transformation/transformations/thirdParty/xslt/pmc_fulltext_xml2pmc_fulltext_xslfo.xsl
 * escidoc.transformation.bmc2escidoc_publication_item.stylesheet.filename=/usr/share/jboss/server/default/conf/transformation/transformations/thirdParty/xslt/bmc2escidoc-publication-item.xsl
 * escidoc.transformation.bmc2escidoc_publication_component.stylesheet.filename=/usr/share/jboss/server/default/conf/transformation/transformations/thirdParty/xslt/bmc2escidoc-publication-component.xsl
 * escidoc.transformation.bmc_fulltext_xml2bmc_fulltext_html.stylesheet.filename=/usr/share/jboss/server/default/conf/transformation/transformations/thirdParty/xslt/bmc_fulltext_xml2bmc_fulltext_html.xsl
 * escidoc.transformation.arxiv2escidoc_publication_item.stylesheet.filename=/usr/share/jboss/server/default/conf/transformation/transformations/thirdParty/xslt/arxiv2escidoc-publication-item.xsl
 * escidoc.transformation.arxiv2escidoc_publication_component.stylesheet.filename=/usr/share/jboss/server/default/conf/transformation/transformations/thirdParty/xslt/arxiv2escidoc-publication-component.xsl
 * PID-Component-Pattern
 * escidoc.pubman.component.pattern=/item/$1/component/$2/$3
 * Policy-Link
 * escidoc.pubman.policy.url=http://colab.mpdl.mpg.de/mediawiki/MPG.PuRe_Impressum (sollte auf Live schon angepasst sein)
 * Bibtex-import implementierende Klasse
 * escidoc.transformation.bibtex.class=de.mpg.escidoc.services.transformation.transformations.commonPublicationFormats.Bibtex

Transformation Properties

 * /usr/share/jboss-4.2.3.GA/server/default/conf/transformation/transformations/otherFormats/conf/edoc.properties
 * Add 'AEI' to 'import-name' (http://jira.mpdl.mpg.de/browse/PUBMAN-2368)

CoNE Database (all except zim02.gwdg.de)
CREATE TABLE results (   id character varying NOT NULL,    value character varying NOT NULL,    lang character varying,    type character varying,    sort character varying );
 * Add new columns type and sort to result table:


 * Provide new models.xml if externalized
 * Reset journals (http://pubman-server-url/cone/reset.jsp?model=journals)
 * Reset persons (http://pubman-server-url/cone/reset.jsp?model=persons)

PubMan Software Homepage
http://pubman.mpdl.mpg.de/software/

Statistics

 * A new aggregation definition for the statistics was defined and is automatically created in the coreservice when PubMan starts up for the first time. Additionally, the complete statistics have to be preprocessed for this aggregation definition:
 * After first pubman start, find out aggregation-definition id (eg. by having a look in the escidoc-core database under sm: The prefix of the table 'pubman_object_stats' is the correct id)
 * Go to escidoc_core database
 * Copy values from old aggregation table to new aggregation table using the following sql

DELETE FROM sm._pubman_object_stats; INSERT INTO sm._pubman_object_stats ( SELECT handler, request, regexp_replace(object_id, '(.*:.*)(:.*)', '\1') AS short_object_id, regexp_replace(parent_object_id, '(.*:.*)(:.*)', '\1') AS short_parent_object_id, (user_id IS NOT NULL and user_id!='') AS user_id_available, month, year, sum(requests) FROM sm.escidocaggdef1_object_stats  GROUP BY handler, request, short_object_id, short_parent_object_id, user_id_available, month, year);

Installer

 * apache-fop-config.xml soll auch im Installer direkt ins conf-Verzeichnis des Servers übernommen werden

PubMan Configuration

 * apache-fop-config.xml + Fonts von QA kopieren