[open-ils-commits] r8872 - trunk/Open-ILS/examples

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Mar 5 22:10:29 EST 2008


Author: dbs
Date: 2008-03-05 21:38:03 -0500 (Wed, 05 Mar 2008)
New Revision: 8872

Modified:
   trunk/Open-ILS/examples/opensrf.xml.example
   trunk/Open-ILS/examples/opensrf_core.xml.example
Log:
Whitespace consistency in XML files (plus modelines).
Bump opensrf.xml.example version to 0.0.3.


Modified: trunk/Open-ILS/examples/opensrf.xml.example
===================================================================
--- trunk/Open-ILS/examples/opensrf.xml.example	2008-03-05 22:39:08 UTC (rev 8871)
+++ trunk/Open-ILS/examples/opensrf.xml.example	2008-03-06 02:38:03 UTC (rev 8872)
@@ -2,12 +2,13 @@
 
 <!-- 
 Example opensrf config file for OpenILS
+vim:et:ts=4:sw=4:
 -->
 
-<opensrf version='0.0.2'>
+<opensrf version='0.0.3'>
 
     <default>
-	    
+
         <dirs>
             <log>/openils/var/log</log> <!-- unix::server log files -->
             <sock>/openils/var/sock</sock> <!-- unix::server sock files -->
@@ -17,34 +18,36 @@
             <script_lib>/openils/var</script_lib>
         </dirs>
 
-	<!-- global data visibility settings -->
+        <!-- global data visibility settings -->
         <share>
-		<user>
-        		<!-- Set to "true" to require patron opt-in for foreign (non-home_ou) transactions -->
-			<opt_in>false</opt_in>
-		</user>
-	</share>
+            <user>
+                <!-- Set to "true" to require patron opt-in for foreign (non-home_ou) transactions -->
+                <opt_in>false</opt_in>
+            </user>
+        </share>
 
         <IDL>/openils/conf/fm_IDL.xml</IDL> <!-- top level IDL file -->
 
         <server_type>prefork</server_type> <!-- net::server type -->
 
         <ils_events>/openils/var/data/ils_events.xml</ils_events> <!-- ILS events description file -->
-        
+
         <email_notify>
             <!-- global email notification settings -->
             <template>/openils/var/data/hold_notification_template.example</template>
             <smtp_server>localhost</smtp_server>
 
-            <!-- in most cases, this is overridden by location 
-                specific config settings.  this is just the default -->
+            <!--
+            in most cases, this is overridden by location 
+            specific config settings.  this is just the default
+            -->
             <sender_address>evergreen at localhost</sender_address>
         </email_notify>
 
 
         <reporter>
             <!--
-                Settings for the reporter daemon process 
+            Settings for the reporter daemon process 
             -->
             <setup>
                 <base_uri>https://localhost/reporter/</base_uri>
@@ -113,10 +116,10 @@
                     <db>OLUCWorldCat</db>
                     <attrs>
                         <!--
-                            These are directly from the Bib-1 Attribute Set
-                            http://www.loc.gov/z3950/agency/defns/bib1.html
-                            <code> is the "use attribute", <format> is the "structure attribute"
-                            This just puts some friendly names on the data.
+                        These are directly from the Bib-1 Attribute Set
+                        http://www.loc.gov/z3950/agency/defns/bib1.html
+                        <code> is the "use attribute", <format> is the "structure attribute"
+                        This just puts some friendly names on the data.
                         -->
                         <tcn><code>12</code><format>1</format></tcn>
                         <isbn><code>7</code><format>6</format></isbn>
@@ -140,31 +143,39 @@
 
             <!-- load the Amazon added content module -->
             <module>OpenILS::WWW::AddedContent::Amazon</module>
-            <!-- Base URL for Amazon added content fetching.  This URL may
-                need to be shortened when new (read: non-image) content 
-                fetching capabilities are added -->
+            <!--
+            Base URL for Amazon added content fetching.  This URL may
+            need to be shortened when new (read: non-image) content 
+            fetching capabilities are added
+            -->
             <base_url>http://images.amazon.com/images/P/</base_url>
 
-            <!-- Max number of seconds to wait for an added content request to 
-                return data.  Data not returned within the timeout is considered
-                a failure -->
+            <!--
+            Max number of seconds to wait for an added content request to 
+            return data.  Data not returned within the timeout is considered
+            a failure
+            -->
             <timeout>4</timeout>
 
-            <!-- After added content lookups have been disabled due to too many
-                lookup failures, this is the amount of time to wait before
-                we try again -->
+            <!--
+            After added content lookups have been disabled due to too many
+            lookup failures, this is the amount of time to wait before
+            we try again
+            -->
             <retry_timeout>600</retry_timeout>
 
-            <!-- maximum number of consecutive lookup errors a given process can 
-                have before added content lookups are disabled for everyone -->
+            <!--
+            maximum number of consecutive lookup errors a given process can 
+            have before added content lookups are disabled for everyone
+            -->
             <max_errors>4</max_errors>
 
             <!-- If a userid is required to access the added content.. -->
             <userid>MY_USER_ID</userid>
 
             <!--
-                You can add free-form settings here and they will be accessible
-                within the added content module
+            You can add free-form settings here and they will be accessible
+            within the added content module
             -->
 
         </added_content>
@@ -173,7 +184,7 @@
 
         <!-- no apps are enabled globally by default -->
         <activeapps/> 
-        
+
         <cache>
             <!-- memcache servers -->
             <global>
@@ -204,16 +215,20 @@
                 <max_requests>93</max_requests>
 
                 <unix_config>
-                    <!-- maximum number of top level requests coming to 
-                        this child before the child is recycled -->
+                    <!--
+                    maximum number of top level requests coming to 
+                    this child before the child is recycled
+                    -->
                     <max_requests>1000</max_requests>
                     <!-- min children to fork -->
                     <min_children>1</min_children>
                     <!-- max possible children to fork -->
                     <max_children>15</max_children>
 
-                    <!-- C forking implementation does not support 
-                        min/max idle children, but may in the future -->
+                    <!--
+                    C forking implementation does not support 
+                    min/max idle children, but may in the future
+                    -->
 
                     <!-- min idle children -->
                     <min_spare_children>1</min_spare_children>
@@ -500,8 +515,8 @@
                     <script_path>/openils/var/catalog/</script_path>
                     <script_path>/openils/var/web/opac/common/js/</script_path>
                     <scripts>
-                    <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
-                    <biblio_descriptor>biblio_descriptor.js</biblio_descriptor>
+                        <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
+                        <biblio_descriptor>biblio_descriptor.js</biblio_descriptor>
                     </scripts>
                 </app_settings>
             </open-ils.ingest>
@@ -666,12 +681,12 @@
 
         <localhost> 
             <!-- ^-=- 
-                Should match the fully qualified domain name of the host.
+            Should match the fully qualified domain name of the host.
 
-                On Linux, the output of the following command is authoritative:
-		  $ perl -MNet::Domain -e 'print Net::Domain::hostfqdn();'
+            On Linux, the output of the following command is authoritative:
+            $ perl -MNet::Domain -e 'print Net::Domain::hostfqdn();'
 
-                To use 'localhost' instead, run osrf_ctl.sh with the -l flag
+            To use 'localhost' instead, run osrf_ctl.sh with the -l flag
             -->
 
             <activeapps>

Modified: trunk/Open-ILS/examples/opensrf_core.xml.example
===================================================================
--- trunk/Open-ILS/examples/opensrf_core.xml.example	2008-03-05 22:39:08 UTC (rev 8871)
+++ trunk/Open-ILS/examples/opensrf_core.xml.example	2008-03-06 02:38:03 UTC (rev 8872)
@@ -1,4 +1,7 @@
 <?xml version="1.0"?>
+<!-- 
+vim:et:ts=2:sw=2:
+-->
 <config>
 
   <!-- bootstrap config for OpenSRF apps -->
@@ -7,8 +10,8 @@
     <!-- The OpenSRF Routers's name on the network -->
     <!-- You should never need to change this -->
     <router_name>router</router_name>
-	<routers>
-        <router>localhost</router>
+    <routers>
+      <router>localhost</router>
     </routers>
 
     <!-- Our jabber domain -->
@@ -21,12 +24,12 @@
     <logfile>/openils/var/log/osrfsys.log</logfile>
 
     <!-- Log to syslog. You can use this same layout for 
-        defining the logging of all services in this file -->
-<!--
+    defining the logging of all services in this file -->
+    <!--
     <logfile>syslog</logfile>
     <syslog>local2</syslog>
     <actlog>local1</actlog>
--->
+    -->
 
     <!-- 0 None, 1 Error, 2 Warning, 3 Info, 4 debug, 5 Internal (Nasty) -->
     <loglevel>3</loglevel>
@@ -55,7 +58,7 @@
   <gateway>
 
     <!-- we consider ourselves to be the "originating" client for requests,
-            which means we define the log XID string for log traces -->
+    which means we define the log XID string for log traces -->
     <client>true</client>
 
     <!--  the routers's name on the network -->
@@ -66,10 +69,10 @@
       <domain>localhost</domain>
     </domains>
 
-<!-- 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>
       <service>open-ils.cat</service>
@@ -93,37 +96,37 @@
 
   <routers>
     <router>
-  
+
       <!-- do not change -->
       <component>0</component>
-  
+
       <trusted_domains>
-  
+
         <!-- Trusted servers are allowed to register apps with the router -->
         <server>localhost</server>
-  
+
         <!-- Trusted clients are allowed to send packets through the router -->
         <client>localhost</client>
-  
+
       </trusted_domains>
-  
+
       <transport>
-  
+
         <!-- jabber server are we connecting to -->
         <server>localhost</server>
         <port>5222</port>
-  
+
         <!-- if this is changed, all "router_name" settings 
-                  will need to be updated to match this setting -->
+        will need to be updated to match this setting -->
         <username>router</username>
         <password>mypassword</password>
-  
+
         <!-- router's jabber resource -->
         <!-- do not change this -->
         <resource>router</resource>
         <connect_timeout>10</connect_timeout>
         <max_reconnect_attempts>5</max_reconnect_attempts>
-  
+
       </transport>
       <logfile>/openils/var/log/router.log</logfile>
       <loglevel>3</loglevel>



More information about the open-ils-commits mailing list