Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Cédric Le Ninivin
slapos.core
Commits
8ddd1e40
Commit
8ddd1e40
authored
Jun 11, 2013
by
Vivien Alger
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'rafael-configurator'
parents
a10dd078
99a968f7
Changes
46
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
46 changed files
with
189 additions
and
2332 deletions
+189
-2332
master/bt5/slapos_configurator/SkinTemplateItem/portal_skins/slapos_configurator/BusinessConfiguration_invokeSlapOSMasterPromiseAlarmList.xml
...inessConfiguration_invokeSlapOSMasterPromiseAlarmList.xml
+4
-3
master/bt5/slapos_configurator/TestTemplateItem/testSlapOSConfigurator.py
...s_configurator/TestTemplateItem/testSlapOSConfigurator.py
+142
-0
master/bt5/slapos_configurator/bt/revision
master/bt5/slapos_configurator/bt/revision
+1
-1
master/bt5/slapos_configurator/bt/template_test_id_list
master/bt5/slapos_configurator/bt/template_test_id_list
+1
-0
master/bt5/slapos_erp5/bt/dependency_list
master/bt5/slapos_erp5/bt/dependency_list
+5
-1
master/bt5/slapos_erp5/bt/revision
master/bt5/slapos_erp5/bt/revision
+1
-1
master/bt5/slapos_web/bt/dependency_list
master/bt5/slapos_web/bt/dependency_list
+2
-1
master/bt5/slapos_web/bt/revision
master/bt5/slapos_web/bt/revision
+1
-1
master/bt5/vifib_configurator/PathTemplateItem/business_configuration_module/vifib_legacy_configuration.xml
...iness_configuration_module/vifib_legacy_configuration.xml
+0
-98
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow.xml
...lateItem/workflow_module/vifib_configuration_workflow.xml
+0
-105
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/1.xml
...teItem/workflow_module/vifib_configuration_workflow/1.xml
+0
-78
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/11.xml
...eItem/workflow_module/vifib_configuration_workflow/11.xml
+0
-78
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/14.xml
...eItem/workflow_module/vifib_configuration_workflow/14.xml
+0
-92
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/29.xml
...eItem/workflow_module/vifib_configuration_workflow/29.xml
+0
-99
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/30.xml
...eItem/workflow_module/vifib_configuration_workflow/30.xml
+0
-86
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/42.xml
...eItem/workflow_module/vifib_configuration_workflow/42.xml
+0
-78
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/43.xml
...eItem/workflow_module/vifib_configuration_workflow/43.xml
+0
-78
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/44.xml
...eItem/workflow_module/vifib_configuration_workflow/44.xml
+0
-78
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/45.xml
...eItem/workflow_module/vifib_configuration_workflow/45.xml
+0
-78
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/46.xml
...eItem/workflow_module/vifib_configuration_workflow/46.xml
+0
-78
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/47.xml
...eItem/workflow_module/vifib_configuration_workflow/47.xml
+0
-101
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/52.xml
...eItem/workflow_module/vifib_configuration_workflow/52.xml
+0
-76
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/55.xml
...eItem/workflow_module/vifib_configuration_workflow/55.xml
+0
-78
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/56.xml
...eItem/workflow_module/vifib_configuration_workflow/56.xml
+0
-113
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/59.xml
...eItem/workflow_module/vifib_configuration_workflow/59.xml
+0
-78
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/63.xml
...eItem/workflow_module/vifib_configuration_workflow/63.xml
+0
-70
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/64.xml
...eItem/workflow_module/vifib_configuration_workflow/64.xml
+0
-82
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/default_image.xml
...low_module/vifib_configuration_workflow/default_image.xml
+0
-383
master/bt5/vifib_configurator/SkinTemplateItem/portal_skins/vifib_configurator.xml
...ator/SkinTemplateItem/portal_skins/vifib_configurator.xml
+0
-47
master/bt5/vifib_configurator/SkinTemplateItem/portal_skins/vifib_configurator/BusinessConfiguration_invokePromiseAlarmList.xml
...igurator/BusinessConfiguration_invokePromiseAlarmList.xml
+0
-82
master/bt5/vifib_configurator/SkinTemplateItem/portal_skins/vifib_configurator/BusinessConfiguration_setupVifibStandardBT5.xml
...figurator/BusinessConfiguration_setupVifibStandardBT5.xml
+0
-81
master/bt5/vifib_configurator/bt/change_log
master/bt5/vifib_configurator/bt/change_log
+0
-2
master/bt5/vifib_configurator/bt/copyright_list
master/bt5/vifib_configurator/bt/copyright_list
+0
-1
master/bt5/vifib_configurator/bt/dependency_list
master/bt5/vifib_configurator/bt/dependency_list
+0
-2
master/bt5/vifib_configurator/bt/description
master/bt5/vifib_configurator/bt/description
+0
-1
master/bt5/vifib_configurator/bt/license
master/bt5/vifib_configurator/bt/license
+0
-1
master/bt5/vifib_configurator/bt/maintainer_list
master/bt5/vifib_configurator/bt/maintainer_list
+0
-1
master/bt5/vifib_configurator/bt/publication_url
master/bt5/vifib_configurator/bt/publication_url
+0
-1
master/bt5/vifib_configurator/bt/revision
master/bt5/vifib_configurator/bt/revision
+0
-1
master/bt5/vifib_configurator/bt/short_title
master/bt5/vifib_configurator/bt/short_title
+0
-1
master/bt5/vifib_configurator/bt/template_format_version
master/bt5/vifib_configurator/bt/template_format_version
+0
-1
master/bt5/vifib_configurator/bt/template_path_list
master/bt5/vifib_configurator/bt/template_path_list
+0
-3
master/bt5/vifib_configurator/bt/template_skin_id_list
master/bt5/vifib_configurator/bt/template_skin_id_list
+0
-1
master/bt5/vifib_configurator/bt/title
master/bt5/vifib_configurator/bt/title
+0
-1
master/bt5/vifib_configurator/bt/version
master/bt5/vifib_configurator/bt/version
+0
-1
master/product/SlapOS/tests/testSlapOSMixin.py
master/product/SlapOS/tests/testSlapOSMixin.py
+32
-89
No files found.
master/bt5/slapos_configurator/SkinTemplateItem/portal_skins/slapos_configurator/BusinessConfiguration_invokeSlapOSMasterPromiseAlarmList.xml
View file @
8ddd1e40
...
@@ -58,15 +58,16 @@
...
@@ -58,15 +58,16 @@
alarms to be invoked always.\n
alarms to be invoked always.\n
"""\n
"""\n
alarm_to_solve_list = [\'promise_certificate_autority_tool\',\n
alarm_to_solve_list = [\'promise_certificate_autority_tool\',\n
\'promise_conversion_server\'\n
\'promise_conversion_server\'
,
\n
\'promise_kumofs_server\'\n
\'promise_kumofs_server\'
,
\n
\'promise_mailhost_configuration\'\n
\'promise_mailhost_configuration\'
,
\n
\'promise_memcached_server\']\n
\'promise_memcached_server\']\n
\n
\n
for alarm in context.portal_alarms.contentValues():\n
for alarm in context.portal_alarms.contentValues():\n
alarm_id = alarm.getId()\n
alarm_id = alarm.getId()\n
if alarm_id.startswith("promise_slapos") or \\\n
if alarm_id.startswith("promise_slapos") or \\\n
alarm_id in alarm_to_solve_list:\n
alarm_id in alarm_to_solve_list:\n
context.log("Solve %s" % alarm_id)\n
alarm.solve()\n
alarm.solve()\n
</string>
</value>
</string>
</value>
</item>
</item>
...
...
master/bt5/slapos_configurator/TestTemplateItem/testSlapOSConfigurator.py
0 → 100644
View file @
8ddd1e40
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2012 Nexedi SA and Contributors. All Rights Reserved.
#
##############################################################################
from
Products.SlapOS.tests.testSlapOSMixin
import
\
testSlapOSMixin
,
withAbort
from
zExceptions
import
Unauthorized
from
DateTime
import
DateTime
import
os
import
time
class
TestSlapOSConfigurator
(
testSlapOSMixin
):
def
testConfiguredVolatileCache
(
self
):
"""
Make sure Memcached is configured
"""
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
\
_getVolatileMemcachedServerDict
memcached_tool
=
self
.
getPortal
().
portal_memcached
connection_dict
=
_getVolatileMemcachedServerDict
()
url_string
=
'%(hostname)s:%(port)s'
%
connection_dict
self
.
assertEquals
(
memcached_tool
.
default_memcached_plugin
.
getUrlString
(),
url_string
)
def
testConfiguredPersistentCache
(
self
):
"""
Make sure Kumofs is configured
"""
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
\
_getPersistentMemcachedServerDict
memcached_tool
=
self
.
getPortal
().
portal_memcached
connection_dict
=
_getPersistentMemcachedServerDict
()
url_string
=
'%(hostname)s:%(port)s'
%
connection_dict
self
.
assertEquals
(
memcached_tool
.
persistent_memcached_plugin
.
getUrlString
(),
url_string
)
def
testConfiguredConversionServer
(
self
):
"""
Make sure Conversion Server (Cloudooo) is
well configured
"""
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
\
_getConversionServerDict
# set preference
preference_tool
=
self
.
portal
.
portal_preferences
conversion_dict
=
_getConversionServerDict
()
self
.
assertEquals
(
preference_tool
.
getPreferredOoodocServerAddress
(),
conversion_dict
[
'hostname'
])
self
.
assertEquals
(
preference_tool
.
getPreferredOoodocServerPortNumber
(),
conversion_dict
[
'port'
])
def
testConfiguredCertificateAuthoring
(
self
):
"""
Make sure Certificate Authoting is
well configured.
"""
self
.
assertTrue
(
self
.
portal
.
hasObject
(
'portal_certificate_authority'
))
self
.
assertEquals
(
os
.
environ
[
'TEST_CA_PATH'
],
self
.
portal
.
portal_certificate_authority
.
certificate_authority_path
)
def
testConfiguredBusinessTemplateList
(
self
):
"""
Make sure Installed business Templates are
what it is expected.
"""
expected_business_template_list
=
[
'erp5_core'
,
'erp5_xhtml_style'
,
'erp5_property_sheets'
,
'erp5_mysql_innodb_catalog'
,
'erp5_promise'
,
'erp5_upgrader'
,
'slapos_upgrader'
,
'erp5_full_text_myisam_catalog'
,
'erp5_core_proxy_field_legacy'
,
'erp5_base'
,
'erp5_administration'
,
'erp5_workflow'
,
'erp5_configurator'
,
'slapos_configurator'
,
'erp5_simulation'
,
'erp5_pdm'
,
'erp5_trade'
,
'erp5_tiosafe_core'
,
'erp5_item'
,
'erp5_forge'
,
'erp5_ingestion_mysql_innodb_catalog'
,
'erp5_ingestion'
,
'erp5_crm'
,
'erp5_system_event'
,
'erp5_secure_payment'
,
'erp5_payzen_secure_payment'
,
'erp5_ooo_import'
,
'erp5_odt_style'
,
'erp5_ods_style'
,
'erp5_jquery'
,
'erp5_jquery_ui'
,
'erp5_dhtml_style'
,
'erp5_knowledge_pad'
,
'erp5_web'
,
'erp5_rss_style'
,
'erp5_dms'
,
'erp5_content_translation'
,
'erp5_software_pdm'
,
'erp5_computer_immobilisation'
,
'erp5_open_trade'
,
'erp5_accounting'
,
'erp5_commerce'
,
'erp5_xhtml_jquery_style'
,
'erp5_credential'
,
'erp5_km'
,
'erp5_web_download_theme'
,
'erp5_web_shacache'
,
'erp5_data_set'
,
'erp5_web_shadir'
,
'erp5_accounting'
,
'erp5_invoicing'
,
'erp5_simplified_invoicing'
,
'erp5_credential_oauth2'
,
'erp5_accounting_l10n_fr'
,
'erp5_bearer_token'
,
'erp5_access_token'
,
'erp5_project'
,
'slapos_cache'
,
'slapos_cloud'
,
'slapos_slap_tool'
,
'slapos_category'
,
'slapos_rest_api_tool_portal_type'
,
'slapos_rest_api'
,
'slapos_hypermedia'
,
'slapos_pdm'
,
'slapos_crm'
,
'slapos_accounting'
,
'slapos_payzen'
,
'slapos_web'
,
'slapos_erp5'
,
]
self
.
assertSameSet
(
expected_business_template_list
,
self
.
portal
.
portal_templates
.
getInstalledBusinessTemplateTitleList
())
master/bt5/slapos_configurator/bt/revision
View file @
8ddd1e40
5
7
\ No newline at end of file
\ No newline at end of file
master/bt5/slapos_configurator/bt/template_test_id_list
0 → 100644
View file @
8ddd1e40
testSlapOSConfigurator
\ No newline at end of file
master/bt5/slapos_erp5/bt/dependency_list
View file @
8ddd1e40
erp5_administration
erp5_credential
erp5_credential
erp5_project
erp5_project
erp5_ooo_import
erp5_ooo_import
erp5_odt_style
erp5_odt_style
erp5_ods_style
erp5_ods_style
erp5_forge
erp5_dhtml_style
slapos_accounting
slapos_accounting
slapos_cache
slapos_cache
slapos_category
slapos_category
...
@@ -14,3 +17,4 @@ slapos_pdm
...
@@ -14,3 +17,4 @@ slapos_pdm
slapos_web
slapos_web
slapos_payzen
slapos_payzen
slapos_hypermedia
slapos_hypermedia
slapos_upgrader
\ No newline at end of file
master/bt5/slapos_erp5/bt/revision
View file @
8ddd1e40
171
172
\ No newline at end of file
\ No newline at end of file
master/bt5/slapos_web/bt/dependency_list
View file @
8ddd1e40
...
@@ -8,3 +8,4 @@ erp5_credential_oauth2
...
@@ -8,3 +8,4 @@ erp5_credential_oauth2
erp5_bearer_token
erp5_bearer_token
erp5_access_token
erp5_access_token
slapos_pdm
slapos_pdm
slapos_crm
master/bt5/slapos_web/bt/revision
View file @
8ddd1e40
49
50
\ No newline at end of file
\ No newline at end of file
master/bt5/vifib_configurator/PathTemplateItem/business_configuration_module/vifib_legacy_configuration.xml
deleted
100644 → 0
View file @
a10dd078
<?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>
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>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
vifib_legacy_configuration
</string>
</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 Legacy
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow.xml
deleted
100644 → 0
View file @
a10dd078
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<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>
state_variable_name
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</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>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
source/workflow_module/vifib_configuration_workflow/1
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
configuration_after_script_id
</string>
</key>
<value>
<string>
BusinessConfiguration_invokePromiseAlarmList
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
The Legacy Vifib configuration workflow, used to setup a former vifib.net Configuration.
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
vifib_configuration_workflow
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Workflow
</string>
</value>
</item>
<item>
<key>
<string>
state_base_category
</string>
</key>
<value>
<string>
current_state
</string>
</value>
</item>
<item>
<key>
<string>
state_variable_name
</string>
</key>
<value>
<string>
current_state
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Vifib Master Legacy Configuration Workflow
</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>
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/1.xml
deleted
100644 → 0
View file @
a10dd078
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"State"
module=
"erp5.portal_type"
/>
</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>
categories
</string>
</key>
<value>
<tuple>
<string>
destination/workflow_module/vifib_configuration_workflow/56
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
1
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
State
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Start
</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>
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/11.xml
deleted
100644 → 0
View file @
a10dd078
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"State"
module=
"erp5.portal_type"
/>
</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>
categories
</string>
</key>
<value>
<tuple>
<string>
destination/workflow_module/vifib_configuration_workflow/64
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
11
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
State
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Download
</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>
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/14.xml
deleted
100644 → 0
View file @
a10dd078
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Transition"
module=
"erp5.portal_type"
/>
</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>
after_script_id
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
destination/workflow_module/vifib_configuration_workflow/11
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
guard_expression
</string>
</key>
<value>
<string>
python: True
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
14
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Transition
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Install
</string>
</value>
</item>
<item>
<key>
<string>
transition_form_id
</string>
</key>
<value>
<string>
BusinessConfiguration_displayDownloadForm
</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>
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/29.xml
deleted
100644 → 0
View file @
a10dd078
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"State"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<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>
comment
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</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>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
destination/workflow_module/vifib_configuration_workflow/14
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string>
Set Customer Business Template
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
29
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
State
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Customer BT
</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>
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/30.xml
deleted
100644 → 0
View file @
a10dd078
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Transition"
module=
"erp5.portal_type"
/>
</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>
after_script_id
</string>
</key>
<value>
<string>
BusinessConfiguration_setupCustomerBT5
</string>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
destination/workflow_module/vifib_configuration_workflow/29
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
guard_expression
</string>
</key>
<value>
<string>
python: True
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
30
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Transition
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Setup customer BT5
</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>
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/42.xml
deleted
100644 → 0
View file @
a10dd078
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Variable"
module=
"erp5.portal_type"
/>
</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>
automatic_update
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
42
</string>
</value>
</item>
<item>
<key>
<string>
initial_value
</string>
</key>
<value>
<string>
python: member.getUserName()
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Variable
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
actor
</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>
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/43.xml
deleted
100644 → 0
View file @
a10dd078
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Variable"
module=
"erp5.portal_type"
/>
</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>
automatic_update
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
43
</string>
</value>
</item>
<item>
<key>
<string>
initial_value
</string>
</key>
<value>
<string>
python: object.getDateTime()
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Variable
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
time
</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>
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/44.xml
deleted
100644 → 0
View file @
a10dd078
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Variable"
module=
"erp5.portal_type"
/>
</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>
automatic_update
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
44
</string>
</value>
</item>
<item>
<key>
<string>
initial_value
</string>
</key>
<value>
<string>
python: None
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Variable
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
comment
</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>
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/45.xml
deleted
100644 → 0
View file @
a10dd078
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Variable"
module=
"erp5.portal_type"
/>
</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>
automatic_update
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
45
</string>
</value>
</item>
<item>
<key>
<string>
initial_value
</string>
</key>
<value>
<string>
python: None
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Variable
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
error_message
</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>
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/46.xml
deleted
100644 → 0
View file @
a10dd078
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Variable"
module=
"erp5.portal_type"
/>
</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>
automatic_update
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
46
</string>
</value>
</item>
<item>
<key>
<string>
initial_value
</string>
</key>
<value>
<string>
python: request.get(\'configuration_save_url\', None)
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Variable
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
configuration_save_url
</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>
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/47.xml
deleted
100644 → 0
View file @
a10dd078
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<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>
comment
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</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>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
automatic_update
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
python: (object.transition is not None) and (object.transition.getTransitionFormId() not in [\'\', None])
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
47
</string>
</value>
</item>
<item>
<key>
<string>
initial_value
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Variable
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
displayed
</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>
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/52.xml
deleted
100644 → 0
View file @
a10dd078
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Variable"
module=
"erp5.portal_type"
/>
</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>
automatic_update
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Id of client
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
52
</string>
</value>
</item>
<item>
<key>
<string>
initial_value
</string>
</key>
<value>
<string>
python: request.get(\'client_id\', None)
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Variable
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
client_id
</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>
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/55.xml
deleted
100644 → 0
View file @
a10dd078
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"State"
module=
"erp5.portal_type"
/>
</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>
categories
</string>
</key>
<value>
<tuple>
<string>
destination/workflow_module/vifib_configuration_workflow/30
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
55
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
State
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Standard BT5
</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>
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/56.xml
deleted
100644 → 0
View file @
a10dd078
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Transition"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<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>
comment
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</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>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
after_script_id
</string>
</key>
<value>
<string>
BusinessConfiguration_setupVifibStandardBT5
</string>
</value>
</item>
<item>
<key>
<string>
before_script_id
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
destination/workflow_module/vifib_configuration_workflow/55
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string>
Setup all standard bt for ERP5
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
guard_expression
</string>
</key>
<value>
<string>
python: True
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
56
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Transition
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Setup standard BT5
</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>
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/59.xml
deleted
100644 → 0
View file @
a10dd078
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Variable"
module=
"erp5.portal_type"
/>
</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>
automatic_update
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
59
</string>
</value>
</item>
<item>
<key>
<string>
initial_value
</string>
</key>
<value>
<string>
python: request.get(\'transition\', None)
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Variable
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
transition
</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>
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/63.xml
deleted
100644 → 0
View file @
a10dd078
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"State"
module=
"erp5.portal_type"
/>
</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>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
63
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
State
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
End
</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>
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/64.xml
deleted
100644 → 0
View file @
a10dd078
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Transition"
module=
"erp5.portal_type"
/>
</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>
categories
</string>
</key>
<value>
<tuple>
<string>
destination/workflow_module/vifib_configuration_workflow/63
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
guard_expression
</string>
</key>
<value>
<string>
python: True
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
64
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Transition
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Finalize
</string>
</value>
</item>
<item>
<key>
<string>
transition_form_id
</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>
master/bt5/vifib_configurator/PathTemplateItem/workflow_module/vifib_configuration_workflow/default_image.xml
deleted
100644 → 0
View file @
a10dd078
This diff is collapsed.
Click to expand it.
master/bt5/vifib_configurator/SkinTemplateItem/portal_skins/vifib_configurator.xml
deleted
100644 → 0
View file @
a10dd078
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Folder"
module=
"OFS.Folder"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
business_template_skin_layer_priority
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
float
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
business_template_skin_layer_priority
</string>
</key>
<value>
<float>
51.0
</float>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
vifib_configurator
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_configurator/SkinTemplateItem/portal_skins/vifib_configurator/BusinessConfiguration_invokePromiseAlarmList.xml
deleted
100644 → 0
View file @
a10dd078
<?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>
"""\n
Solve all alarms which starts with id as "promise_vifib*".\n
\n
(rafael): This approach could be generalized on \n
configurator level, by providing a list of \n
alarms to be invoked always.\n
"""\n
context.BusinessConfiguration_invokeSlapOSMasterPromiseAlarmList()\n
\n
# This script only complements slapos_configurator definition\n
# with the code not yet rebranded/migrated.\n
\n
for alarm in context.portal_alarms.contentValues():\n
alarm_id = alarm.getId()\n
if alarm_id.startswith("promise_vifib"):\n
alarm.solve()\n
</string>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
BusinessConfiguration_invokePromiseAlarmList
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_configurator/SkinTemplateItem/portal_skins/vifib_configurator/BusinessConfiguration_setupVifibStandardBT5.xml
deleted
100644 → 0
View file @
a10dd078
<?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
\n
bt5_update_catalog_list = (\'erp5_ingestion_mysql_innodb_catalog\',\n
\'slapos_cloud\')\n
\n
bt5_installation_list = bt5_update_catalog_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_list))\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_setupVifibStandardBT5
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Setup standard ERP5 business templates
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_configurator/bt/change_log
deleted
100644 → 0
View file @
a10dd078
2011-06-06 rafael
* Initial Release
\ No newline at end of file
master/bt5/vifib_configurator/bt/copyright_list
deleted
100644 → 0
View file @
a10dd078
Copyright (c) 2011 Vifib SARL
\ No newline at end of file
master/bt5/vifib_configurator/bt/dependency_list
deleted
100644 → 0
View file @
a10dd078
erp5_configurator
slapos_configurator
\ No newline at end of file
master/bt5/vifib_configurator/bt/description
deleted
100644 → 0
View file @
a10dd078
Configuration workflow for create a SlapOS master.
\ No newline at end of file
master/bt5/vifib_configurator/bt/license
deleted
100644 → 0
View file @
a10dd078
GPL
\ No newline at end of file
master/bt5/vifib_configurator/bt/maintainer_list
deleted
100644 → 0
View file @
a10dd078
rafael
\ No newline at end of file
master/bt5/vifib_configurator/bt/publication_url
deleted
100644 → 0
View file @
a10dd078
None
\ No newline at end of file
master/bt5/vifib_configurator/bt/revision
deleted
100644 → 0
View file @
a10dd078
42
\ No newline at end of file
master/bt5/vifib_configurator/bt/short_title
deleted
100644 → 0
View file @
a10dd078
None
\ No newline at end of file
master/bt5/vifib_configurator/bt/template_format_version
deleted
100644 → 0
View file @
a10dd078
1
\ No newline at end of file
master/bt5/vifib_configurator/bt/template_path_list
deleted
100644 → 0
View file @
a10dd078
business_configuration_module/vifib_legacy_configuration
workflow_module/vifib_configuration_workflow
workflow_module/vifib_configuration_workflow/**
\ No newline at end of file
master/bt5/vifib_configurator/bt/template_skin_id_list
deleted
100644 → 0
View file @
a10dd078
vifib_configurator
\ No newline at end of file
master/bt5/vifib_configurator/bt/title
deleted
100644 → 0
View file @
a10dd078
vifib_configurator
\ No newline at end of file
master/bt5/vifib_configurator/bt/version
deleted
100644 → 0
View file @
a10dd078
Vifib 0.5
\ No newline at end of file
master/product/SlapOS/tests/testSlapOSMixin.py
View file @
8ddd1e40
...
@@ -53,23 +53,10 @@ class testSlapOSMixin(ERP5TypeTestCase):
...
@@ -53,23 +53,10 @@ class testSlapOSMixin(ERP5TypeTestCase):
self
.
portal
.
portal_caches
.
clearAllCache
()
self
.
portal
.
portal_caches
.
clearAllCache
()
self
.
portal
.
portal_workflow
.
refreshWorklistCache
()
self
.
portal
.
portal_workflow
.
refreshWorklistCache
()
def
getDefaultSitePreferenceId
(
self
):
#def getDefaultSitePreferenceId(self):
"""Default id, usefull method to override
# """Default id, usefull method to override
"""
# """
return
"slapos_default_system_preference"
# return "slapos_default_system_preference"
def
setUpMemcached
(
self
):
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
\
_getVolatileMemcachedServerDict
,
_getPersistentMemcachedServerDict
memcached_tool
=
self
.
getPortal
().
portal_memcached
# setup default volatile distributed memcached
connection_dict
=
_getVolatileMemcachedServerDict
()
url_string
=
'%(hostname)s:%(port)s'
%
connection_dict
memcached_tool
.
default_memcached_plugin
.
setUrlString
(
url_string
)
# setup default persistent distributed memcached
connection_dict
=
_getPersistentMemcachedServerDict
()
url_string
=
'%(hostname)s:%(port)s'
%
connection_dict
memcached_tool
.
persistent_memcached_plugin
.
setUrlString
(
url_string
)
def
createAlarmStep
(
self
):
def
createAlarmStep
(
self
):
def
makeCallAlarm
(
alarm
):
def
makeCallAlarm
(
alarm
):
...
@@ -87,14 +74,8 @@ class testSlapOSMixin(ERP5TypeTestCase):
...
@@ -87,14 +74,8 @@ class testSlapOSMixin(ERP5TypeTestCase):
setattr
(
self
,
'stepCall'
+
convertToUpperCase
(
alarm
.
getId
())
\
setattr
(
self
,
'stepCall'
+
convertToUpperCase
(
alarm
.
getId
())
\
+
'Alarm'
,
makeCallAlarm
(
alarm
))
+
'Alarm'
,
makeCallAlarm
(
alarm
))
def
setupPortalCertificateAuthority
(
self
):
def
createCertificateAuthorityFile
(
self
):
"""Sets up portal_certificate_authority"""
"""Sets up portal_certificate_authority"""
if
not
self
.
portal
.
hasObject
(
'portal_certificate_authority'
):
self
.
portal
.
manage_addProduct
[
'ERP5'
].
manage_addTool
(
'ERP5 Certificate Authority Tool'
,
None
)
self
.
portal
.
portal_certificate_authority
.
certificate_authority_path
=
\
os
.
environ
[
'TEST_CA_PATH'
]
transaction
.
commit
()
# reset test CA to have it always count from 0
# reset test CA to have it always count from 0
open
(
os
.
path
.
join
(
os
.
environ
[
'TEST_CA_PATH'
],
'serial'
),
'w'
).
write
(
'01'
)
open
(
os
.
path
.
join
(
os
.
environ
[
'TEST_CA_PATH'
],
'serial'
),
'w'
).
write
(
'01'
)
open
(
os
.
path
.
join
(
os
.
environ
[
'TEST_CA_PATH'
],
'crlnumber'
),
'w'
).
write
(
open
(
os
.
path
.
join
(
os
.
environ
[
'TEST_CA_PATH'
],
'crlnumber'
),
'w'
).
write
(
...
@@ -130,6 +111,13 @@ class testSlapOSMixin(ERP5TypeTestCase):
...
@@ -130,6 +111,13 @@ class testSlapOSMixin(ERP5TypeTestCase):
"""
"""
return
getattr
(
self
.
getPortal
(),
'acl_users'
,
None
)
return
getattr
(
self
.
getPortal
(),
'acl_users'
,
None
)
def
setUpOnce
(
self
):
# Reload promise and include yet another bt5 path.
self
.
loadPromise
(
searchable_business_template_list
=
[
"erp5_core"
,
"erp5_base"
,
"slapos_configurator"
])
self
.
portal
.
portal_alarms
.
promise_template_tool_configuration
.
solve
()
transaction
.
commit
()
self
.
launchConfigurator
()
def
afterSetUp
(
self
):
def
afterSetUp
(
self
):
self
.
login
()
self
.
login
()
self
.
createAlarmStep
()
self
.
createAlarmStep
()
...
@@ -162,16 +150,30 @@ class testSlapOSMixin(ERP5TypeTestCase):
...
@@ -162,16 +150,30 @@ class testSlapOSMixin(ERP5TypeTestCase):
self
.
portal
.
email_from_address
=
'romain@nexedi.com'
self
.
portal
.
email_from_address
=
'romain@nexedi.com'
self
.
portal
.
email_to_address
=
'romain@nexedi.com'
self
.
portal
.
email_to_address
=
'romain@nexedi.com'
def
getBusinessConfiguration
(
self
):
return
self
.
portal
.
business_configuration_module
[
\
"slapos_master_configuration_workflow"
]
def
launchConfigurator
(
self
):
self
.
login
()
# Create new Configuration
business_configuration
=
self
.
getBusinessConfiguration
()
response_dict
=
{}
while
response_dict
.
get
(
"command"
,
"next"
)
!=
"install"
:
response_dict
=
self
.
portal
.
portal_configurator
.
_next
(
business_configuration
,
{})
transaction
.
commit
()
self
.
tic
()
self
.
portal
.
portal_configurator
.
startInstallation
(
business_configuration
,
REQUEST
=
self
.
portal
.
REQUEST
)
def
bootstrapSite
(
self
):
def
bootstrapSite
(
self
):
self
.
setupPortalAlarms
()
self
.
setupPortalAlarms
()
self
.
setupPortalCertificateAuthority
()
self
.
createCertificateAuthorityFile
()
self
.
setUpMemcached
()
self
.
clearCache
()
self
.
clearCache
()
# Invoke Post-configurator script, this invokes all
# alarms related to configuration.
self
.
portal
.
BusinessConfiguration_invokeSlapOSMasterPromiseAlarmList
()
transaction
.
commit
()
transaction
.
commit
()
self
.
tic
()
self
.
tic
()
...
@@ -181,71 +183,12 @@ class testSlapOSMixin(ERP5TypeTestCase):
...
@@ -181,71 +183,12 @@ class testSlapOSMixin(ERP5TypeTestCase):
"""
"""
result
=
[
result
=
[
'erp5_promise'
,
'erp5_promise'
,
'erp5_upgrader'
,
'slapos_upgrader'
,
'erp5_full_text_myisam_catalog'
,
'erp5_full_text_myisam_catalog'
,
'erp5_core_proxy_field_legacy'
,
'erp5_core_proxy_field_legacy'
,
'erp5_base'
,
'erp5_base'
,
'erp5_administration'
,
'erp5_workflow'
,
'erp5_workflow'
,
'erp5_configurator'
,
'erp5_configurator'
,
'slapos_configurator'
,
'slapos_configurator'
,
'erp5_simulation'
,
'erp5_pdm'
,
'erp5_trade'
,
'erp5_tiosafe_core'
,
'erp5_item'
,
'erp5_forge'
,
'erp5_ingestion_mysql_innodb_catalog'
,
'erp5_ingestion'
,
'erp5_crm'
,
'erp5_system_event'
,
'erp5_secure_payment'
,
'erp5_payzen_secure_payment'
,
'erp5_ooo_import'
,
'erp5_odt_style'
,
'erp5_ods_style'
,
'erp5_jquery'
,
'erp5_jquery_ui'
,
'erp5_dhtml_style'
,
'erp5_knowledge_pad'
,
'erp5_web'
,
'erp5_rss_style'
,
'erp5_dms'
,
'erp5_content_translation'
,
'erp5_software_pdm'
,
'erp5_computer_immobilisation'
,
'erp5_open_trade'
,
'erp5_accounting'
,
'erp5_commerce'
,
'erp5_xhtml_jquery_style'
,
'erp5_credential'
,
'erp5_km'
,
'erp5_web_download_theme'
,
'erp5_web_shacache'
,
'erp5_data_set'
,
'erp5_web_shadir'
,
'erp5_accounting'
,
'erp5_invoicing'
,
'erp5_simplified_invoicing'
,
'erp5_credential_oauth2'
,
'erp5_accounting_l10n_fr'
,
'erp5_bearer_token'
,
'erp5_access_token'
,
'erp5_project'
,
'slapos_cache'
,
'slapos_cloud'
,
'slapos_slap_tool'
,
'slapos_category'
,
'slapos_rest_api_tool_portal_type'
,
'slapos_rest_api'
,
'slapos_hypermedia'
,
'slapos_pdm'
,
'slapos_crm'
,
'slapos_accounting'
,
'slapos_payzen'
,
'slapos_web'
,
'slapos_erp5'
,
]
]
return
result
return
result
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment