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.geo</service>
34 <service>open-ils.pcrud</service>
35 <service>open-ils.permacrud</service>
36 <service>open-ils.reporter</service>
37 <service>open-ils.resolver</service>
38 <service>open-ils.search</service>
39 <service>open-ils.supercat</service>
40 <service>open-ils.url_verify</service>
41 <service>open-ils.vandelay</service>
42 <service>open-ils.serial</service>
43 <service>open-ils.ebook_api</service>
49 This is the private router. All applications must register with
50 this router, so no explicit <services> section is required
53 <domain>private.localhost</domain>
57 <!-- Our domain should match that of the private router -->
58 <domain>private.localhost</domain>
59 <username>opensrf</username>
60 <passwd>password</passwd>
64 Name of the router used on our private domain.
65 This should match one of the <name> of the private router above.
67 <router_name>router</router_name>
69 <logfile>LOCALSTATEDIR/log/osrfsys.log</logfile>
71 <logfile>syslog</logfile>
72 <syslog>local0</syslog>
73 <actlog>local1</actlog>
75 <loglevel>3</loglevel>
76 <settings_config>SYSCONFDIR/opensrf.xml</settings_config>
79 The section between <gateway>...</gateway> is a standard OpenSRF C
80 stack configuration file
84 <router_name>router</router_name>
86 <!-- The gateway connects to the public domain for security -->
87 <domain>public.localhost</domain>
89 <!-- This section will be soon deprecated for multi-domain mode... -->
91 <service>opensrf.math</service>
92 <service>opensrf.dbmath</service>
93 <service>open-ils.cat</service>
94 <service>open-ils.search</service>
95 <service>open-ils.circ</service>
96 <service>open-ils.actor</service>
97 <service>open-ils.auth</service>
98 <service>open-ils.auth_proxy</service>
99 <service>open-ils.collections</service>
100 <service>open-ils.reporter</service>
103 <!-- jabber login info -->
104 <username>opensrf</username>
105 <passwd>password</passwd>
107 <loglevel>3</loglevel>
108 <logfile>LOCALSTATEDIR/log/gateway.log</logfile>
110 <logfile>syslog</logfile>
111 <syslog>local6</syslog>
112 <actlog>local1</actlog>
115 <!-- ======================================================================================== -->
118 <!-- public router -->
121 Allow private services to register with this router
122 and public client to send requests to this router.
124 <server>private.localhost</server>
127 Also allow private clients to send to the router so it
128 can receive error messages
130 <client>private.localhost</client>
131 <client>public.localhost</client>
135 <server>public.localhost</server>
137 <unixpath>LOCALSTATEDIR/sock/unix_sock</unixpath>
138 <username>router</username>
139 <password>password</password>
140 <resource>router</resource>
141 <connect_timeout>10</connect_timeout>
142 <max_reconnect_attempts>5</max_reconnect_attempts>
144 <logfile>LOCALSTATEDIR/log/router-public.log</logfile>
146 <logfile>syslog</logfile>
147 <syslog>local2</syslog>
149 <loglevel>2</loglevel>
152 <!-- private router -->
154 <server>private.localhost</server>
156 Only clients on the private domain can send requests to this router
158 <client>private.localhost</client>
161 <server>private.localhost</server>
163 <username>router</username>
164 <password>password</password>
165 <resource>router</resource>
166 <connect_timeout>10</connect_timeout>
167 <max_reconnect_attempts>5</max_reconnect_attempts>
169 <logfile>LOCALSTATEDIR/log/router-private.log</logfile>
171 <logfile>syslog</logfile>
172 <syslog>local2</syslog>
174 <loglevel>2</loglevel>
177 <!-- ======================================================================================== -->
179 <!-- Any methods which match any of these match_string node values will
180 have their params redacted from lower-level input logging.
181 Adjust these examples as needed. -->
184 <match_string>open-ils.auth.authenticate.verify</match_string>
185 <match_string>open-ils.auth.authenticate.complete</match_string>
186 <match_string>open-ils.auth.login</match_string>
187 <match_string>open-ils.auth_proxy.login</match_string>
188 <match_string>open-ils.actor.patron.password_reset.commit</match_string>
189 <match_string>open-ils.actor.user.password</match_string>
190 <match_string>open-ils.actor.user.username</match_string>
191 <match_string>open-ils.actor.user.email</match_string>
192 <match_string>open-ils.actor.patron.update</match_string>
193 <match_string>open-ils.cstore.direct.actor.user.create</match_string>
194 <match_string>open-ils.cstore.direct.actor.user.update</match_string>
195 <match_string>open-ils.cstore.direct.actor.user.delete</match_string>
196 <match_string>open-ils.search.z3950.apply_credentials</match_string>