changeset 28:a9bfd49355f8

updated config for ismi-dev.
author casties
date Wed, 18 Nov 2015 15:22:05 +0100
parents 3fce3fa9097e
children 1a1877812757
files importFromOpenMind/importer/ismi2model.py importFromOpenMind/importer/ismi2neo4j.py importFromOpenMind/importer/model2model.py importFromOpenMind/importer/model2neo4j.py importFromOpenMind/importer/unfilteredISMI.py mpiwgISMI/logo.png
diffstat 6 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/importFromOpenMind/importer/ismi2model.py	Tue Oct 06 13:03:23 2015 +0200
+++ b/importFromOpenMind/importer/ismi2model.py	Wed Nov 18 15:22:05 2015 +0100
@@ -9,7 +9,7 @@
 output_fn = "ismi_graph.gpickle"
 
 # OpenMind base URL
-baseURL="http://localhost:18080/ismi-richfaces/jsonInterface?"
+baseURL="http://localhost:18080/om4-ismi/jsonInterface?"
 
 # node types to exclude from the graph
 exclude_objects_of_type = ['DIGITALIZATION', 'REFERENCE']
--- a/importFromOpenMind/importer/ismi2neo4j.py	Tue Oct 06 13:03:23 2015 +0200
+++ b/importFromOpenMind/importer/ismi2neo4j.py	Wed Nov 18 15:22:05 2015 +0100
@@ -11,7 +11,7 @@
 contract_relations_into_attributes = ['PLACE', 'ALIAS']
 
 # label added to all nodes
-project_label = '_ismi3'
+project_label = '_ismi'
 
 # OpenMind base URL
 baseURL="http://localhost:18080/ismi-richfaces/jsonInterface?"
--- a/importFromOpenMind/importer/model2model.py	Tue Oct 06 13:03:23 2015 +0200
+++ b/importFromOpenMind/importer/model2model.py	Wed Nov 18 15:22:05 2015 +0100
@@ -26,7 +26,8 @@
 
 
 # add URLs to nodes using an attribute in a pattern
-add_link_attributes = {'ismi_id': 'https://ismi-dev.mpiwg-berlin.mpg.de/drupal-ismi/entity/%s'}
+#add_link_attributes = {'ismi_id': 'https://ismi-dev.mpiwg-berlin.mpg.de/drupal-ismi/entity/%s'}
+add_link_attributes = {'ismi_id': 'https://ismi-dev.mpiwg-berlin.mpg.de/om4-ismi/public/publicWitness.jsp?eid=%s'}
 
 
 def fixName(name, is_src_rel=False, is_tar_rel=False, att_from_rel=False):
--- a/importFromOpenMind/importer/model2neo4j.py	Tue Oct 06 13:03:23 2015 +0200
+++ b/importFromOpenMind/importer/model2neo4j.py	Wed Nov 18 15:22:05 2015 +0100
@@ -8,7 +8,7 @@
 input_fn = 'ismi_graph.gpickle'
 
 # label added to all nodes
-project_label = '_ismi6'
+project_label = '_ismi'
 
 # neo4j base URL
 neo4jBaseURL = "http://localhost:7474/db/data/"
--- a/importFromOpenMind/importer/unfilteredISMI.py	Tue Oct 06 13:03:23 2015 +0200
+++ b/importFromOpenMind/importer/unfilteredISMI.py	Wed Nov 18 15:22:05 2015 +0100
@@ -9,7 +9,7 @@
 import urllib.request
 
 #ismiBaseUrl="https://ismi.mpiwg-berlin.mpg.de/om4-ismi"
-ismiBaseUrl="http://localhost:18080/ismi-richfaces"
+ismiBaseUrl="http://localhost:18080/om4-ismi"
 
 class Importer:
     
Binary file mpiwgISMI/logo.png has changed