<?xml version="1.0"?>
-<opensrf version="0.0.1">
+<!--
+vim:et:ts=2:sw=2:
+-->
+<opensrf version="0.0.3">
<!--
There is one <host> entry for each server on the network. Settings for the
</global>
</cache>
-<!-- These are the defaults for every served app. Each server should
- duplicate the node layout for any nodes that need changing.
- Any settings that are overridden in the server specific section
- will be used as the config values for that server. Any settings that are
- not overridden will fall back on the defaults
- Note that overriding 'stateless' will break things -->
+ <!--
+ These are the defaults for every served app. Each server should
+ duplicate the node layout for any nodes that need changing.
+ Any settings that are overridden in the server specific section
+ will be used as the config values for that server. Any settings that are
+ not overridden will fall back on the defaults
+ Note that overriding 'stateless' will break things
+ -->
<apps>
<opensrf.persist>
- <!-- How many seconds to wait between server
- requests before timing out a stateful server session. -->
+ <!--
+ How many seconds to wait between server
+ requests before timing out a stateful server session.
+ -->
<keepalive>1</keepalive>
- <!-- if 1, then we support stateless sessions (no connect required),
- if 0 then we don't -->
+ <!--
+ if 1, then we support stateless sessions (no connect required),
+ if 0 then we don't
+ -->
<stateless>1</stateless>
- <!-- Tells the servers which language this implementation is coded in
- In this case non "perl" servers will not be able to load the module -->
+ <!--
+ Tells the servers which language this implementation is coded in
+ In this case non "perl" servers will not be able to load the module
+ -->
<language>perl</language>
<!-- Module the implements this application -->
<?xml version="1.0"?>
+<!--
+vim:et:ts=2:sw=2:
+-->
<config>
<!-- bootstrap config for OpenSRF apps -->
<!-- The section between <gateway>...</gateway> is a standard OpenSRF C stack config file -->
<gateway>
- <!-- we consider ourselves to be the "originating" client for requests,
- which means we define the log XID string for log traces -->
+ <!--
+ we consider ourselves to be the "originating" client for requests,
+ which means we define the log XID string for log traces
+ -->
<client>true</client>
<!-- the routers's name on the network -->
<router_name>router</router_name>
<!-- jabber domains to connect to (domain1, domain2, ...) -->
- <domains>
- <domain>localhost</domain>
- </domains>
+ <domain>localhost</domain>
-<!-- These are the services that the gateway will serve.
- Any other requests will receive an HTTP_NOT_FOUND (404)
- DO NOT put any services here that you don't want the internet to have access to
--->
+ <!--
+ These are the services that the gateway will serve.
+ Any other requests will receive an HTTP_NOT_FOUND (404)
+ DO NOT put any services here that you don't want the internet to have access to
+ -->
<services>
<service>opensrf.math</service>
</services>
<trusted_domains>
- <!-- servers on trunsted domains are allowed to register apps with the router -->
+ <!-- servers on trusted domains are allowed to register apps with the router -->
<server>localhost</server>
<!-- clients on trusted domains are allowed to send requests to this router -->
<server>localhost</server>
<port>5222</port>
- <!-- if this is changed, all "router_name" settings
- will need to be updated to match this setting -->
+ <!--
+ if this is changed, all "router_name" settings
+ will need to be updated to match this setting
+ -->
<username>router</username>
<password>mypassword</password>
<!-- ======================================================================================== -->
</config>
-