Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

Version 1 Next »

Process monitor for monitoring the process of the newspaper digitisation flow. The processmonitor is a webservice deployable in a Tomcat.

 

Initial Release v1.0

The release war is downloadable at http://...

The application requires a single context parameter pointing at a single configuration file.

The context parameter is:

<Context>
  <Parameter name="contextConfigLocation" value="file://${user.home}/newspaper-devel-config/process.monitor.config/ApplicationContext.xml"
           override="false"/>
</Context>

 

The configuration file is for spring and needs:

 

<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www.springframework.org/schema/context"
       xmlns:util="http://www.springframework.org/schema/util"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context
        http://www.springframework.org/schema/context/spring-context-3.0.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">

    <context:component-scan base-package="dk.statsbiblioteket.newspaper.processmonitor.backend"/>

    <bean id="sboi_config" class="dk.statsbiblioteket.medieplatform.autonomous.processmonitor.datasources.SBOIDatasourceConfiguration" scope="singleton">
        <property name="domsPass" value="fedoraAdminPass"/>
        <property name="domsUser" value="fedoraAdmin"/>
        <property name="domsUrl" value="http://achernar:7880/fedora/objects/"/>
        <property name="summaLocation" value="http://achernar:57608/domsgui/search/services/SearchWS?wsdl"/>
        <property name="urlToPidGen" value="http://achernar:7880/pidgenerator-service"/>
    </bean>

    <bean id="sboi" class="dk.statsbiblioteket.medieplatform.autonomous.processmonitor.datasources.SBOIDatasource" scope="singleton">
        <constructor-arg ref="sboi_config"/>
    </bean>
    
    <bean id="mpPakConfig" class="dk.statsbiblioteket.newspaper.mfpakintegration.configuration.MfPakConfiguration">
        <property name="databaseUrl" value="jdbc:postgresql://achernar/mfpak-devel"/>
        <property name="databaseUser" value="<database user>"/>
        <property name="databasePassword" value="<database passowrd>"/>
    </bean>
    <bean id="mfPak" class="dk.statsbiblioteket.newspaper.mfpakintegration.MfPakDataSource">
        <constructor-arg ref="mpPakConfig"/>
    </bean>

    <!--Reserved name for the data sources list-->
    <util:list id="dataSourcesList" list-class="java.util.ArrayList">
        <ref bean="mfPak"/>
       <ref bean="sboi"/>
    </util:list>


</beans>

  • No labels