Difference between revisions of "Symphony.properties"

From MeLibraries Wiki
Jump to: navigation, search
 
Line 3: Line 3:
 
     <comment>Default creation policies for Flat Users at EPL</comment>
 
     <comment>Default creation policies for Flat Users at EPL</comment>
 
     <entry key="load-dir">/s/sirsi/metro/logs/Customers</entry> // no longer optional.
 
     <entry key="load-dir">/s/sirsi/metro/logs/Customers</entry> // no longer optional.
     <entry key="ssh">sirsi@edpl-t.library.ualberta.ca</entry> // optional but will run commands over ssh.
+
     <entry key="ssh">'''sirsi@edpl-t.library.ualberta.ca'''</entry> <!-- optional but will run commands over ssh. See below for alternate load methods using SSH. -->
 
     <entry key="USER_LIBRARY">EPLMNA</entry>
 
     <entry key="USER_LIBRARY">EPLMNA</entry>
 
     <entry key="USER_PROFILE">EPL-METRO</entry>
 
     <entry key="USER_PROFILE">EPL-METRO</entry>

Latest revision as of 17:25, 27 July 2017

Contains the properties that should be set when a customer is created with a Symphony ILS. This is a checked file. This file is not required for Horizon since default properties are set in bimport.properties. EPL's property file looks like this:

<properties>
   <comment>Default creation policies for Flat Users at EPL</comment>
   <entry key="load-dir">/s/sirsi/metro/logs/Customers</entry> // no longer optional.
   <entry key="ssh">sirsi@edpl-t.library.ualberta.ca</entry>  
   <entry key="USER_LIBRARY">EPLMNA</entry>
   <entry key="USER_PROFILE">EPL-METRO</entry>
   <entry key="USER_PREF_LANG">ENGLISH</entry>
   <entry key="USER_STATUS">OK</entry>
   <entry key="USER_ROUTING_FLAG">Y</entry>
   <entry key="USER_CHG_HIST_RULE">ALLCHARGES</entry>
   <entry key="USER_ACCESS">PUBLIC</entry>
   <entry key="USER_ENVIRONMENT">PUBLIC</entry>
</properties>

Alternatively you may have a helper script load customers, but invoked by the ME server. This simplifies operations since the executable can be a simple bat file or a shell script that loads the flat file. The advantage is flexibility in testing prior to loading, and modifications to loading process don't require a new ME server build. To use this option we assume that the helper script will do the loading via SSH so all needs to be done is change the ssh entry to include 'DEFER:/path/to/executable/script.sh' as shown below. Note that the ME server will call this script in the following manner /home/metro_user/metro/Logs/customer/loaduser.sh /home/metro_user/metro/Logs/customer/<customer.flat> CREATE or /home/metro_user/metro/Logs/customer/loaduser.sh /home/metro_user/metro/Logs/customer/<customer.flat> UPDATE

 <properties>
   <comment>Default creation policies for Flat Users at EPL</comment>
   <entry key="load-dir">/s/sirsi/metro/logs/Customers</entry> 
   <entry key="ssh">DEFER:/home/metro_user/metro/Logs/customer/loaduser.sh</entry> 
   <entry key="USER_LIBRARY">EPLMNA</entry>
   <entry key="USER_PROFILE">EPL-METRO</entry>
   <entry key="USER_PREF_LANG">ENGLISH</entry>
   <entry key="USER_STATUS">OK</entry>
   <entry key="USER_ROUTING_FLAG">Y</entry>
   <entry key="USER_CHG_HIST_RULE">ALLCHARGES</entry>
   <entry key="USER_ACCESS">PUBLIC</entry>
   <entry key="USER_ENVIRONMENT">PUBLIC</entry>
</properties>