7 <!-- bootstrap config for OpenSRF apps -->
10 <!-- The OpenSRF Routers's name on the network -->
11 <!-- You should never need to change thischange this -->
12 <router_name>router</router_name>
16 <!-- List of router domains we should register with.
17 We must at least have our default jabber domain in here -->
18 <router>localhost</router>
22 <!-- Our jabber domain, currently only one domain is supported -->
23 <domain>localhost</domain>
25 <username>client</username>
26 <passwd>mypass</passwd>
29 <!-- log to a local file -->
30 <logfile>/openils/var/log/osrfsys.log</logfile>
32 <!-- Log to syslog. You can use this same layout for
33 defining the logging of all services in this file -->
35 <logfile>syslog</logfile>
36 <syslog>local2</syslog>
37 <actlog>local1</actlog>
40 <!-- 0 None, 1 Error, 2 Warning, 3 Info, 4 debug, 5 Internal (Nasty) -->
41 <loglevel>3</loglevel>
43 <!-- config file for the services -->
44 <settings_config>/openils/conf/opensrf.xml</settings_config>
48 <!-- Update this if you use ChopChop -->
51 <!-- Our jabber server -->
52 <domain>localhost</domain>
55 <!-- used when multiple servers need to communicate -->
56 <s2sport>5269</s2sport>
57 <secret>secret</secret>
58 <listen_address>10.0.0.3</listen_address>
59 <loglevel>3</loglevel>
60 <logfile>/openils/var/log/osrfsys.log</logfile>
63 <!-- The section between <gateway>...</gateway> is a standard OpenSRF C stack config file -->
67 we consider ourselves to be the "originating" client for requests,
68 which means we define the log XID string for log traces
72 <!-- the routers's name on the network -->
73 <router_name>router</router_name>
75 <!-- jabber domains to connect to (domain1, domain2, ...) -->
76 <domain>localhost</domain>
79 These are the services that the gateway will serve.
80 Any other requests will receive an HTTP_NOT_FOUND (404)
81 DO NOT put any services here that you don't want the internet to have access to
84 <service>opensrf.math</service>
87 <!-- jabber login info -->
88 <username>mylogin</username>
89 <passwd>mypassword</passwd>
91 <logfile>/openils/var/log/gateway.log</logfile>
92 <loglevel>3</loglevel>
96 <!-- ======================================================================================== -->
103 <!-- servers on trusted domains are allowed to register apps with the router -->
104 <server>localhost</server>
106 <!-- clients on trusted domains are allowed to send requests to this router -->
107 <client>localhost</client>
113 <!-- jabber server are we connecting to -->
114 <server>localhost</server>
118 if this is changed, all "router_name" settings
119 will need to be updated to match this setting
121 <username>router</username>
122 <password>mypassword</password>
124 <!-- router's jabber resource -->
125 <!-- do not change this -->
126 <resource>router</resource>
127 <connect_timeout>10</connect_timeout>
128 <max_reconnect_attempts>5</max_reconnect_attempts>
131 <logfile>/openils/var/log/router.log</logfile>
132 <loglevel>3</loglevel>
137 <!-- ======================================================================================== -->