Read Me
PreservationIdentifier-Client
Test client for the PreservationIdentifier-Server.
Usage
- run importWSDL.sh to generate the webservice client stubs
- run PreservationIdentifierClient e.g. with "ant PreservationIdentifierClient"
- you can provide a parameter for an ontology to test, by default it will use the music classification scenario from http://timbus.teco.edu/ontologies (-o)
- you can provide a basurl for the alternative ontologies, by default it will use http://testbed.timbusproject.net/test (-b)
Notes
Only individuals of type SystemSoftware that are defined in the passed ontology or in direct imports thereof are considered.
Risks are silently skipped if the individual could not be found.
To resolve issues with SSL create a truststore for the involved hosts (see update_keystore.sh in the owl-api-facade project) and
pass it to the JVM (see http://docs.oracle.com/javaee/1.4/tutorial/doc/Security6.html).
Scenarios
-
Test Replacements
Pass any instance of SystemSoftware as affected resource to retrieve test replacements for a TIMBUS compliant ontology.
-
Internet Explorer (tool replacement)
Pass the absolute path of testdata/MusicClassificationDSOs_withHtmlFormat.owl to the client (i.e. -o file:///tmp/MusicClassificationDSOs_withHtmlFormat.owl).
In the client add a risk with the affected resource "InternetExplorer".
This should return some alternatives with alternative browsers.