7 <!-- bootstrap config for OpenSRF apps -->
12 <!-- define the list of routers our services will register with -->
16 <!-- This is the public router. On this router, we only register applications
17 which should be accessible to everyone on the opensrf network -->
19 <domain>public.localhost</domain>
21 <service>opensrf.math</service>
26 <!-- This is the private router. All applications must register with
27 this router, so no explicit <services> section is required -->
29 <domain>private.localhost</domain>
34 <!-- Jabber login settings
35 Our domain should match that of the private router -->
36 <domain>private.localhost</domain>
37 <username>opensrf</username>
38 <passwd>password</passwd>
40 <!-- name of the router used on our private domain.
41 this should match one of the <name> of the private router above -->
42 <router_name>router</router_name>
44 <!-- log file settings ====================================== -->
45 <!-- log to a local file -->
46 <logfile>LOCALSTATEDIR/log/osrfsys.log</logfile>
48 <!-- Log to syslog. You can use this same layout for
49 defining the logging of all services in this file -->
51 <logfile>syslog</logfile>
52 <syslog>local2</syslog>
53 <actlog>local1</actlog>
56 <!-- 0 None, 1 Error, 2 Warning, 3 Info, 4 debug, 5 Internal (Nasty) -->
57 <loglevel>3</loglevel>
59 <!-- config file for the services -->
60 <settings_config>SYSCONFDIR/opensrf.xml</settings_config>
64 <!-- Update this if you use ChopChop -->
66 <!-- Our jabber server -->
67 <domain>private.localhost</domain>
69 <!-- used when multiple servers need to communicate -->
70 <s2sport>5269</s2sport>
71 <secret>secret</secret>
72 <listen_address>10.0.0.3</listen_address>
73 <loglevel>3</loglevel>
74 <logfile>LOCALSTATEDIR/log/osrfsys.log</logfile>
77 <!-- The section between <gateway>...</gateway> is a standard OpenSRF C stack config file -->
81 we consider ourselves to be the "originating" client for requests,
82 which means we define the log XID string for log traces
86 <!-- the routers's name on the network -->
87 <router_name>router</router_name>
89 <!-- jabber login info -->
90 <!-- The gateway connects to the public domain -->
91 <domain>public.localhost</domain>
92 <username>opensrf</username>
93 <passwd>password</passwd>
95 <logfile>LOCALSTATEDIR/log/gateway.log</logfile>
96 <loglevel>3</loglevel>
100 <!-- ======================================================================================== -->
103 <router> <!-- public router -->
105 <!-- allow private services to register with this router
106 and public clients to send requests to this router. -->
107 <server>private.localhost</server>
108 <!-- also allow private clients to send to the router so it can receive error messages -->
109 <client>private.localhost</client>
110 <client>public.localhost</client>
113 <server>public.localhost</server>
115 <unixpath>LOCALSTATEDIR/sock/unix_sock</unixpath>
116 <username>router</username>
117 <password>password</password>
118 <resource>router</resource>
119 <connect_timeout>10</connect_timeout>
120 <max_reconnect_attempts>5</max_reconnect_attempts>
122 <logfile>LOCALSTATEDIR/log/router.log</logfile>
124 <logfile>syslog</logfile>
125 <syslog>local2</syslog>
127 <loglevel>2</loglevel>
129 <router> <!-- private router -->
131 <server>private.localhost</server>
132 <!-- only clients on the private domain can send requests to this router -->
133 <client>private.localhost</client>
136 <server>private.localhost</server>
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.log</logfile>
146 <logfile>syslog</logfile>
147 <syslog>local2</syslog>
149 <loglevel>4</loglevel>
153 <!-- ======================================================================================== -->