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>
59 <passwd>password</passwd>
63 Name of the router used on our private domain.
64 This should match one of the <name> of the private router above.
66 <router_name>router</router_name>
68 <logfile>LOCALSTATEDIR/log/osrfsys.log</logfile>
70 <logfile>syslog</logfile>
71 <syslog>local0</syslog>
72 <actlog>local1</actlog>
74 <loglevel>3</loglevel>
75 <settings_config>SYSCONFDIR/opensrf.xml</settings_config>
78 The section between <gateway>...</gateway> is a standard OpenSRF C
79 stack configuration file
83 <router_name>router</router_name>
85 <!-- The gateway connects to the public domain for security -->
86 <domain>public.localhost</domain>
88 <!-- This section will be soon deprecated for multi-domain mode... -->
90 <service>opensrf.math</service>
91 <service>opensrf.dbmath</service>
92 <service>open-ils.cat</service>
93 <service>open-ils.search</service>
94 <service>open-ils.circ</service>
95 <service>open-ils.actor</service>
96 <service>open-ils.auth</service>
97 <service>open-ils.auth_proxy</service>
98 <service>open-ils.collections</service>
99 <service>open-ils.reporter</service>
102 <!-- jabber login info -->
103 <username>opensrf</username>
104 <passwd>password</passwd>
106 <loglevel>3</loglevel>
107 <logfile>LOCALSTATEDIR/log/gateway.log</logfile>
109 <logfile>syslog</logfile>
110 <syslog>local6</syslog>
111 <actlog>local1</actlog>
114 <!-- ======================================================================================== -->
117 <!-- public router -->
120 Allow private services to register with this router
121 and public client to send requests to this router.
123 <server>private.localhost</server>
126 Also allow private clients to send to the router so it
127 can receive error messages
129 <client>private.localhost</client>
130 <client>public.localhost</client>
134 <server>public.localhost</server>
136 <unixpath>LOCALSTATEDIR/sock/unix_sock</unixpath>
137 <username>router</username>
138 <password>password</password>
139 <resource>router</resource>
140 <connect_timeout>10</connect_timeout>
141 <max_reconnect_attempts>5</max_reconnect_attempts>
143 <logfile>LOCALSTATEDIR/log/router-public.log</logfile>
145 <logfile>syslog</logfile>
146 <syslog>local2</syslog>
148 <loglevel>2</loglevel>
151 <!-- private router -->
153 <server>private.localhost</server>
155 Only clients on the private domain can send requests to this router
157 <client>private.localhost</client>
160 <server>private.localhost</server>
162 <username>router</username>
163 <password>password</password>
164 <resource>router</resource>
165 <connect_timeout>10</connect_timeout>
166 <max_reconnect_attempts>5</max_reconnect_attempts>
168 <logfile>LOCALSTATEDIR/log/router-private.log</logfile>
170 <logfile>syslog</logfile>
171 <syslog>local2</syslog>
173 <loglevel>2</loglevel>
176 <!-- ======================================================================================== -->
178 <!-- Any methods which match any of these match_string node values will
179 have their params redacted from lower-level input logging.
180 Adjust these examples as needed. -->
183 <match_string>open-ils.auth.authenticate.verify</match_string>
184 <match_string>open-ils.auth.authenticate.complete</match_string>
185 <match_string>open-ils.auth.login</match_string>
186 <match_string>open-ils.auth_proxy.login</match_string>
187 <match_string>open-ils.actor.patron.password_reset.commit</match_string>
188 <match_string>open-ils.actor.user.password</match_string>
189 <match_string>open-ils.actor.user.username</match_string>
190 <match_string>open-ils.actor.user.email</match_string>
191 <match_string>open-ils.actor.patron.update</match_string>
192 <match_string>open-ils.cstore.direct.actor.user.create</match_string>
193 <match_string>open-ils.cstore.direct.actor.user.update</match_string>
194 <match_string>open-ils.cstore.direct.actor.user.delete</match_string>
195 <match_string>open-ils.search.z3950.apply_credentials</match_string>
196 <match_string>open-ils.geo</match_string>
197 <match_string>open-ils.actor.geo</match_string>