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.fielder</service>
31 <service>open-ils.pcrud</service>
32 <service>open-ils.permacrud</service>
33 <service>open-ils.reporter</service>
34 <service>open-ils.resolver</service>
35 <service>open-ils.search</service>
36 <service>open-ils.supercat</service>
37 <service>open-ils.url_verify</service>
38 <service>open-ils.vandelay</service>
39 <service>open-ils.serial</service>
45 This is the private router. All applications must register with
46 this router, so no explicit <services> section is required
49 <domain>private.localhost</domain>
53 <!-- Our domain should match that of the private router -->
54 <domain>private.localhost</domain>
55 <username>opensrf</username>
56 <passwd>password</passwd>
60 Name of the router used on our private domain.
61 This should match one of the <name> of the private router above.
63 <router_name>router</router_name>
65 <logfile>LOCALSTATEDIR/log/osrfsys.log</logfile>
67 <logfile>syslog</logfile>
68 <syslog>local0</syslog>
69 <actlog>local1</actlog>
71 <loglevel>3</loglevel>
72 <settings_config>SYSCONFDIR/opensrf.xml</settings_config>
75 The section between <gateway>...</gateway> is a standard OpenSRF C
76 stack configuration file
80 <router_name>router</router_name>
82 <!-- The gateway connects to the public domain for security -->
83 <domain>public.localhost</domain>
85 <!-- This section will be soon deprecated for multi-domain mode... -->
87 <service>opensrf.math</service>
88 <service>opensrf.dbmath</service>
89 <service>open-ils.cat</service>
90 <service>open-ils.search</service>
91 <service>open-ils.circ</service>
92 <service>open-ils.actor</service>
93 <service>open-ils.auth</service>
94 <service>open-ils.auth_proxy</service>
95 <service>open-ils.collections</service>
96 <service>open-ils.reporter</service>
99 <!-- jabber login info -->
100 <username>opensrf</username>
101 <passwd>password</passwd>
103 <loglevel>3</loglevel>
104 <logfile>LOCALSTATEDIR/log/gateway.log</logfile>
106 <logfile>syslog</logfile>
107 <syslog>local6</syslog>
108 <actlog>local1</actlog>
111 <!-- ======================================================================================== -->
114 <!-- public router -->
117 Allow private services to register with this router
118 and public client to send requests to this router.
120 <server>private.localhost</server>
123 Also allow private clients to send to the router so it
124 can receive error messages
126 <client>private.localhost</client>
127 <client>public.localhost</client>
131 <server>public.localhost</server>
133 <unixpath>LOCALSTATEDIR/sock/unix_sock</unixpath>
134 <username>router</username>
135 <password>password</password>
136 <resource>router</resource>
137 <connect_timeout>10</connect_timeout>
138 <max_reconnect_attempts>5</max_reconnect_attempts>
140 <logfile>LOCALSTATEDIR/log/router-public.log</logfile>
142 <logfile>syslog</logfile>
143 <syslog>local2</syslog>
145 <loglevel>2</loglevel>
148 <!-- private router -->
150 <server>private.localhost</server>
152 Only clients on the private domain can send requests to this router
154 <client>private.localhost</client>
157 <server>private.localhost</server>
159 <username>router</username>
160 <password>password</password>
161 <resource>router</resource>
162 <connect_timeout>10</connect_timeout>
163 <max_reconnect_attempts>5</max_reconnect_attempts>
165 <logfile>LOCALSTATEDIR/log/router-private.log</logfile>
167 <logfile>syslog</logfile>
168 <syslog>local2</syslog>
170 <loglevel>2</loglevel>
173 <!-- ======================================================================================== -->
175 <!-- Any methods which match any of these match_string node values will
176 have their params redacted from lower-level input logging.
177 Adjust these examples as needed. -->
180 <match_string>open-ils.auth.authenticate.verify</match_string>
181 <match_string>open-ils.auth.authenticate.complete</match_string>
182 <match_string>open-ils.auth_proxy.login</match_string>
183 <match_string>open-ils.actor.patron.password_reset.commit</match_string>
184 <match_string>open-ils.actor.user.password</match_string>
185 <match_string>open-ils.actor.user.username</match_string>
186 <match_string>open-ils.actor.user.email</match_string>
187 <match_string>open-ils.actor.patron.update</match_string>
188 <match_string>open-ils.cstore.direct.actor.user.create</match_string>
189 <match_string>open-ils.cstore.direct.actor.user.update</match_string>
190 <match_string>open-ils.cstore.direct.actor.user.delete</match_string>
191 <match_string>open-ils.search.z3950.apply_credentials</match_string>