Sync up the sample bootstrap conf from rel_1_0 - more explicit public vs. private
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 22 Dec 2008 20:43:15 +0000 (20:43 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 22 Dec 2008 20:43:15 +0000 (20:43 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1564 9efc2488-bf62-4759-914b-345cdb29e865

examples/opensrf_core.xml.example

index fa7054a..4284ae6 100644 (file)
@@ -26,16 +26,16 @@ vim:et:ts=2:sw=2:
         <!-- This is the private router.  All applications must register with 
             this router, so no explicit <services> section is required -->
         <name>router</name>
-        <domain>localhost</domain>
+        <domain>private.localhost</domain>
       </router>
     </routers>
 
 
     <!-- Jabber login settings
         Our domain should match that of the private router -->
-    <domain>localhost</domain>
-    <username>client</username>
-    <passwd>mypass</passwd>
+    <domain>private.localhost</domain>
+    <username>opensrf</username>
+    <passwd>password</passwd>
     <port>5222</port>
     <!-- name of the router used on our private domain.  
         this should match one of the <name> of the private router above -->
@@ -64,7 +64,7 @@ vim:et:ts=2:sw=2:
   <!-- Update this if you use ChopChop -->
   <chopchop>
     <!-- Our jabber server -->
-    <domain>localhost</domain>
+    <domain>private.localhost</domain>
     <port>5222</port>
     <!-- used when multiple servers need to communicate -->
     <s2sport>5269</s2sport>
@@ -100,8 +100,8 @@ vim:et:ts=2:sw=2:
 
     <!-- The gateway connects to the public domain -->
     <domain>public.localhost</domain>
-    <username>mylogin</username>
-    <passwd>mypassword</passwd>
+    <username>opensrf</username>
+    <passwd>password</passwd>
     <port>5222</port>
     <logfile>LOCALSTATEDIR/log/gateway.log</logfile>
     <loglevel>3</loglevel>
@@ -115,9 +115,9 @@ vim:et:ts=2:sw=2:
             <trusted_domains>
                 <!-- allow private services to register with this router 
                      and public clients to send requests to this router. -->
-                <server>localhost</server>
+                <server>private.localhost</server>
                 <!-- also allow private clients to send to the router so it can receive error messages -->
-                <client>localhost</client>
+                <client>private.localhost</client>
                 <client>public.localhost</client>
             </trusted_domains>
             <transport>
@@ -125,7 +125,7 @@ vim:et:ts=2:sw=2:
                 <port>5222</port>
                 <unixpath>LOCALSTATEDIR/sock/unix_sock</unixpath>
                 <username>router</username>
-                <password>osrf</password>
+                <password>password</password>
                 <resource>router</resource>
                 <connect_timeout>10</connect_timeout>
                 <max_reconnect_attempts>5</max_reconnect_attempts>
@@ -139,15 +139,15 @@ vim:et:ts=2:sw=2:
         </router>
         <router> <!-- private router -->
             <trusted_domains>
-                <server>localhost</server>
+                <server>private.localhost</server>
                 <!-- only clients on the private domain can send requests to this router -->
-                <client>localhost</client>
+                <client>private.localhost</client>
             </trusted_domains>
             <transport>
-                <server>localhost</server>
+                <server>private.localhost</server>
                 <port>5222</port>
                 <username>router</username>
-                <password>osrf</password>
+                <password>password</password>
                 <resource>router</resource>
                 <connect_timeout>10</connect_timeout>
                 <max_reconnect_attempts>5</max_reconnect_attempts>