Advertisement
JohnGateshead

OpenSRF Config

May 11th, 2011
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.42 KB | None | 0 0
  1. opensrf_core.xml
  2.  
  3. <?xml version="1.0"?>
  4.  
  5. <!-- Example OpenSRF bootstrap configuration file for Evergreen -->
  6. -<config>
  7. <!-- Options for <loglevel>: 0 None, 1 Error, 2 Warning, 3 Info, 4 debug -->
  8. -<opensrf> -<routers>
  9. <!-- define the list of routers our services will register with -->
  10. -<router>
  11. <!-- This is the public router. On this router, we only register applications which should be accessible to everyone on the OpenSRF network -->
  12. <name>router</name> <domain>public.localhost</domain> -<services> <service>opensrf.math</service> <service>open-ils.actor</service> <service>open-ils.acq</service> <service>open-ils.auth</service> <service>open-ils.booking</service> <service>open-ils.cat</service> <service>open-ils.circ</service> <service>open-ils.collections</service> <service>open-ils.fielder</service> <service>open-ils.pcrud</service> <service>open-ils.permacrud</service> <service>open-ils.reporter</service> <service>open-ils.search</service> <service>open-ils.supercat</service> <service>open-ils.vandelay</service> <service>open-ils.serial</service> </services> </router> -<router>
  13. <!-- This is the private router. All applications must register with this router, so no explicit <services> section is required -->
  14. <name>router</name> <domain>private.localhost</domain> </router> </routers>
  15. <!-- Our domain should match that of the private router -->
  16. <domain>private.localhost</domain> <username>opensrf</username> <passwd>removed</passwd> <port>5222</port>
  17. <!-- Name of the router used on our private domain. This should match one of the <name> of the private router above. -->
  18. <router_name>router</router_name> <logfile>/openils/var/log/osrfsys.log</logfile>
  19. <!-- <logfile>syslog</logfile> <syslog>local0</syslog> <actlog>local1</actlog> -->
  20. <loglevel>4</loglevel> <settings_config>/openils/conf/opensrf.xml</settings_config> </opensrf>
  21. <!-- The section between <gateway>...</gateway> is a standard OpenSRF C stack configuration file -->
  22. -<gateway> <client>true</client> <router_name>router</router_name>
  23. <!-- The gateway connects to the public domain for security -->
  24. <domain>public.localhost</domain>
  25. <!-- This section will be soon deprecated for multi-domain mode... -->
  26. -<services> <service>opensrf.math</service> <service>opensrf.dbmath</service> <service>open-ils.cat</service> <service>open-ils.search</service> <service>open-ils.circ</service> <service>open-ils.actor</service> <service>open-ils.auth</service> <service>open-ils.collections</service> <service>open-ils.reporter</service> </services>
  27. <!-- jabber login info -->
  28. <username>opensrf</username> <passwd>removed</passwd> <port>5222</port> <loglevel>4</loglevel> <logfile>/openils/var/log/gateway.log</logfile>
  29. <!-- <logfile>syslog</logfile> <syslog>local6</syslog> <actlog>local1</actlog> -->
  30. </gateway>
  31. <!-- ======================================================================================== -->
  32. -<routers> -<router>
  33. <!-- public router -->
  34. -<trusted_domains>
  35. <!-- Allow private services to register with this router and public client to send requests to this router. -->
  36. <server>private.localhost</server>
  37. <!-- Also allow private clients to send to the router so it can receive error messages -->
  38. <client>private.localhost</client> <client>public.localhost</client> </trusted_domains> -<transport> <server>public.localhost</server> <port>5222</port> <unixpath>/openils/var/sock/unix_sock</unixpath> <username>router</username> <password>removed</password> <resource>router</resource> <connect_timeout>10</connect_timeout> <max_reconnect_attempts>5</max_reconnect_attempts> </transport> <logfile>/openils/var/log/router-public.log</logfile>
  39. <!-- <logfile>syslog</logfile> <syslog>local2</syslog> -->
  40. <loglevel>2</loglevel> </router> -<router>
  41. <!-- private router -->
  42. -<trusted_domains> <server>private.localhost</server>
  43. <!-- Only clients on the private domain can send requests to this router -->
  44. <client>private.localhost</client> </trusted_domains> -<transport> <server>private.localhost</server> <port>5222</port> <username>router</username> <password>removed</password> <resource>router</resource> <connect_timeout>10</connect_timeout> <max_reconnect_attempts>5</max_reconnect_attempts> </transport> <logfile>/openils/var/log/router-private.log</logfile>
  45. <!-- <logfile>syslog</logfile> <syslog>local2</syslog> -->
  46. <loglevel>2</loglevel> </router> </routers>
  47. <!-- ======================================================================================== -->
  48. </config>
  49.  
  50. opensrf.xml
  51.  
  52.  
  53. <?xml version="1.0"?>
  54.  
  55. <!-- Example opensrf config file for OpenILS vim:et:ts=4:sw=4: -->
  56. -<opensrf version="0.0.3"> -<default>
  57. <!-- unless otherwise overidden, use this locale -->
  58. <default_locale>en-US</default_locale> -<dirs> <log>/openils/var/log</log>
  59. <!-- unix::server log files -->
  60. <sock>/openils/var/lock</sock>
  61. <!-- unix::server sock files -->
  62. <pid>/openils/var/run</pid> <xsl>/openils/var/xsl</xsl> <script>/openils/var</script> <script_lib>/openils/var</script_lib> <templates>/openils/var/templates</templates> </dirs>
  63. <!-- global data visibility settings -->
  64. -<share> -<user>
  65. <!-- Set to "true" to require patron opt-in for foreign (non-home_ou) transactions -->
  66. <opt_in>false</opt_in> </user> </share> <IDL>/openils/conf/fm_IDL.xml</IDL>
  67. <!-- top level IDL file -->
  68. <IDL2js>fm_IDL2js.xsl</IDL2js>
  69. <!-- IDL JS XSLT -->
  70. <server_type>prefork</server_type>
  71. <!-- net::server type -->
  72. <ils_events>/openils/var/data/ils_events.xml</ils_events>
  73. <!-- ILS events description file -->
  74. -<email_notify>
  75. <!-- this will eventually move into the notifications section below... -->
  76.  
  77. <!-- global email notification settings -->
  78. <template>/openils/var/data/hold_notification_template.example</template> <smtp_server>localhost</smtp_server>
  79. <!-- in most cases, this is overridden by location specific config settings. this is just the default -->
  80. <sender_address>evergreen@localhost</sender_address> </email_notify> -<notifications>
  81. <!-- global mail server settings -->
  82. <smtp_server>localhost</smtp_server> <sender_address>evergreen@localhost</sender_address>
  83. <!-- global telephony (asterisk) settings -->
  84. -<telephony>
  85. <!-- replace all values below when telephony server is configured -->
  86. <enabled>0</enabled> <driver>SIP</driver>
  87. <!-- SIP (default) or multi -->
  88. -<channels>
  89. <!-- explicit list of channels used if multi -->
  90.  
  91. <!-- A channel specifies technology/resource -->
  92. <channel>Zap/1</channel> <channel>Zap/2</channel> <channel>IAX/user:secret@widgets.biz</channel> </channels> <host>localhost</host> <port>10080</port> <user>evergreen</user> <pw>evergreen</pw>
  93. <!-- The overall composition of callfiles is determined by the relevant template, but this section can be invoked for callfile configs common to all outbound calls. callfile_lines will be inserted into ALL generated callfiles after the Channel line. This content mat be overridden (in whole) by the org unit setting callfile_lines. Warning: Invalid syntax may break ALL outbound calls. -->
  94.  
  95. <!-- <callfile_lines> MaxRetries: 3 RetryTime: 60 WaitTime: 30 Archive: 1 Extension: 10 </callfile_lines> -->
  96. </telephony>
  97. <!-- Overdue notices: DEPRECATED in 2.0 in favour of Action/Trigger Notifications -->
  98. -<overdue>
  99. <!-- optionally, you can define a sender address per notice type -->
  100. <sender_address>overdue@localhost</sender_address>
  101. <!-- The system can generate an XML file of overdue notices. This is the directory where they are stored. Files are named overdue.YYYY-MM-DD.xml -->
  102. <notice_dir>/openils/var/data/overdue</notice_dir> <combined_template>/openils/var/data/templates/overdue_combined_xml.example</combined_template> -<notice>
  103. <!-- Notify at 7 days overdue -->
  104. <notify_interval>7 days</notify_interval>
  105. <!-- Options include always, noemail, and never. 'noemail' means a notice will be appended to the notice file only if the patron has no valid email address. -->
  106. <file_append>noemail</file_append>
  107. <!-- do we attempt email notification? -->
  108. <email_notify>false</email_notify>
  109. <!-- notice template file -->
  110. <email_template>/openils/var/data/templates/overdue_7day.example</email_template> </notice> </overdue>
  111. <!-- Courtesy notices: DEPRECATED in 2.0 in favour of Action/Trigger Notifications -->
  112. -<predue> -<notice>
  113. <!-- All circulations that circulate between 5 and 13 days -->
  114. -<circ_duration_range> <from>5 days</from> <to>13 days</to> </circ_duration_range>
  115. <!-- notify at 1 day before the due date -->
  116. <notify_interval>1 day</notify_interval> <file_append>false</file_append> <email_notify>false</email_notify> <email_template>/openils/var/data/templates/predue_1day.example</email_template> </notice> </predue> </notifications>
  117. <!-- Settings for the hold targeter cron job -->
  118. -<hold_targeter>
  119. <!-- number of parallel processes to use during hold targeting; increasing can speed up (re)targeting a large number of hold requests, but with diminishing returns after a point; if increasing this value, it is recommend to do so slowly -->
  120. <parallel>1</parallel> </hold_targeter>
  121. <!-- Settings for the fine generator cron job -->
  122. -<fine_generator>
  123. <!-- number of parallel processes to use during fine generation -->
  124. <parallel>1</parallel> </fine_generator> -<reporter>
  125. <!-- Settings for the reporter daemon process -->
  126. -<setup> <base_uri>https://localhost/reporter/</base_uri> -<database> <driver>Pg</driver> <host>localhost</host> <port>5432</port> <db>evergreen</db> <user>postgres</user> <pw>postgres</pw> </database> -<state_store> <driver>Pg</driver> <host>localhost</host> <port>5432</port> <db>evergreen</db> <user>postgres</user> <pw>postgres</pw> </state_store> -<files>
  127. <!-- successful report outputs go here -->
  128. <output_base>/openils/var/web/reporter</output_base> <success_template>/openils/var/data/report-success</success_template> <fail_template>/openils/var/data/report-fail</fail_template> </files> </setup> </reporter> -<xml-rpc>
  129. <!-- XML-RPC gateway. Do NOT publish unprotected services here -->
  130. -<allowed_services>
  131. <!-- list of published services -->
  132. <service>opensrf.math</service> <service>opensrf.dbmath</service> <service>open-ils.cat</service> <service>open-ils.search</service> <service>open-ils.circ</service> <service>open-ils.actor</service> <service>open-ils.auth</service> <service>open-ils.collections</service> </allowed_services> </xml-rpc> -<z3950> <default>biblios</default> -<services> -<biblios>
  133. <!-- biblios does not require username/password -->
  134. <name>‡biblios.net</name> <host>z3950.biblios.net</host> <port>210</port> <db>bibliographic</db>
  135. <!-- fetch the full record with no holdings. FI is the most common choice -->
  136. <record_format>FI</record_format>
  137. <!-- Record transmission format from the server. Supported -->
  138.  
  139. <!-- formats include usmarc and xml (for marcxml). -->
  140. <transmission_format>usmarc</transmission_format> -<attrs> -<tcn><code>12</code><format>1</format></tcn> -<isbn><code>7</code><format>6</format></isbn> -<lccn><code>9</code><format>1</format></lccn> -<author><code>1003</code><format>6</format></author> -<title><code>4</code><format>6</format></title> -<issn><code>8</code><format>1</format></issn> -<publisher><code>1018</code><format>6</format></publisher> -<pubdate><code>31</code><format>1</format></pubdate> -<item_type><code>1001</code><format>1</format></item_type> </attrs> </biblios> -<loc>
  141. <!-- LoC does not require username/password -->
  142. <name>loc</name> <host>z3950.loc.gov</host> <port>7090</port> <db>Voyager</db>
  143. <!-- fetch the full record with no holdings. FI is the most common choice -->
  144. <record_format>FI</record_format>
  145. <!-- Record transmission format from the server. Supported -->
  146.  
  147. <!-- formats include usmarc and xml (for marcxml). -->
  148. <transmission_format>usmarc</transmission_format> -<attrs> -<tcn><code>12</code><format>1</format></tcn> -<isbn><code>7</code><format>6</format></isbn> -<lccn><code>9</code><format>1</format></lccn> -<author><code>1003</code><format>6</format></author> -<title><code>4</code><format>6</format></title> -<issn><code>8</code><format>1</format></issn> -<publisher><code>1018</code><format>6</format></publisher> -<pubdate><code>31</code><format>1</format></pubdate> -<item_type><code>1001</code><format>1</format></item_type> </attrs> </loc> -<oclc>
  149. <!-- Z3950 settings for OCLC. Note that OCLC requires username/password -->
  150. <host>zcat.oclc.org</host> <port>210</port> <db>OLUCWorldCat</db> -<attrs>
  151. <!-- These are directly from the Bib-1 Attribute Set http://www.loc.gov/z3950/agency/defns/bib1.html <code> is the "use attribute", <format> is the "structure attribute" This just puts some friendly names on the data. -->
  152. -<tcn><code>12</code><format>1</format></tcn> -<isbn><code>7</code><format>6</format></isbn> -<lccn><code>9</code><format>1</format></lccn> -<author><code>1003</code><format>6</format></author> -<title><code>4</code><format>6</format></title> -<issn><code>8</code><format>1</format></issn> -<publisher><code>1018</code><format>6</format></publisher> -<pubdate><code>31</code><format>1</format></pubdate> -<item_type><code>1001</code><format>1</format></item_type> </attrs> </oclc> </services> </z3950> -<added_content>
  153. <!-- load the OpenLibrary added content module -->
  154. <module>OpenILS::WWW::AddedContent::OpenLibrary</module>
  155. <!-- Max number of seconds to wait for an added content request to return data. Data not returned within the timeout is considered a failure -->
  156. <timeout>1</timeout>
  157. <!-- After added content lookups have been disabled due to too many lookup failures, this is the amount of time to wait before we try again -->
  158. <retry_timeout>600</retry_timeout>
  159. <!-- maximum number of consecutive lookup errors a given process can have before added content lookups are disabled for everyone -->
  160. <max_errors>15</max_errors>
  161. <!-- If a userid is required to access the added content.. -->
  162. <userid>MY_USER_ID</userid>
  163. <!-- Base URL for Amazon added content fetching. Not needed by OpenLibrary <base_url>http://images.amazon.com/images/P/</base_url> -->
  164.  
  165. <!-- Segregating the details for ContentCafe out for easier use. At some point, we may want to support multiple services at one time. -->
  166. -<ContentCafe> <userid>MY_USER_ID</userid> <password>MY_PASSWORD</password>
  167. <!-- If no cover/jacket image exists for a given ISBN, then a value of T here will return an 80x120 pixel image containing the text "No Image Available". A value of 1 will return a 1x1 pixel image. -->
  168. <return_behavior_on_no_jacket_image>T</return_behavior_on_no_jacket_image> </ContentCafe>
  169. <!-- You can add free-form settings here and they will be accessible within the added content module -->
  170. </added_content>
  171. <!-- no apps are enabled globally by default -->
  172. <activeapps/> -<cache>
  173. <!-- memcache servers -->
  174. -<global> -<servers> <server>127.0.0.1:11211</server> </servers> <max_cache_time>86400</max_cache_time> </global> -<anon>
  175. <!-- anonymous cache. currently, primarily used for web session caching -->
  176. -<servers> <server>127.0.0.1:11211</server> </servers> <max_cache_time>1800</max_cache_time>
  177. <!-- maximum size of a single cache entry / default = 100k-->
  178. <max_cache_size>102400</max_cache_size> </anon> </cache> -<apps>
  179. <!-- Acquisitions server -->
  180. -<open-ils.acq> <keepalive>5</keepalive> <stateless>1</stateless> <language>perl</language> <implementation>OpenILS::Application::Acq</implementation> <max_requests>100</max_requests> -<unix_config> <unix_sock>open-ils.acq_unix.sock</unix_sock> <unix_pid>open-ils.acq_unix.pid</unix_pid> <unix_log>open-ils.acq_unix.log</unix_log> <max_requests>100</max_requests> <min_children>1</min_children> <max_children>15</max_children> <min_spare_children>1</min_spare_children> <max_spare_children>5</max_spare_children> </unix_config> </open-ils.acq>
  181. <!-- Authentication server -->
  182. -<open-ils.auth>
  183. <!-- how long to wait between stateful requests before the child process re-joins the pool -->
  184. <keepalive>5</keepalive>
  185. <!-- true if this service support stateless requests -->
  186. <stateless>1</stateless>
  187. <!-- implementation language -->
  188. <language>c</language>
  189. <!-- library to plugin -->
  190. <implementation>oils_auth.so</implementation>
  191. <!-- maximum required opensrf requests within a stateful connection -->
  192. <max_requests>93</max_requests> -<unix_config>
  193. <!-- maximum number of top level requests coming to this child before the child is recycled -->
  194. <max_requests>1000</max_requests>
  195. <!-- min children to fork -->
  196. <min_children>1</min_children>
  197. <!-- max possible children to fork -->
  198. <max_children>15</max_children>
  199. <!-- C forking implementation does not support min/max idle children, but may in the future -->
  200.  
  201. <!-- min idle children -->
  202. <min_spare_children>1</min_spare_children>
  203. <!-- max idle children -->
  204. <max_spare_children>5</max_spare_children> </unix_config> -<app_settings>
  205. <!-- defined app-specific settings here -->
  206. -<default_timeout>
  207. <!-- default login timeouts based on login type -->
  208. <opac>420</opac> <staff>7200</staff> <temp>300</temp> <persist>2 weeks</persist> </default_timeout> </app_settings> </open-ils.auth>
  209. <!-- Generic search server -->
  210. -<open-ils.search> <keepalive>5</keepalive> <stateless>1</stateless> <language>perl</language> <implementation>OpenILS::Application::Search</implementation> <max_requests>93</max_requests> -<unix_config>
  211. <!-- the following 3 settings are currently used by Perl services only -->
  212. <unix_sock>open-ils.search_unix.sock</unix_sock> <unix_pid>open-ils.search_unix.pid</unix_pid> <unix_log>open-ils.search_unix.log</unix_log> <max_requests>1000</max_requests> <min_children>1</min_children> <max_children>15</max_children> <min_spare_children>1</min_spare_children> <max_spare_children>5</max_spare_children> </unix_config> -<app_settings> <marc_html_xsl>oilsMARC21slim2HTML.xsl</marc_html_xsl> <marc_html_xsl_slim>oilsMARC21slim2HTMLslim.xsl</marc_html_xsl_slim> -<spelling_dictionary>
  213. <!-- Optionally configure different dictionaries depending on search context. If no dictionaries are defined, the default Aspell dictionary is used. -->
  214.  
  215. <!-- <default>/openils/var/data/default_dict.txt</default> <title>/openils/var/data/title_dict.txt</title> <author>/openils/var/data/author_dict.txt</author> <subject>/openils/var/data/subject_dict.txt</subject> <series>/openils/var/data/series_dict.txt</series> -->
  216. </spelling_dictionary>
  217. <!-- Default to using staged search -->
  218. <use_staged_search>true</use_staged_search>
  219. <!-- For staged search, we estimate hits based on inclusion or exclusion. Valid settings: inclusion - visible ratio on superpage exclusion - excluded ratio on superpage delete_adjusted_inclusion - included ratio on superpage, ratio adjusted by deleted count delete_adjusted_exclusion - excluded ratio on superpage, ratio adjusted by deleted count Under normal circumstances, inclusion is the best strategy, and both delete_adjusted variants will return the same value +/- 1. The exclusion strategy is the original, and works well when there are few deleted or excluded records, in other words, when the superpage is not sparsely populated with visible records. -->
  220. <estimation_strategy>inclusion</estimation_strategy>
  221. <!-- Baseline number of records to check for hit estimation. -->
  222. <superpage_size>1000</superpage_size>
  223. <!-- How many superpages to consider for searching overall. -->
  224. <max_superpages>10</max_superpages>
  225. <!-- zip code database file -->
  226.  
  227. <!--<zips_file>/openils/var/data/zips.txt</zips_file>-->
  228. </app_settings> </open-ils.search>
  229. <!-- server for accessing user info -->
  230. -<open-ils.actor> <keepalive>5</keepalive> <stateless>1</stateless> <language>perl</language> <implementation>OpenILS::Application::Actor</implementation> <max_requests>93</max_requests> -<unix_config> <unix_sock>open-ils.actor_unix.sock</unix_sock> <unix_pid>open-ils.actor_unix.pid</unix_pid> <max_requests>1000</max_requests> <unix_log>open-ils.actor_unix.log</unix_log> <min_children>1</min_children> <max_children>15</max_children> <min_spare_children>1</min_spare_children> <max_spare_children>5</max_spare_children> </unix_config>
  231. <!-- set this to 'true' to have barcode search also search patron records by unique ID -->
  232. -<app_settings> <id_as_barcode>false</id_as_barcode> </app_settings> </open-ils.actor> -<open-ils.booking> <keepalive>5</keepalive> <stateless>1</stateless> <language>perl</language> <implementation>OpenILS::Application::Booking</implementation> <max_requests>199</max_requests> -<unix_config> <unix_sock>open-ils.booking_unix.sock</unix_sock> <unix_pid>open-ils.booking_unix.pid</unix_pid> <max_requests>1000</max_requests> <unix_log>open-ils.booking_unix.log</unix_log> <min_children>1</min_children> <max_children>15</max_children> <min_spare_children>1</min_spare_children> <max_spare_children>5</max_spare_children> </unix_config> <app_settings> </app_settings> </open-ils.booking> -<open-ils.cat> <keepalive>5</keepalive> <stateless>1</stateless> <language>perl</language> <implementation>OpenILS::Application::Cat</implementation> <max_requests>199</max_requests> -<unix_config> <unix_sock>open-ils.cat_unix.sock</unix_sock> <unix_pid>open-ils.cat_unix.pid</unix_pid> <max_requests>1000</max_requests> <unix_log>open-ils.cat_unix.log</unix_log> <min_children>1</min_children> <max_children>15</max_children> <min_spare_children>1</min_spare_children> <max_spare_children>5</max_spare_children> </unix_config> -<app_settings> -<marctemplates> <K_book>/openils/var/templates/marc/k_book.xml</K_book> </marctemplates> </app_settings> </open-ils.cat> -<open-ils.supercat> <keepalive>5</keepalive> <stateless>1</stateless> <language>perl</language> <implementation>OpenILS::Application::SuperCat</implementation> <max_requests>199</max_requests> -<unix_config> <unix_sock>open-ils.supercat_unix.sock</unix_sock> <unix_pid>open-ils.supercat_unix.pid</unix_pid> <max_requests>1000</max_requests> <unix_log>open-ils.supercat_unix.log</unix_log> <min_children>1</min_children> <max_children>15</max_children> <min_spare_children>1</min_spare_children> <max_spare_children>5</max_spare_children> </unix_config> </open-ils.supercat>
  233. <!-- server for accessing user info -->
  234. -<open-ils.trigger> <keepalive>5</keepalive> <stateless>1</stateless> <language>perl</language> <implementation>OpenILS::Application::Trigger</implementation> <max_requests>93</max_requests> -<unix_config> <unix_sock>open-ils.trigger_unix.sock</unix_sock> <unix_pid>open-ils.trigger_unix.pid</unix_pid> <max_requests>1000</max_requests> <unix_log>open-ils.trigger_unix.log</unix_log> <min_children>1</min_children> <max_children>15</max_children> <min_spare_children>1</min_spare_children> <max_spare_children>5</max_spare_children> </unix_config> </open-ils.trigger> -<opensrf.math> <keepalive>3</keepalive> <stateless>1</stateless> <language>c</language> <implementation>osrf_math.so</implementation> <max_requests>97</max_requests> -<unix_config> <unix_sock>opensrf.math_unix.sock</unix_sock> <unix_pid>opensrf.math_unix.pid</unix_pid> <max_requests>1000</max_requests> <unix_log>opensrf.math_unix.log</unix_log> <min_children>1</min_children> <max_children>15</max_children> <min_spare_children>1</min_spare_children> <max_spare_children>5</max_spare_children> </unix_config> </opensrf.math> -<opensrf.dbmath> <keepalive>3</keepalive> <stateless>1</stateless> <language>c</language> <implementation>osrf_dbmath.so</implementation> <max_requests>99</max_requests> -<unix_config> <max_requests>1000</max_requests> <unix_log>opensrf.dbmath_unix.log</unix_log> <unix_sock>opensrf.dbmath_unix.sock</unix_sock> <unix_pid>opensrf.dbmath_unix.pid</unix_pid> <min_children>1</min_children> <max_children>15</max_children> <min_spare_children>1</min_spare_children> <max_spare_children>5</max_spare_children> </unix_config> </opensrf.dbmath> -<open-ils.penalty> <keepalive>3</keepalive> <stateless>1</stateless> <language>perl</language> <implementation>OpenILS::Application::Penalty</implementation> <max_requests>99</max_requests> -<unix_config> <max_requests>1000</max_requests> <unix_log>open-ils.penalty_unix.log</unix_log> <unix_sock>open-ils.penalty_unix.sock</unix_sock> <unix_pid>open-ils.penalty_unix.pid</unix_pid> <min_children>1</min_children> <max_children>15</max_children> <min_spare_children>1</min_spare_children> <max_spare_children>5</max_spare_children> </unix_config> -<app_settings> <patron_penalty>penalty/patron_penalty.js</patron_penalty> <script_path>/openils/lib/javascript</script_path> <script_path>/openils/var</script_path> <script_path>/openils/var/catalog</script_path> </app_settings> </open-ils.penalty> -<open-ils.circ> <keepalive>3</keepalive> <stateless>1</stateless> <language>perl</language> <implementation>OpenILS::Application::Circ</implementation> <max_requests>99</max_requests> -<unix_config> <max_requests>1000</max_requests> <unix_log>open-ils.circ_unix.log</unix_log> <unix_sock>open-ils.circ_unix.sock</unix_sock> <unix_pid>open-ils.circ_unix.pid</unix_pid> <min_children>1</min_children> <max_children>15</max_children> <min_spare_children>1</min_spare_children> <max_spare_children>5</max_spare_children> </unix_config> -<app_settings> -<notify_hold> <email>false</email>
  235. <!-- set to false to disable hold notice emails -->
  236. </notify_hold>
  237. <!-- circulation policy scripts -->
  238. <script_path>/openils/lib/javascript</script_path> <script_path>/openils/var</script_path> <script_path>/openils/var/catalog</script_path> <legacy_script_support>false</legacy_script_support> -<scripts> <circ_permit_patron>circ/circ_permit_patron.js</circ_permit_patron> <circ_permit_copy>circ/circ_permit_copy.js</circ_permit_copy> <circ_duration>circ/circ_duration.js</circ_duration> <circ_recurring_fines>circ/circ_recurring_fines.js</circ_recurring_fines> <circ_max_fines>circ/circ_max_fines.js</circ_max_fines> <circ_permit_renew>circ/circ_permit_renew.js</circ_permit_renew> <circ_permit_hold>circ/circ_permit_hold.js</circ_permit_hold> </scripts> -<circ_modifiers> <mod>art</mod> <mod>atlas</mod> <mod>audiobook</mod> <mod>av</mod> <mod>new-av</mod> <mod>bestseller</mod> <mod>bestsellernh</mod> <mod>book</mod> <mod>cd</mod> <mod>dvd</mod> <mod>dvd-long</mod> <mod>e-book</mod> <mod>equipment</mod> <mod>filmstrip</mod> <mod>kit</mod> <mod>magazine</mod> <mod>map</mod> <mod>microform</mod> <mod>music</mod> <mod>record</mod> <mod>software</mod> <mod>softwrlong</mod> <mod>equip-long</mod> <mod>talking book</mod> <mod>toy</mod> <mod>video</mod> <mod>video-long</mod> </circ_modifiers> -<billing_types> <type>Miscellaneous</type> <type>Overdue materials</type> <type>Fee for placing a hold</type> <type>Fee for checking out a book</type> <type>Fee for library card</type> <type>Miscellaneous charges</type> <type>Lost materials</type> <type>Damaged material</type> <type>Overdue Reserves charge</type> <type>Recall overdue</type> <type>Fee for processing lost library materials</type> <type>Fee for sending patron bills to collection agency</type> <type>Fee for interlibrary loan</type> <type>Fee for copies</type> <type>Money advanced to pay for telephone use</type> <type>Deposit fee</type> <type>Fee for disk</type> <type>Fee for faxing</type> <type>Fee for laminating</type> <type>Fee for room cleaning</type> <type>Deposit returned; fee refund</type> <type>Sale items</type> <type>Fee for lost card</type> <type>Long overdue items</type> <type>Lost/Replacement Cassette</type> <type>Returned Check</type> </billing_types> </app_settings> </open-ils.circ> -<open-ils.ingest> <keepalive>3</keepalive> <stateless>1</stateless> <implementation>OpenILS::Application::Ingest</implementation> <language>perl</language> <max_requests>1000000</max_requests> -<unix_config> <max_requests>1000000</max_requests> <unix_log>open-ils.ingest-unix.log</unix_log> <unix_sock>open-ils.ingest-unix.sock</unix_sock> <unix_pid>open-ils.ingest-unix.pid</unix_pid> <min_children>5</min_children> <max_children>20</max_children> <min_spare_children>2</min_spare_children> <max_spare_children>5</max_spare_children> </unix_config> -<app_settings> <script_path>/openils/lib/javascript/</script_path> <script_path>/openils/var/catalog/</script_path> <script_path>/openils/var/web/opac/common/js/</script_path> -<scripts> <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint> <biblio_descriptor>biblio_descriptor.js</biblio_descriptor> </scripts> </app_settings> </open-ils.ingest> -<open-ils.storage> <keepalive>10</keepalive> <stateless>1</stateless> <language>perl</language> <implementation>OpenILS::Application::Storage</implementation> -<unix_config> <max_requests>1000</max_requests> <unix_log>open-ils.storage_unix.log</unix_log> <unix_sock>open-ils.storage_unix.sock</unix_sock> <unix_pid>open-ils.storage_unix.pid</unix_pid> <min_children>1</min_children> <max_children>10</max_children> <min_spare_children>1</min_spare_children> <max_spare_children>5</max_spare_children> </unix_config> -<app_settings>
  239. <!-- default_preferred_language: Set the global, default preferred languange -->
  240. <default_preferred_language>eng</default_preferred_language>
  241. <!-- default_preferred_language_weight: Set the weight (higher is "better") for the preferred language -->
  242. <default_preferred_language_weight>5</default_preferred_language_weight> <script_path>/openils/lib/javascript/</script_path> <script_path>/openils/var/catalog/</script_path> -<scripts> <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint> </scripts> -<databases> <driver>Pg</driver> -<database> <type>master</type> <weight>2</weight> <user>postgres</user> <host>localhost</host> <port>5432</port> <pw>postgres</pw> <db>evergreen</db> <client_encoding>UTF-8</client_encoding> </database> </databases> </app_settings> </open-ils.storage> -<open-ils.cstore> <keepalive>6</keepalive> <stateless>1</stateless> <language>C</language> <implementation>oils_cstore.so</implementation> <max_requests>200</max_requests> -<unix_config> <max_requests>1000</max_requests> <min_children>1</min_children> <max_children>15</max_children> <min_spare_children>1</min_spare_children> <max_spare_children>5</max_spare_children> </unix_config> -<app_settings> <max_query_recursion>100</max_query_recursion> <driver>pgsql</driver> -<database> <type>master</type> <weight>2</weight> <user>postgres</user> <host>localhost</host> <port>5432</port> <pw>postgres</pw> <db>evergreen</db> <client_encoding>UTF-8</client_encoding> </database> </app_settings> </open-ils.cstore> -<open-ils.pcrud> <keepalive>6</keepalive> <migratable>1</migratable> <stateless>1</stateless> <language>C</language> <implementation>oils_pcrud.so</implementation> <max_requests>200</max_requests> -<unix_config> <unix_log>open-ils.pcrud.log</unix_log> <unix_sock>open-ils.pcrud.sock</unix_sock> <unix_pid>open-ils.pcrud.pid</unix_pid> <max_requests>1000</max_requests> <min_children>1</min_children> <max_children>15</max_children> <min_spare_children>1</min_spare_children> <max_spare_children>5</max_spare_children> </unix_config> -<app_settings> <IDL>/openils/conf/fm_IDL.xml</IDL> <driver>pgsql</driver> -<database> <type>master</type> <weight>2</weight> <user>postgres</user> <host>localhost</host> <port>5432</port> <pw>postgres</pw> <db>evergreen</db> <client_encoding>UTF-8</client_encoding> </database> </app_settings> </open-ils.pcrud> -<open-ils.qstore> <keepalive>6</keepalive> <stateless>1</stateless> <language>C</language> <implementation>oils_qstore.so</implementation> <max_requests>200</max_requests> -<unix_config> <max_requests>1000</max_requests> <min_children>1</min_children> <max_children>15</max_children> <min_spare_children>1</min_spare_children> <max_spare_children>5</max_spare_children> </unix_config> -<app_settings> <driver>pgsql</driver> -<database> <type>master</type> <weight>2</weight> <user>postgres</user> <host>localhost</host> <port>5432</port> <pw>postgres</pw> <db>evergreen</db> <client_encoding>UTF-8</client_encoding> </database> </app_settings> </open-ils.qstore> -<opensrf.settings> <keepalive>1</keepalive> <stateless>1</stateless> <language>perl</language> <implementation>OpenSRF::Application::Settings</implementation> <max_requests>17</max_requests> -<unix_config> <unix_sock>opensrf.settings_unix.sock</unix_sock> <unix_pid>opensrf.settings_unix.pid</unix_pid> <max_requests>300</max_requests> <unix_log>opensrf.settings_unix.log</unix_log> <min_children>5</min_children> <max_children>15</max_children> <min_spare_children>3</min_spare_children> <max_spare_children>5</max_spare_children> </unix_config> </opensrf.settings> -<open-ils.collections> <keepalive>3</keepalive> <stateless>1</stateless> <language>perl</language> <implementation>OpenILS::Application::Collections</implementation> <max_requests>17</max_requests> -<unix_config> <unix_sock>open-ils.collections_unix.sock</unix_sock> <unix_pid>open-ils.collections_unix.pid</unix_pid> <max_requests>1000</max_requests> <unix_log>open-ils.collections_unix.log</unix_log> <min_children>1</min_children> <max_children>10</max_children> <min_spare_children>1</min_spare_children> <max_spare_children>5</max_spare_children> </unix_config> </open-ils.collections> -<open-ils.reporter> <keepalive>3</keepalive> <stateless>1</stateless> <language>perl</language> <implementation>OpenILS::Application::Reporter</implementation> <max_requests>99</max_requests> -<unix_config> <unix_sock>open-ils.reporter_unix.sock</unix_sock> <unix_pid>open-ils.reporter_unix.pid</unix_pid> <max_requests>1000</max_requests> <unix_log>open-ils.reporter_unix.log</unix_log> <min_children>1</min_children> <max_children>10</max_children> <min_spare_children>1</min_spare_children> <max_spare_children>5</max_spare_children> </unix_config> </open-ils.reporter> -<open-ils.reporter-store> <keepalive>6</keepalive> <stateless>1</stateless> <language>C</language> <implementation>oils_rstore.so</implementation> <max_requests>95</max_requests> -<unix_config> <max_requests>400</max_requests> <min_children>1</min_children> <max_children>10</max_children> <min_spare_children>1</min_spare_children> <max_spare_children>5</max_spare_children> </unix_config> -<app_settings> <driver>pgsql</driver> -<database> <type>master</type> <weight>2</weight> <user>postgres</user> <host>localhost</host> <port>5432</port> <pw>postgres</pw> <db>evergreen</db> <client_encoding>UTF-8</client_encoding> </database> </app_settings> </open-ils.reporter-store> -<open-ils.permacrud> <keepalive>3</keepalive> <stateless>1</stateless> <language>perl</language> <implementation>OpenILS::Application::PermaCrud</implementation> <max_requests>17</max_requests> -<unix_config> <unix_sock>open-ils.permacrud_unix.sock</unix_sock> <unix_pid>open-ils.permacrud_unix.pid</unix_pid> <max_requests>1000</max_requests> <unix_log>open-ils.permacrud_unix.log</unix_log> <min_children>5</min_children> <max_children>15</max_children> <min_spare_children>3</min_spare_children> <max_spare_children>5</max_spare_children> </unix_config> </open-ils.permacrud> -<open-ils.fielder> <keepalive>3</keepalive> <stateless>1</stateless> <language>perl</language> <implementation>OpenILS::Application::Fielder</implementation> <max_requests>17</max_requests> -<unix_config> <unix_sock>open-ils.fielder_unix.sock</unix_sock> <unix_pid>open-ils.fielder_unix.pid</unix_pid> <max_requests>1000</max_requests> <unix_log>open-ils.fielder_unix.log</unix_log> <min_children>5</min_children> <max_children>15</max_children> <min_spare_children>3</min_spare_children> <max_spare_children>5</max_spare_children> </unix_config> </open-ils.fielder> -<open-ils.vandelay> <keepalive>5</keepalive> <stateless>1</stateless> <language>perl</language> <implementation>OpenILS::Application::Vandelay</implementation> <max_requests>100</max_requests> -<unix_config> <unix_sock>vandelay_unix.sock</unix_sock> <unix_pid>vandelay_unix.pid</unix_pid> <unix_log>vandelay_unix.log</unix_log> <max_requests>100</max_requests> <min_children>1</min_children> <max_children>15</max_children> <min_spare_children>1</min_spare_children> <max_spare_children>5</max_spare_children> </unix_config> -<app_settings> -<databases>
  243. <!-- temporary location for MARC import files. Files will be deleted after records are spooled. *note: in a multi-brick environment, this will need to be on a write-able NFS share. -->
  244. <importer>/tmp</importer> </databases> </app_settings> </open-ils.vandelay> -<open-ils.serial> <keepalive>3</keepalive> <stateless>1</stateless> <language>perl</language> <implementation>OpenILS::Application::Serial</implementation> <max_requests>17</max_requests> -<unix_config> <unix_sock>open-ils.serial_unix.sock</unix_sock> <unix_pid>open-ils.serial_unix.pid</unix_pid> <max_requests>1000</max_requests> <unix_log>open-ils.serial_unix.log</unix_log> <min_children>5</min_children> <max_children>15</max_children> <min_spare_children>3</min_spare_children> <max_spare_children>5</max_spare_children> </unix_config> <app_settings> </app_settings> </open-ils.serial> </apps> </default> -<hosts> -<localhost>
  245. <!-- ^-=- Should match the fully qualified domain name of the host. On Linux, the output of the following command is authoritative: $ perl -MNet::Domain -e 'print Net::Domain::hostfqdn() . "\n";' To use 'localhost' instead, run osrf_ctl.sh with the -l flag -->
  246. -<activeapps>
  247. <!-- services hosted on this machine -->
  248. <appname>opensrf.settings</appname> <appname>opensrf.math</appname> <appname>opensrf.dbmath</appname> <appname>open-ils.acq</appname> <appname>open-ils.booking</appname> <appname>open-ils.cat</appname> <appname>open-ils.supercat</appname> <appname>open-ils.search</appname> <appname>open-ils.circ</appname> <appname>open-ils.actor</appname> <appname>open-ils.auth</appname> <appname>open-ils.storage</appname> <appname>open-ils.penalty</appname> <appname>open-ils.cstore</appname> <appname>open-ils.collections</appname> <appname>open-ils.ingest</appname> <appname>open-ils.reporter</appname> <appname>open-ils.reporter-store</appname> <appname>open-ils.permacrud</appname> <appname>open-ils.pcrud</appname> <appname>open-ils.trigger</appname> <appname>open-ils.fielder</appname> <appname>open-ils.vandelay</appname> <appname>open-ils.serial</appname> </activeapps> </localhost> </hosts> </opensrf>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement