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.cat</service>
26 <service>open-ils.circ</service>
27 <service>open-ils.collections</service>
28 <service>open-ils.fielder</service>
29 <service>open-ils.permacrud</service>
30 <service>open-ils.reporter</service>
31 <service>open-ils.search</service>
32 <service>open-ils.supercat</service>
33 <service>open-ils.vandelay</service>
39 This is the private router. All applications must register with
40 this router, so no explicit <services> section is required
43 <domain>private.localhost</domain>
47 <!-- Our domain should match that of the private router -->
48 <domain>private.localhost</domain>
49 <username>osrf</username>
54 Name of the router used on our private domain.
55 This should match one of the <name> of the private router above.
57 <router_name>router</router_name>
59 <logfile>LOCALSTATEDIR/log/osrfsys.log</logfile>
61 <logfile>syslog</logfile>
62 <syslog>local0</syslog>
63 <actlog>local1</actlog>
65 <loglevel>3</loglevel>
66 <settings_config>SYSCONFDIR/opensrf.xml</settings_config>
69 The section between <gateway>...</gateway> is a standard OpenSRF C
70 stack configuration file
74 <router_name>router</router_name>
76 <!-- The gateway connects to the public domain for security -->
77 <domain>public.localhost</domain>
79 <!-- This section will be soon deprecated for multi-domain mode... -->
81 <service>opensrf.math</service>
82 <service>opensrf.dbmath</service>
83 <service>open-ils.cat</service>
84 <service>open-ils.search</service>
85 <service>open-ils.circ</service>
86 <service>open-ils.actor</service>
87 <service>open-ils.auth</service>
88 <service>open-ils.collections</service>
89 <service>open-ils.reporter</service>
92 <!-- jabber login info -->
93 <username>osrf</username>
96 <loglevel>3</loglevel>
97 <logfile>LOCALSTATEDIR/log/gateway.log</logfile>
99 <logfile>syslog</logfile>
100 <syslog>local6</syslog>
101 <actlog>local1</actlog>
104 <!-- ======================================================================================== -->
107 <!-- public router -->
110 Allow private services to register with this router
111 and public client to send requests to this router.
113 <server>private.localhost</server>
116 Also allow private clients to send to the router so it
117 can receive error messages
119 <client>private.localhost</client>
120 <client>public.localhost</client>
124 <server>public.localhost</server>
126 <unixpath>LOCALSTATEDIR/sock/unix_sock</unixpath>
127 <username>router</username>
128 <password>osrf</password>
129 <resource>router</resource>
130 <connect_timeout>10</connect_timeout>
131 <max_reconnect_attempts>5</max_reconnect_attempts>
133 <logfile>LOCALSTATEDIR/log/router-public.log</logfile>
135 <logfile>syslog</logfile>
136 <syslog>local2</syslog>
138 <loglevel>3</loglevel>
141 <!-- private router -->
143 <server>private.localhost</server>
145 Only clients on the private domain can send requests to this router
147 <client>private.localhost</client>
150 <server>private.localhost</server>
152 <username>router</username>
153 <password>osrf</password>
154 <resource>router</resource>
155 <connect_timeout>10</connect_timeout>
156 <max_reconnect_attempts>5</max_reconnect_attempts>
158 <logfile>LOCALSTATEDIR/log/router-private.log</logfile>
160 <logfile>syslog</logfile>
161 <syslog>local2</syslog>
163 <loglevel>3</loglevel>
166 <!-- ======================================================================================== -->