patch from Brandon Uhlman (with slight alteration discussed and 1 added sanity check...
[Evergreen.git] / Open-ILS / examples / oils_sip.xml.example
1 <acsconfig xmlns="http://openncip.org/acs-config/1.0/">
2
3         <error-detect enabled="true" />
4
5   <!-- Set Net::Server::PreFork runtime parameters -->
6         <!--  <server-params
7            min_servers='1'
8            min_spare_servers='0' /> -->
9   
10   
11         <listeners>
12                 <service
13                         port="0:8080/tcp"
14                         transport="http"
15                         protocol="NCIP/1.0" />
16
17                 <service
18                         port="8023/tcp"
19                         transport="telnet"
20                         protocol="SIP/1.00"
21                         timeout="60" />
22
23                 <service
24                         port="127.0.0.1:6001/tcp"
25                         transport="RAW" 
26                         protocol="SIP/2.00"
27                         timeout="60" />
28         </listeners>
29
30         <accounts>
31                 <login id="scclient" password="clientpwd" institution="gapines"/>
32         </accounts>
33
34         <!-- Institution tags will hold stuff used to interface to -->
35         <!-- the rest of the ILS: authentication parameters, etc.  I -->
36         <!-- don't know what yet, so it'll just be blank.  But there -->
37         <!-- needs to be one institution stanza for each institution -->
38         <!-- named in the accounts above. -->
39         <institutions>
40
41
42                 <institution id="gapines" implementation="OpenILS::SIP">
43
44                         <!-- This defines what actions we want to allow 
45                                 remote clients (self-check machines) to perform -->
46                         <policy 
47                                 checkin="true" 
48                                 checkout="true" 
49                                 renewal="true" 
50                                 status_update="false" 
51                                 offline="false" 
52                                 timeout="600" 
53                                 retries="3"/>
54         
55                         <!-- implementation specific config options go here -->
56                         <implementation_config>
57                                 <bootstrap>/openils/conf/opensrf_core.xml</bootstrap>
58                                 <currency>USD</currency>
59
60                                 <!-- These defines what this SIP code has the ability to support -->
61                                 <supports>
62                                         <item name='magnetic media' value='true'/>
63                                         <item name='security inhibit' value='false'/>
64                                         <item name='offline operation' value='false'/>
65                                         <item name='patron status request' value='true'/>
66                                         <item name='checkout' value='true'/>
67                                         <item name='checkin' value='true'/>
68                                         <item name='block patron' value='true'/>
69                                         <item name='acs status' value='true'/>
70                                         <item name='login' value='true'/>
71                                         <item name='patron information' value='true'/>
72                                         <item name='end patron session' value='true'/>
73                                         <item name='fee paid' value='false'/>
74                                         <item name='item information' value='true'/>
75                                         <item name='item status update' value='false'/>
76                                         <item name='patron enable' value='false'/>
77                                         <item name='hold' value='false'/>
78                                         <item name='renew' value='true'/>
79                                         <item name='renew all' value='false'/>
80                                 </supports>
81                                 <options>
82                                         <!-- msg64, the patron information request can be
83                                           made to return item barcodes by setting
84                                           the option 'msg64_summary_datatype' to 'barcode'
85                                           as below. Any other value, or no value at all
86                                           will cause OpenILS::SIP to return the title
87                                           in response to a message 64 request, which was the
88                                           default behaviour in previous versions of Evergreen.
89                                         -->
90                                         <option name='msg64_summary_datatype' value='barcode' />
91                                 </option>
92                                 <scripts>
93                                         <path>/openils/var/</path>
94                     <path>/openils/var/catalog/</path>
95                                         <item_config>circ/circ_item_config.js</item_config>
96                                 </scripts>
97
98                         </implementation_config>
99         
100                 </institution>
101         
102         </institutions>
103 </acsconfig>