[Opensrf-commits] r1256 - trunk/examples

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Mar 5 23:43:02 EST 2008


Author: dbs
Date: 2008-03-05 23:10:35 -0500 (Wed, 05 Mar 2008)
New Revision: 1256

Modified:
   trunk/examples/opensrf.xml.example
   trunk/examples/opensrf_core.xml.example
Log:
Remove <domains> element - breaks gateway.
Clean up whitespace, add modelines, and fix typo.
Bump version of opensrf.xml to 0.0.3


Modified: trunk/examples/opensrf.xml.example
===================================================================
--- trunk/examples/opensrf.xml.example	2008-03-06 03:02:59 UTC (rev 1255)
+++ trunk/examples/opensrf.xml.example	2008-03-06 04:10:35 UTC (rev 1256)
@@ -1,6 +1,9 @@
 <?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
 	'default' host are used for every setting that isn't overridden within a given 
@@ -51,26 +54,34 @@
       </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 -->

Modified: trunk/examples/opensrf_core.xml.example
===================================================================
--- trunk/examples/opensrf_core.xml.example	2008-03-06 03:02:59 UTC (rev 1255)
+++ trunk/examples/opensrf_core.xml.example	2008-03-06 04:10:35 UTC (rev 1256)
@@ -1,4 +1,7 @@
 <?xml version="1.0"?>
+<!-- 
+vim:et:ts=2:sw=2:
+-->
 <config>
 
   <!-- bootstrap config for OpenSRF apps -->
@@ -60,22 +63,23 @@
   <!-- 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>
@@ -96,7 +100,7 @@
 
       <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 -->
@@ -110,8 +114,10 @@
         <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>
   
@@ -131,4 +137,3 @@
   <!-- ======================================================================================== -->
 
 </config>
-



More information about the opensrf-commits mailing list