[Opensrf-commits] r1554 - branches/rel_1_0/examples
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Dec 19 21:55:56 EST 2008
Author: dbs
Date: 2008-12-19 21:55:54 -0500 (Fri, 19 Dec 2008)
New Revision: 1554
Modified:
branches/rel_1_0/examples/opensrf_core.xml.example
Log:
Try to be consistent about the use of public.localhost vs. private.localhost,
as well as username and password for various accounts. Should make it
easier to document and to modify
Modified: branches/rel_1_0/examples/opensrf_core.xml.example
===================================================================
--- branches/rel_1_0/examples/opensrf_core.xml.example 2008-12-20 00:24:36 UTC (rev 1553)
+++ branches/rel_1_0/examples/opensrf_core.xml.example 2008-12-20 02:55:54 UTC (rev 1554)
@@ -26,16 +26,16 @@
<!-- 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>
<!-- log file settings ====================================== -->
@@ -61,7 +61,7 @@
<!-- 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>
@@ -97,8 +97,8 @@
<!-- 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>
@@ -112,9 +112,9 @@
<trusted_domains>
<!-- allow private services to register with this router
and public clients to send requests to this router. -->
- <server>localhost</server>
+ <server>public.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>
@@ -122,7 +122,7 @@
<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>
@@ -136,15 +136,15 @@
</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>
More information about the opensrf-commits
mailing list