3 Example OpenSRF bootstrap configuration file for Evergreen
6 <!-- Options for <loglevel>: 0 None, 1 Error, 2 Warning, 3 Info, 4 debug -->
10 <!-- define the list of routers our services will register with -->
13 This is the public router. On this router, we only register
14 applications which should be accessible to everyone on the OpenSRF
18 <domain>public.localhost</domain>
21 <service>opensrf.math</service>
22 <service>open-ils.actor</service>
23 <service>open-ils.acq</service>
24 <service>open-ils.auth</service>
25 <service>open-ils.auth_proxy</service>
26 <service>open-ils.booking</service>
27 <service>open-ils.cat</service>
28 <service>open-ils.circ</service>
29 <service>open-ils.collections</service>
30 <service>open-ils.courses</service>
31 <service>open-ils.curbside</service>
32 <service>open-ils.fielder</service>
33 <service>open-ils.pcrud</service>
34 <service>open-ils.permacrud</service>
35 <service>open-ils.reporter</service>
36 <service>open-ils.resolver</service>
37 <service>open-ils.search</service>
38 <service>open-ils.supercat</service>
39 <service>open-ils.url_verify</service>
40 <service>open-ils.vandelay</service>
41 <service>open-ils.serial</service>
42 <service>open-ils.ebook_api</service>
48 This is the private router. All applications must register with
49 this router, so no explicit <services> section is required
52 <domain>private.localhost</domain>
56 <!-- Our domain should match that of the private router -->
57 <domain>private.localhost</domain>
58 <username>opensrf</username>
61 <passwd>password</passwd>
67 <passwd>OPENSRF_BUS_PASSWORD</passwd>
73 Name of the router used on our private domain.
74 This should match one of the <name> of the private router above.
76 <router_name>router</router_name>
78 <logfile>LOCALSTATEDIR/log/osrfsys.log</logfile>
80 <logfile>syslog</logfile>
81 <syslog>local0</syslog>
82 <actlog>local1</actlog>
84 <loglevel>3</loglevel>
85 <settings_config>SYSCONFDIR/opensrf.xml</settings_config>
88 The section between <gateway>...</gateway> is a standard OpenSRF C
89 stack configuration file
93 <router_name>router</router_name>
95 <!-- The gateway connects to the public domain for security -->
96 <domain>public.localhost</domain>
98 <!-- This section will be soon deprecated for multi-domain mode... -->
100 <service>opensrf.math</service>
101 <service>opensrf.dbmath</service>
102 <service>open-ils.cat</service>
103 <service>open-ils.search</service>
104 <service>open-ils.circ</service>
105 <service>open-ils.actor</service>
106 <service>open-ils.auth</service>
107 <service>open-ils.auth_proxy</service>
108 <service>open-ils.collections</service>
109 <service>open-ils.reporter</service>
113 <username>opensrf</username>
114 <passwd>password</passwd>
120 <username>gateway</username>
121 <passwd>GATEWAY_BUS_PASSWORD</passwd>
125 <loglevel>3</loglevel>
126 <logfile>LOCALSTATEDIR/log/gateway.log</logfile>
128 <logfile>syslog</logfile>
129 <syslog>local6</syslog>
130 <actlog>local1</actlog>
133 <!-- ======================================================================================== -->
136 <!-- public router -->
139 Allow private services to register with this router
140 and public client to send requests to this router.
142 <server>private.localhost</server>
145 Also allow private clients to send to the router so it
146 can receive error messages
148 <client>private.localhost</client>
149 <client>public.localhost</client>
153 <server>public.localhost</server>
157 <password>password</password>
162 <password>ROUTER_BUS_PASSWORD</password>
165 <unixpath>LOCALSTATEDIR/sock/unix_sock</unixpath>
166 <username>router</username>
167 <resource>router</resource>
168 <connect_timeout>10</connect_timeout>
169 <max_reconnect_attempts>5</max_reconnect_attempts>
171 <logfile>LOCALSTATEDIR/log/router-public.log</logfile>
173 <logfile>syslog</logfile>
174 <syslog>local2</syslog>
176 <loglevel>2</loglevel>
179 <!-- private router -->
181 <server>private.localhost</server>
183 Only clients on the private domain can send requests to this router
185 <client>private.localhost</client>
188 <server>private.localhost</server>
192 <password>password</password>
197 <password>ROUTER_BUS_PASSWORD</password>
200 <username>router</username>
201 <resource>router</resource>
202 <connect_timeout>10</connect_timeout>
203 <max_reconnect_attempts>5</max_reconnect_attempts>
205 <logfile>LOCALSTATEDIR/log/router-private.log</logfile>
207 <logfile>syslog</logfile>
208 <syslog>local2</syslog>
210 <loglevel>2</loglevel>
213 <!-- ======================================================================================== -->
215 <!-- Any methods which match any of these match_string node values will
216 have their params redacted from lower-level input logging.
217 Adjust these examples as needed. -->
220 <match_string>open-ils.auth.authenticate.verify</match_string>
221 <match_string>open-ils.auth.authenticate.complete</match_string>
222 <match_string>open-ils.auth.login</match_string>
223 <match_string>open-ils.auth_proxy.login</match_string>
224 <match_string>open-ils.actor.patron.password_reset.commit</match_string>
225 <match_string>open-ils.actor.user.password</match_string>
226 <match_string>open-ils.actor.user.username</match_string>
227 <match_string>open-ils.actor.user.email</match_string>
228 <match_string>open-ils.actor.patron.update</match_string>
229 <match_string>open-ils.cstore.direct.actor.user.create</match_string>
230 <match_string>open-ils.cstore.direct.actor.user.update</match_string>
231 <match_string>open-ils.cstore.direct.actor.user.delete</match_string>
232 <match_string>open-ils.search.z3950.apply_credentials</match_string>
233 <match_string>open-ils.geo</match_string>
234 <match_string>open-ils.actor.geo</match_string>