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>
40 <service>open-ils.ebook_api</service>
46 This is the private router. All applications must register with
47 this router, so no explicit <services> section is required
50 <domain>private.localhost</domain>
54 <!-- Our domain should match that of the private router -->
55 <domain>private.localhost</domain>
56 <username>opensrf</username>
57 <passwd>password</passwd>
61 Name of the router used on our private domain.
62 This should match one of the <name> of the private router above.
64 <router_name>router</router_name>
66 <logfile>LOCALSTATEDIR/log/osrfsys.log</logfile>
68 <logfile>syslog</logfile>
69 <syslog>local0</syslog>
70 <actlog>local1</actlog>
72 <loglevel>3</loglevel>
73 <settings_config>SYSCONFDIR/opensrf.xml</settings_config>
76 The section between <gateway>...</gateway> is a standard OpenSRF C
77 stack configuration file
81 <router_name>router</router_name>
83 <!-- The gateway connects to the public domain for security -->
84 <domain>public.localhost</domain>
86 <!-- This section will be soon deprecated for multi-domain mode... -->
88 <service>opensrf.math</service>
89 <service>opensrf.dbmath</service>
90 <service>open-ils.cat</service>
91 <service>open-ils.search</service>
92 <service>open-ils.circ</service>
93 <service>open-ils.actor</service>
94 <service>open-ils.auth</service>
95 <service>open-ils.auth_proxy</service>
96 <service>open-ils.collections</service>
97 <service>open-ils.reporter</service>
100 <!-- jabber login info -->
101 <username>opensrf</username>
102 <passwd>password</passwd>
104 <loglevel>3</loglevel>
105 <logfile>LOCALSTATEDIR/log/gateway.log</logfile>
107 <logfile>syslog</logfile>
108 <syslog>local6</syslog>
109 <actlog>local1</actlog>
112 <!-- ======================================================================================== -->
115 <!-- public router -->
118 Allow private services to register with this router
119 and public client to send requests to this router.
121 <server>private.localhost</server>
124 Also allow private clients to send to the router so it
125 can receive error messages
127 <client>private.localhost</client>
128 <client>public.localhost</client>
132 <server>public.localhost</server>
134 <unixpath>LOCALSTATEDIR/sock/unix_sock</unixpath>
135 <username>router</username>
136 <password>password</password>
137 <resource>router</resource>
138 <connect_timeout>10</connect_timeout>
139 <max_reconnect_attempts>5</max_reconnect_attempts>
141 <logfile>LOCALSTATEDIR/log/router-public.log</logfile>
143 <logfile>syslog</logfile>
144 <syslog>local2</syslog>
146 <loglevel>2</loglevel>
149 <!-- private router -->
151 <server>private.localhost</server>
153 Only clients on the private domain can send requests to this router
155 <client>private.localhost</client>
158 <server>private.localhost</server>
160 <username>router</username>
161 <password>password</password>
162 <resource>router</resource>
163 <connect_timeout>10</connect_timeout>
164 <max_reconnect_attempts>5</max_reconnect_attempts>
166 <logfile>LOCALSTATEDIR/log/router-private.log</logfile>
168 <logfile>syslog</logfile>
169 <syslog>local2</syslog>
171 <loglevel>2</loglevel>
174 <!-- ======================================================================================== -->
176 <!-- Any methods which match any of these match_string node values will
177 have their params redacted from lower-level input logging.
178 Adjust these examples as needed. -->
181 <match_string>open-ils.auth.authenticate.verify</match_string>
182 <match_string>open-ils.auth.authenticate.complete</match_string>
183 <match_string>open-ils.auth.login</match_string>
184 <match_string>open-ils.auth_proxy.login</match_string>
185 <match_string>open-ils.actor.patron.password_reset.commit</match_string>
186 <match_string>open-ils.actor.user.password</match_string>
187 <match_string>open-ils.actor.user.username</match_string>
188 <match_string>open-ils.actor.user.email</match_string>
189 <match_string>open-ils.actor.patron.update</match_string>
190 <match_string>open-ils.cstore.direct.actor.user.create</match_string>
191 <match_string>open-ils.cstore.direct.actor.user.update</match_string>
192 <match_string>open-ils.cstore.direct.actor.user.delete</match_string>
193 <match_string>open-ils.search.z3950.apply_credentials</match_string>