|
a/src/net/timbusproject/dpes/alternative/PreservationIdentifierClient.java |
|
b/src/net/timbusproject/dpes/alternative/PreservationIdentifierClient.java |
|
... |
|
... |
66 |
|
66 |
|
67 |
public static final String DEFAULT_ONTOLOGY = "http://timbus.teco.edu/ontologies/examples/MusicClassification/main.owl";
|
67 |
public static final String DEFAULT_ONTOLOGY = "http://timbus.teco.edu/ontologies/examples/MusicClassification/main.owl";
|
68 |
|
68 |
|
69 |
public static final String DEFAULT_ONTOLOGY_HTML = "http://timbus.teco.edu/ontologies/examples/MusicClassification/MusicClassificationDSOs_withHtmlFormat.owl";
|
69 |
public static final String DEFAULT_ONTOLOGY_HTML = "http://timbus.teco.edu/ontologies/examples/MusicClassification/MusicClassificationDSOs_withHtmlFormat.owl";
|
70 |
|
70 |
|
71 |
public static final String DEFAULT_SERVER_ADDRESS = "http://testbed.timbusproject.net:7080/pi_latest/preservationIdentifier?wsdl";
|
71 |
public static final String DEFAULT_SERVER_ADDRESS = "http://kronos.ifs.tuwien.ac.at:8080/pi/preservationIdentifier?wsdl";
|
72 |
|
72 |
|
73 |
public static final String DEFAULT_ALTERNATIVE_ONTOLOGIES_BASE_URL = "http://testbed.timbusproject.net/test";
|
73 |
public static final String DEFAULT_ALTERNATIVE_ONTOLOGIES_BASE_URL = "http://testbed.timbusproject.net/test";
|
74 |
|
74 |
|
75 |
public static void main(String[] args) throws OwlElementNotFoundException_Exception,
|
75 |
public static void main(String[] args) throws OwlElementNotFoundException_Exception,
|
76 |
org.semanticweb.owlapi.model.OWLOntologyCreationException, IOException_Exception,
|
76 |
org.semanticweb.owlapi.model.OWLOntologyCreationException, IOException_Exception,
|
|
... |
|
... |
227 |
Map<String, String> owls = new HashMap<String, String>();
|
227 |
Map<String, String> owls = new HashMap<String, String>();
|
228 |
owls.put("main", ontologyToString(loadOntology(DEFAULT_ONTOLOGY)));
|
228 |
owls.put("main", ontologyToString(loadOntology(DEFAULT_ONTOLOGY)));
|
229 |
owls.put("html", ontologyToString(loadOntology(DEFAULT_ONTOLOGY_HTML)));
|
229 |
owls.put("html", ontologyToString(loadOntology(DEFAULT_ONTOLOGY_HTML)));
|
230 |
|
230 |
|
231 |
// Package Alternatives
|
231 |
// Package Alternatives
|
232 |
identifiedRisks.add(createRisk("risk1", "openjdk-6-jre"));
|
232 |
identifiedRisks.add(createRisk("risk1", "oracle-java6-installer"));
|
233 |
expectedAlternativeCount.add(15);
|
233 |
expectedAlternativeCount.add(40);
|
234 |
ontologies.add(owls.get("main"));
|
234 |
ontologies.add(owls.get("main"));
|
235 |
|
235 |
|
236 |
// Software Alternatives
|
236 |
// Software Alternatives
|
237 |
identifiedRisks.add(createRisk("risk2", "InternetExplorer"));
|
237 |
identifiedRisks.add(createRisk("risk2", "InternetExplorer"));
|
238 |
expectedAlternativeCount.add(13);
|
238 |
expectedAlternativeCount.add(13);
|