LP#1567588 Make string substitution easier in OpenSRF config files. user/csharp/lp1567588_sedable_passwords
authorChris Sharp <csharp@georgialibraries.org>
Thu, 7 Apr 2016 18:10:14 +0000 (14:10 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Thu, 7 Apr 2016 18:10:14 +0000 (14:10 -0400)
For tools like sed, awk, and perl to work more efficiently, more
unique strings than "password" are desirable.  This adds unique strings
to the two example files requiring OpenSRF passwords.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/examples/opensrf_core.xml.example

index d2ec8eb..e133a35 100644 (file)
@@ -53,7 +53,7 @@ Example OpenSRF bootstrap configuration file for Evergreen
     <!-- Our domain should match that of the private router -->
     <domain>private.localhost</domain>
     <username>opensrf</username>
-    <passwd>password</passwd>
+    <passwd>OpenSRF_Private_Password</passwd>
     <port>5222</port>
 
     <!-- 
@@ -98,7 +98,7 @@ Example OpenSRF bootstrap configuration file for Evergreen
 
     <!-- jabber login info -->
     <username>opensrf</username>
-    <passwd>password</passwd>
+    <passwd>OpenSRF_Public_Password</passwd>
     <port>5222</port>
     <loglevel>3</loglevel>
     <logfile>LOCALSTATEDIR/log/gateway.log</logfile>
@@ -132,7 +132,7 @@ Example OpenSRF bootstrap configuration file for Evergreen
         <port>5222</port>
         <unixpath>LOCALSTATEDIR/sock/unix_sock</unixpath>
         <username>router</username>
-        <password>password</password>
+        <password>Router_Public_Password</password>
         <resource>router</resource>
         <connect_timeout>10</connect_timeout>
         <max_reconnect_attempts>5</max_reconnect_attempts>
@@ -157,7 +157,7 @@ Example OpenSRF bootstrap configuration file for Evergreen
         <server>private.localhost</server>
         <port>5222</port>
         <username>router</username>
-        <password>password</password>
+        <password>Router_Private_Password</password>
         <resource>router</resource>
         <connect_timeout>10</connect_timeout>
         <max_reconnect_attempts>5</max_reconnect_attempts>