[Erp5-report] r34714 rafael - in /erp5/trunk/bt5/erp5_km_ui_test: SkinTemplateItem/portal_s...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Apr 22 05:49:16 CEST 2010
Author: rafael
Date: Thu Apr 22 05:49:14 2010
New Revision: 34714
URL: http://svn.erp5.org?rev=34714&view=rev
Log:
Move hardcoded configuration of Conversion server to Zuite_getConversionServerDict. This allows develops customize easy your test setups.
Added:
erp5/trunk/bt5/erp5_km_ui_test/SkinTemplateItem/portal_skins/erp5_km_ui_test/Zuite_getConversionServerDict.xml
Modified:
erp5/trunk/bt5/erp5_km_ui_test/SkinTemplateItem/portal_skins/erp5_km_ui_test/WebSiteModule_createKMSite.xml
erp5/trunk/bt5/erp5_km_ui_test/bt/revision
Modified: erp5/trunk/bt5/erp5_km_ui_test/SkinTemplateItem/portal_skins/erp5_km_ui_test/WebSiteModule_createKMSite.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km_ui_test/SkinTemplateItem/portal_skins/erp5_km_ui_test/WebSiteModule_createKMSite.xml?rev=34714&r1=34713&r2=34714&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_km_ui_test/SkinTemplateItem/portal_skins/erp5_km_ui_test/WebSiteModule_createKMSite.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_km_ui_test/SkinTemplateItem/portal_skins/erp5_km_ui_test/WebSiteModule_createKMSite.xml [utf8] Thu Apr 22 05:49:14 2010
@@ -84,8 +84,8 @@
preferred_document_file_name_regular_expression = \'(?P<node_reference>[a-zA-Z0-9_-]+)-(?P<local_reference>[a-zA-Z0-9_.]+)-(?P<version>[0-9a-zA-Z.]+)-(?P<language>[a-z]{2})[^-]*?\',\n
preferred_synchronous_metadata_discovery = False,\n
preferred_redirect_to_document = False,\n
- preferred_ooodoc_server_address = \'localhost\',\n
- preferred_ooodoc_server_port_number = 8008)\n
+ preferred_ooodoc_server_address = context.Zuite_getConversionServerDict()["oood_hostname"],\n
+ preferred_ooodoc_server_port_number = context.Zuite_getConversionServerDict()["oood_port"])\n
km_preference.enable()\n
\n
return "Created Successfully."\n
@@ -144,6 +144,7 @@
<string>km_preference_id</string>
<string>portal_preferences</string>
<string>False</string>
+ <string>_getitem_</string>
<string>km_preference</string>
</tuple>
</value>
Added: erp5/trunk/bt5/erp5_km_ui_test/SkinTemplateItem/portal_skins/erp5_km_ui_test/Zuite_getConversionServerDict.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km_ui_test/SkinTemplateItem/portal_skins/erp5_km_ui_test/Zuite_getConversionServerDict.xml?rev=34714&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_km_ui_test/SkinTemplateItem/portal_skins/erp5_km_ui_test/Zuite_getConversionServerDict.xml (added)
+++ erp5/trunk/bt5/erp5_km_ui_test/SkinTemplateItem/portal_skins/erp5_km_ui_test/Zuite_getConversionServerDict.xml [utf8] Thu Apr 22 05:49:14 2010
@@ -1,0 +1,126 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <tuple>
+ <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>Script_magic</string> </key>
+ <value> <int>3</int> </value>
+ </item>
+ <item>
+ <key> <string>_bind_names</string> </key>
+ <value>
+ <object>
+ <klass>
+ <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+ </klass>
+ <tuple/>
+ <state>
+ <dictionary>
+ <item>
+ <key> <string>_asgns</string> </key>
+ <value>
+ <dictionary>
+ <item>
+ <key> <string>name_container</string> </key>
+ <value> <string>container</string> </value>
+ </item>
+ <item>
+ <key> <string>name_context</string> </key>
+ <value> <string>context</string> </value>
+ </item>
+ <item>
+ <key> <string>name_m_self</string> </key>
+ <value> <string>script</string> </value>
+ </item>
+ <item>
+ <key> <string>name_subpath</string> </key>
+ <value> <string>traverse_subpath</string> </value>
+ </item>
+ </dictionary>
+ </value>
+ </item>
+ </dictionary>
+ </state>
+ </object>
+ </value>
+ </item>
+ <item>
+ <key> <string>_body</string> </key>
+ <value> <string>"""\n
+ Return the configuration for use into\n
+ preferences.\n
+"""\n
+return dict(oood_hostname="localhost",\n
+ oood_port=8008)\n
+</string> </value>
+ </item>
+ <item>
+ <key> <string>_code</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>_params</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>errors</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>func_code</string> </key>
+ <value>
+ <object>
+ <klass>
+ <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
+ </klass>
+ <tuple/>
+ <state>
+ <dictionary>
+ <item>
+ <key> <string>co_argcount</string> </key>
+ <value> <int>0</int> </value>
+ </item>
+ <item>
+ <key> <string>co_varnames</string> </key>
+ <value>
+ <tuple>
+ <string>dict</string>
+ </tuple>
+ </value>
+ </item>
+ </dictionary>
+ </state>
+ </object>
+ </value>
+ </item>
+ <item>
+ <key> <string>func_defaults</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>Zuite_getConversionServerDict</string> </value>
+ </item>
+ <item>
+ <key> <string>warnings</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_km_ui_test/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km_ui_test/bt/revision?rev=34714&r1=34713&r2=34714&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_km_ui_test/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_km_ui_test/bt/revision [utf8] Thu Apr 22 05:49:14 2010
@@ -1,1 +1,1 @@
-42
+44
More information about the Erp5-report
mailing list