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.fielder</service>
32 <service>open-ils.pcrud</service>
33 <service>open-ils.permacrud</service>
34 <service>open-ils.reporter</service>
35 <service>open-ils.resolver</service>
36 <service>open-ils.search</service>
37 <service>open-ils.supercat</service>
38 <service>open-ils.url_verify</service>
39 <service>open-ils.vandelay</service>
40 <service>open-ils.serial</service>
41 <service>open-ils.ebook_api</service>
47 This is the private router. All applications must register with
48 this router, so no explicit <services> section is required
51 <domain>private.localhost</domain>
55 <!-- Our domain should match that of the private router -->
56 <domain>private.localhost</domain>
57 <username>opensrf</username>
58 <passwd>password</passwd>
62 Name of the router used on our private domain.
63 This should match one of the <name> of the private router above.
65 <router_name>router</router_name>
67 <logfile>LOCALSTATEDIR/log/osrfsys.log</logfile>
69 <logfile>syslog</logfile>
70 <syslog>local0</syslog>
71 <actlog>local1</actlog>
73 <loglevel>3</loglevel>
74 <settings_config>SYSCONFDIR/opensrf.xml</settings_config>
77 The section between <gateway>...</gateway> is a standard OpenSRF C
78 stack configuration file
82 <router_name>router</router_name>
84 <!-- The gateway connects to the public domain for security -->
85 <domain>public.localhost</domain>
87 <!-- This section will be soon deprecated for multi-domain mode... -->
89 <service>opensrf.math</service>
90 <service>opensrf.dbmath</service>
91 <service>open-ils.cat</service>
92 <service>open-ils.search</service>
93 <service>open-ils.circ</service>
94 <service>open-ils.actor</service>
95 <service>open-ils.auth</service>
96 <service>open-ils.auth_proxy</service>
97 <service>open-ils.collections</service>
98 <service>open-ils.reporter</service>
101 <!-- jabber login info -->
102 <username>opensrf</username>
103 <passwd>password</passwd>
105 <loglevel>3</loglevel>
106 <logfile>LOCALSTATEDIR/log/gateway.log</logfile>
108 <logfile>syslog</logfile>
109 <syslog>local6</syslog>
110 <actlog>local1</actlog>
113 <!-- ======================================================================================== -->
116 <!-- public router -->
119 Allow private services to register with this router
120 and public client to send requests to this router.
122 <server>private.localhost</server>
125 Also allow private clients to send to the router so it
126 can receive error messages
128 <client>private.localhost</client>
129 <client>public.localhost</client>
133 <server>public.localhost</server>
135 <unixpath>LOCALSTATEDIR/sock/unix_sock</unixpath>
136 <username>router</username>
137 <password>password</password>
138 <resource>router</resource>
139 <connect_timeout>10</connect_timeout>
140 <max_reconnect_attempts>5</max_reconnect_attempts>
142 <logfile>LOCALSTATEDIR/log/router-public.log</logfile>
144 <logfile>syslog</logfile>
145 <syslog>local2</syslog>
147 <loglevel>2</loglevel>
150 <!-- private router -->
152 <server>private.localhost</server>
154 Only clients on the private domain can send requests to this router
156 <client>private.localhost</client>
159 <server>private.localhost</server>
161 <username>router</username>
162 <password>password</password>
163 <resource>router</resource>
164 <connect_timeout>10</connect_timeout>
165 <max_reconnect_attempts>5</max_reconnect_attempts>
167 <logfile>LOCALSTATEDIR/log/router-private.log</logfile>
169 <logfile>syslog</logfile>
170 <syslog>local2</syslog>
172 <loglevel>2</loglevel>
175 <!-- ======================================================================================== -->
177 <!-- Any methods which match any of these match_string node values will
178 have their params redacted from lower-level input logging.
179 Adjust these examples as needed. -->
182 <match_string>open-ils.auth.authenticate.verify</match_string>
183 <match_string>open-ils.auth.authenticate.complete</match_string>
184 <match_string>open-ils.auth.login</match_string>
185 <match_string>open-ils.auth_proxy.login</match_string>
186 <match_string>open-ils.actor.patron.password_reset.commit</match_string>
187 <match_string>open-ils.actor.user.password</match_string>
188 <match_string>open-ils.actor.user.username</match_string>
189 <match_string>open-ils.actor.user.email</match_string>
190 <match_string>open-ils.actor.patron.update</match_string>
191 <match_string>open-ils.cstore.direct.actor.user.create</match_string>
192 <match_string>open-ils.cstore.direct.actor.user.update</match_string>
193 <match_string>open-ils.cstore.direct.actor.user.delete</match_string>
194 <match_string>open-ils.search.z3950.apply_credentials</match_string>