diff --git a/bt5/erp5_dms/PathTemplateItem/portal_caches/dms_cache_factory.xml b/bt5/erp5_dms/PathTemplateItem/portal_caches/dms_cache_factory.xml new file mode 100644 index 0000000000000000000000000000000000000000..cbd6829558dff21f04b1e32da9f680c9fa4bae75 --- /dev/null +++ b/bt5/erp5_dms/PathTemplateItem/portal_caches/dms_cache_factory.xml @@ -0,0 +1,75 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="CacheFactory" module="Products.ERP5Type.Document.CacheFactory"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_count</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_mt_index</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>_tree</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>cache_duration</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>dms_cache_factory</string> </value> + </item> + <item> + <key> <string>last_id</string> </key> + <value> <string>2</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Cache Factory</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>DMS Cache Factory</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="Length" module="BTrees.Length"/> + </pickle> + <pickle> <int>0</int> </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="OOBTree" module="BTrees._OOBTree"/> + </pickle> + <pickle> + <none/> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="OOBTree" module="BTrees._OOBTree"/> + </pickle> + <pickle> + <none/> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/PathTemplateItem/portal_caches/dms_cache_factory/persistent_cache_plugin.xml b/bt5/erp5_dms/PathTemplateItem/portal_caches/dms_cache_factory/persistent_cache_plugin.xml new file mode 100644 index 0000000000000000000000000000000000000000..43e6ec107f7289dd96eebd52fd74d1328f954728 --- /dev/null +++ b/bt5/erp5_dms/PathTemplateItem/portal_caches/dms_cache_factory/persistent_cache_plugin.xml @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="DistributedRamCache" module="Products.ERP5Type.Document.DistributedRamCache"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>specialise/portal_memcached/persistent_memcached_plugin</string> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>persistent_cache_plugin</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Distributed Ram Cache</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Persistent Distributed Ram Cache</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/bt/change_log b/bt5/erp5_dms/bt/change_log index 296ab445ef1dcb34900cba1d8161e6f7b837273a..853f59db000fec1a5ed9247313d99983f5116883 100644 --- a/bt5/erp5_dms/bt/change_log +++ b/bt5/erp5_dms/bt/change_log @@ -1,3 +1,8 @@ +2009-07-07 nicolas +* add dms_cache_factory to store conversion values in persisent storage like flare +To enable it, please update your DMS Preference. +(Preferred Conversion Cache) + 2009-07-03 romain * Revert latest proxy field library simplification, as the design was not finalized. diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision index d8292c282d9a825a2ed893cac344e51ea2159248..f03187e185cbf885da81b7fd15daac172b8d9399 100644 --- a/bt5/erp5_dms/bt/revision +++ b/bt5/erp5_dms/bt/revision @@ -1 +1 @@ -996 \ No newline at end of file +998 \ No newline at end of file diff --git a/bt5/erp5_dms/bt/template_path_list b/bt5/erp5_dms/bt/template_path_list index eb0b1ab3246a82f9b566cae481e4a76349ff6c0f..19adc4e8d980f2f38f0ab89c9d4399d3eb92d632 100644 --- a/bt5/erp5_dms/bt/template_path_list +++ b/bt5/erp5_dms/bt/template_path_list @@ -1 +1,3 @@ -portal_alarms/document_update_content_alarm \ No newline at end of file +portal_alarms/document_update_content_alarm +portal_caches/dms_cache_factory +portal_caches/dms_cache_factory/** \ No newline at end of file