Commit ff7d6b29 authored by Rafael Monnerat's avatar Rafael Monnerat

Updated SlapOS configurator workflow (WIP)

Update the workflow and clean up, scripts, images related to configurator.
parent 65dd5dd1
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Business Configuration" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Access_contents_information_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Author</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Add_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Author</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Modify_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Author</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>_View_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Author</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>_count</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>modification_date</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>date</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>creation_date</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>date</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>_mt_index</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>_server_buffer</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>resource/workflow_module/vifib_configuration_workflow</string>
</tuple>
</value>
</item>
<item>
<key> <string>comment</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>configuration_after_script_id</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>creation_date</string> </key>
<value>
<object>
<klass>
<global id="1.1" name="DateTime" module="DateTime.DateTime"/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1302490800.0</float>
<string>GMT-3</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Build your own Vifib Master in few clicks.</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>default_vifib_configuration</string> </value>
</item>
<item>
<key> <string>language</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>last_id</string> </key>
<value> <string>4</string> </value>
</item>
<item>
<key> <string>modification_date</string> </key>
<value>
<object>
<klass> <reference id="1.1"/> </klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1302577200.0</float>
<string>GMT-3</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Business Configuration</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Vifib Master</string> </value>
</item>
<item>
<key> <string>user_interface_description_file_id</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>version</string> </key>
<value>
<none/>
</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>
......@@ -45,21 +45,17 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>source/workflow_module/vifib_configuration_workflow/1</string>
<string>source/workflow_module/slapos_configuration_workflow/1</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>The default Vifib configuration workflow, used to setup a Vifib Master</string> </value>
<value> <string>The default SlapOS configuration workflow, used to setup a SlapOS Master</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>vifib_configuration_workflow</string> </value>
</item>
<item>
<key> <string>last_id</string> </key>
<value> <string>68</string> </value>
<value> <string>slapos_configuration_workflow</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
......@@ -75,7 +71,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Vifib Configuration Workflow</string> </value>
<value> <string>Slapos Configuration Workflow</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -28,7 +28,7 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/workflow_module/vifib_configuration_workflow/56</string>
<string>destination/workflow_module/slapos_configuration_workflow/56</string>
</tuple>
</value>
</item>
......
......@@ -28,7 +28,7 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/workflow_module/vifib_configuration_workflow/64</string>
<string>destination/workflow_module/slapos_configuration_workflow/64</string>
</tuple>
</value>
</item>
......
......@@ -34,7 +34,7 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/workflow_module/vifib_configuration_workflow/11</string>
<string>destination/workflow_module/slapos_configuration_workflow/11</string>
</tuple>
</value>
</item>
......
......@@ -45,7 +45,7 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/workflow_module/vifib_configuration_workflow/14</string>
<string>destination/workflow_module/slapos_configuration_workflow/14</string>
</tuple>
</value>
</item>
......
......@@ -26,13 +26,13 @@
</item>
<item>
<key> <string>after_script_id</string> </key>
<value> <string>BusinessConfiguration_setupVifibCustomerWizardBT5</string> </value>
<value> <string>BusinessConfiguration_setupCustomerBT5</string> </value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/workflow_module/vifib_configuration_workflow/29</string>
<string>destination/workflow_module/slapos_configuration_workflow/29</string>
</tuple>
</value>
</item>
......
......@@ -28,7 +28,7 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/workflow_module/vifib_configuration_workflow/30</string>
<string>destination/workflow_module/slapos_configuration_workflow/30</string>
</tuple>
</value>
</item>
......
......@@ -47,13 +47,15 @@
</item>
<item>
<key> <string>before_script_id</string> </key>
<value> <string>BusinessConfiguration_setupVifibInit</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/workflow_module/vifib_configuration_workflow/55</string>
<string>destination/workflow_module/slapos_configuration_workflow/55</string>
</tuple>
</value>
</item>
......
......@@ -28,7 +28,7 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/workflow_module/vifib_configuration_workflow/63</string>
<string>destination/workflow_module/slapos_configuration_workflow/63</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
</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>configuration_save = context.restrictedTraverse(configuration_save_url)\n
configuration_save.addConfigurationItem("Customer BT5 Configurator Item", \n
# Define bt5 is is wrong. it should set title only.\n
bt5_title=\'_\'.join(context.getTitle().strip().lower().split()))\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>configuration_save_url=None, **kw</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupVifibCustomerWizardBT5</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Create a bt5 template that will contain customer configuration</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
</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># Update Business Configuration Properties if not set.\n
\n
if context.getUserInterfaceDescriptionFileId() is None:\n
context.setUserInterfaceDescriptionFileId("vifib_configuration_ui_description.ods")\n
\n
if context.getConfigurationAfterScriptId() is None:\n
context.setConfigurationAfterScriptId(\'BusinessConfiguration_afterVifibConfiguration\')\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>**kw</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupVifibInit</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -52,76 +52,12 @@
<key> <string>_body</string> </key>
<value> <string>configuration_save = context.restrictedTraverse(configuration_save_url)\n
\n
bt5_installation_list = (\n
\'erp5_simulation\',\n
\'erp5_administration\',\n
\'erp5_pdm\',\n
\'erp5_trade\',\n
\'erp5_simulation_test\',\n
\'erp5_item\',\n
\'erp5_open_trade\',\n
\'erp5_forge\',\n
\'erp5_ingestion_mysql_innodb_catalog\',\n
\'erp5_ingestion\',\n
\'erp5_crm\',\n
\'erp5_jquery\',\n
\'erp5_jquery_ui\',\n
\'erp5_dhtml_style\',\n
\'erp5_knowledge_pad\',\n
\'erp5_web\',\n
\'erp5_dms\',\n
\'erp5_l10n_fr\',\n
\'erp5_content_translation\',\n
\'erp5_software_pdm\',\n
\'erp5_computer_immobilisation\',\n
\'erp5_accounting\',\n
\'erp5_accounting_l10n_fr\',\n
\'erp5_tax_resource\',\n
\'erp5_discount_resource\',\n
\'erp5_invoicing\',\n
\'erp5_ods_style\',\n
\'erp5_odt_style\',\n
\'erp5_ooo_import\',\n
\'erp5_simplified_invoicing\',\n
\'erp5_legacy_tax_system\',\n
\'erp5_commerce\',\n
\'erp5_project\',\n
\'erp5_xhtml_jquery_style\',\n
\'erp5_credential\',\n
\'erp5_km\',\n
\'erp5_web_download_theme\',\n
\'erp5_tiosafe_core\',\n
\'erp5_system_event\',\n
\'erp5_secure_payment\',\n
\'erp5_payzen_secure_payment\',\n
\'vifib_mysql_innodb_catalog\',\n
\'vifib_core\',\n
\'vifib_base\',\n
\'vifib_slap\',\n
\'vifib_forge_release\',\n
\'vifib_software_pdm\',\n
\'vifib_web\',\n
\'vifib_open_trade\',\n
\'vifib_l10n_fr\',\n
\'vifib_data\',\n
\'vifib_data_category\',\n
\'vifib_data_web\',\n
\'vifib_payzen\',\n
\'vifib_data_payzen\',\n
\'vifib_data_simulation\',\n
\'vifib_erp5\',\n
\'vifib_test\',\n
)\n
\n
bt5_update_catalog = (\'erp5_ingestion_mysql_innodb_catalog\',\n
\'vifib_mysql_innodb_catalog\',\n
\'erp5_content_translation\')\n
bt5_installation_list = (\'vifib_erp5\',)\n
\n
for name in bt5_installation_list:\n
configuration_save.addConfigurationItem("Standard BT5 Configurator Item",\n
title=name, bt5_id=name,\n
update_catalog=(name in bt5_update_catalog)\n
)\n
update_catalog=1)\n
</string> </value>
</item>
<item>
......
......@@ -37,7 +37,7 @@
<value> <unicode encoding="cdata"><![CDATA[
<h4 i18n:translate=""\n
i18n:domain="ui"> The Vifib master is going to be installed.</h4>\n
i18n:domain="ui"> The SlapOS master is going to be installed.</h4>\n
\n
\n
<p i18n:translate=""\n
......
business_configuration_module/default_vifib_configuration
business_configuration_module/default_vifib_configuration/default_image
workflow_module/vifib_configuration_workflow
workflow_module/vifib_configuration_workflow/**
\ No newline at end of file
workflow_module/slapos_configuration_workflow
workflow_module/slapos_configuration_workflow/**
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment