git clone https://@opensourceprojects.eu/git/p/timbus/dpes/preservation-identifier/server timbus-dpes-preservation-identifier-server



File Date Author Commit
.settings 2014-01-07 Carlos Coutinho Carlos Coutinho [e03a19] First Version on Git, synchronised with TIMBUS ...
WEB-INF 2014-01-10 Johannes Binder Johannes Binder [d080e1] Add support for file replacement additional to ...
lib-src 2014-01-07 Carlos Coutinho Carlos Coutinho [e03a19] First Version on Git, synchronised with TIMBUS ...
src 2014-01-10 Johannes Binder Johannes Binder [efd791] Fix naming of created file individuals
.classpath 2014-01-07 Carlos Coutinho Carlos Coutinho [e03a19] First Version on Git, synchronised with TIMBUS ...
.gitignore 2014-01-13 Johannes Binder Johannes Binder [36cbed] Add Maven support
.project 2014-01-07 Carlos Coutinho Carlos Coutinho [e03a19] First Version on Git, synchronised with TIMBUS ...
README.md 2014-01-07 Carlos Coutinho Carlos Coutinho [e03a19] First Version on Git, synchronised with TIMBUS ...
build.xml 2014-01-13 Johannes Binder Johannes Binder [36cbed] Add Maven support
license_header.txt 2014-01-13 Johannes Binder Johannes Binder [36cbed] Add Maven support
pom.xml 2014-01-13 Johannes Binder Johannes Binder [36cbed] Add Maven support
updateDeps.sh 2014-01-13 Johannes Binder Johannes Binder [36cbed] Add Maven support

Read Me

PreservationIdentifier-Server

A webservice that for a given system context model and a set of resources under risk generates alternative system context models
where resources under risk are replaced by other (compatible) resources.
At the moment the only supported resources are tools.

Usage

There are two ways to publish this webservice

  1. in a tomcat. all you need to do is copy/symlink the project root into your tomcat/webapps folder
  2. using the java endpoint, by running PreservationIdentifierServer (e.g. by ant PreservationIdentifierServer)
    you can modify the service URL by passing a CLI argument with the URL

Dependencies

FAQ

  • Alternatives are not returned for every risk.

    Only individuals of type SystemSoftware that are defined in the passed ontology or in direct imports thereof are considered.
    The risk is silently skipped if the individual could not be found.

  • The knowledgebase is unavailable.

    Have a look at the kbgen project to rebuild the knowledgebase or obtain a copy.

  • The query runs forever and stops eventually with an exception.

    Make sure that no self-signed certificates are imported in the ontology that is passed.
    If there are such:

    • download the certificate (e.g. in firefox)
    • create a keystore:
      keytool -import -file [cacert.pem] -alias [alias] -keystore [keystore.ts] -storepass [password]
    • load the keystore:
      System.setProperty("javax.net.ssl.trustStore", "/tmp/pi/keystore.ts");