allow Syrup to start without EG integration; but warn that it's absent.
authorgfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Thu, 7 May 2009 00:15:51 +0000 (00:15 +0000)
committergfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Thu, 7 May 2009 00:15:51 +0000 (00:15 +0000)
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@459 6d9bc8c9-1ec2-4278-b937-99fde70a366f

conifer/TODO
conifer/custom/lib_integration.py

index 4f818dc..5307c56 100644 (file)
@@ -2,7 +2,9 @@ CRITICAL:
 
 IMPORTANT:
 
-* factor out hardcoded references to the EG server.
+* allow concat.ca, windsor.concat.ca, etc. for paste-in item queries.
+
+* for Windsor, write temporary web-services for directory services.
 
 * Notify circulation of wanted items. What should it do?
 
@@ -70,3 +72,5 @@ RECENTLY DONE:
   non-physical items. 856$9 is a definitive indicator in the Conifer
   (Evergreen?) context.
 
+* factor out hardcoded references to the EG server.
+
index 294e010..5b8854a 100644 (file)
@@ -40,7 +40,11 @@ from django.conf import settings
 
 from conifer.libsystems.evergreen.support import initialize
 EG_BASE = 'http://%s/' % settings.EVERGREEN_GATEWAY_SERVER
-initialize(EG_BASE)
+try:
+    initialize(EG_BASE)
+except:
+    import warnings
+    warnings.warn('Evergreen inaccessible! Integration will suck eggs!')
 
 from conifer.libsystems.evergreen import item_status as I
 from conifer.libsystems.sip.sipclient import SIP