Parent: [e03a19] (diff)

Child: [64564d] (diff)

Download this file

README.md    49 lines (31 with data), 1.7 kB

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");