4 <!-- bootstrap config for OpenSRF apps -->
7 <!-- The OpenSRF Routers's name on the network -->
8 <!-- You should never need to change thischange this -->
9 <router_name>router</router_name>
13 <!-- List of router domains we should register with.
14 We must at least have our default jabber domain in here -->
15 <router>localhost</router>
19 <!-- Our jabber domain, currently only one domain is supported -->
20 <domain>localhost</domain>
22 <username>client</username>
23 <passwd>mypass</passwd>
26 <!-- log to a local file -->
27 <logfile>/openils/var/log/osrfsys.log</logfile>
29 <!-- Log to syslog. You can use this same layout for
30 defining the logging of all services in this file -->
32 <logfile>syslog</logfile>
33 <syslog>local2</syslog>
34 <actlog>local1</actlog>
37 <!-- 0 None, 1 Error, 2 Warning, 3 Info, 4 debug, 5 Internal (Nasty) -->
38 <loglevel>3</loglevel>
40 <!-- config file for the services -->
41 <settings_config>/openils/conf/opensrf.xml</settings_config>
45 <!-- Update this if you use ChopChop -->
48 <!-- Our jabber server -->
49 <domain>localhost</domain>
52 <!-- used when multiple servers need to communicate -->
53 <s2sport>5269</s2sport>
54 <secret>secret</secret>
55 <listen_address>10.0.0.3</listen_address>
56 <loglevel>3</loglevel>
57 <logfile>/openils/var/log/osrfsys.log</logfile>
60 <!-- The section between <gateway>...</gateway> is a standard OpenSRF C stack config file -->
63 <!-- we consider ourselves to be the "originating" client for requests,
64 which means we define the log XID string for log traces -->
67 <!-- the routers's name on the network -->
68 <router_name>router</router_name>
70 <!-- jabber domains to connect to (domain1, domain2, ...) -->
72 <domain>localhost</domain>
75 <!-- These are the services that the gateway will serve.
76 Any other requests will receive an HTTP_NOT_FOUND (404)
77 DO NOT put any services here that you don't want the internet to have access to
80 <service>opensrf.math</service>
83 <!-- jabber login info -->
84 <username>mylogin</username>
85 <passwd>mypassword</passwd>
87 <logfile>/openils/var/log/gateway.log</logfile>
88 <loglevel>3</loglevel>
92 <!-- ======================================================================================== -->
99 <!-- servers on trunsted domains are allowed to register apps with the router -->
100 <server>localhost</server>
102 <!-- clients on trusted domains are allowed to send requests to this router -->
103 <client>localhost</client>
109 <!-- jabber server are we connecting to -->
110 <server>localhost</server>
113 <!-- if this is changed, all "router_name" settings
114 will need to be updated to match this setting -->
115 <username>router</username>
116 <password>mypassword</password>
118 <!-- router's jabber resource -->
119 <!-- do not change this -->
120 <resource>router</resource>
121 <connect_timeout>10</connect_timeout>
122 <max_reconnect_attempts>5</max_reconnect_attempts>
125 <logfile>/openils/var/log/router.log</logfile>
126 <loglevel>3</loglevel>
131 <!-- ======================================================================================== -->