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
Paul Graydon
slapos.core
Commits
c969e980
Commit
c969e980
authored
Jul 06, 2021
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_configurator: Migrate workflow to the new format
parent
e4cc1058
Changes
31
Hide whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
834 additions
and
550 deletions
+834
-550
master/bt5/slapos_configurator/PathTemplateItem/business_configuration_module/slapos_master_configuration_workflow.xml
...iguration_module/slapos_master_configuration_workflow.xml
+1
-1
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow.xml
.../portal_workflow/slapos_master_configuration_workflow.xml
+8
-23
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/default_image.xml
...ow/slapos_master_configuration_workflow/default_image.xml
+0
-0
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/state_customer_bt.xml
...lapos_master_configuration_workflow/state_customer_bt.xml
+42
-0
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/state_download.xml
...w/slapos_master_configuration_workflow/state_download.xml
+44
-0
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/state_draft.xml
...flow/slapos_master_configuration_workflow/state_draft.xml
+24
-0
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/state_end.xml
...rkflow/slapos_master_configuration_workflow/state_end.xml
+42
-0
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/state_standard_bt5.xml
...apos_master_configuration_workflow/state_standard_bt5.xml
+44
-0
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/state_start.xml
...flow/slapos_master_configuration_workflow/state_start.xml
+44
-0
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/transition_finalize.xml
...pos_master_configuration_workflow/transition_finalize.xml
+63
-0
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/transition_install.xml
...apos_master_configuration_workflow/transition_install.xml
+22
-45
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/transition_setup_customer_bt5.xml
..._configuration_workflow/transition_setup_customer_bt5.xml
+25
-44
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/transition_setup_standard_bt5.xml
..._configuration_workflow/transition_setup_standard_bt5.xml
+71
-0
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/variable_action.xml
.../slapos_master_configuration_workflow/variable_action.xml
+32
-0
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/variable_actor.xml
...w/slapos_master_configuration_workflow/variable_actor.xml
+32
-0
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/variable_client_id.xml
...apos_master_configuration_workflow/variable_client_id.xml
+42
-0
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/variable_comment.xml
...slapos_master_configuration_workflow/variable_comment.xml
+32
-0
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/variable_configuration_save_url.xml
...onfiguration_workflow/variable_configuration_save_url.xml
+44
-0
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/variable_displayed.xml
...apos_master_configuration_workflow/variable_displayed.xml
+44
-0
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/variable_error_message.xml
..._master_configuration_workflow/variable_error_message.xml
+28
-0
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/variable_history.xml
...slapos_master_configuration_workflow/variable_history.xml
+40
-0
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/variable_portal_type.xml
...os_master_configuration_workflow/variable_portal_type.xml
+32
-0
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/variable_time.xml
...ow/slapos_master_configuration_workflow/variable_time.xml
+32
-0
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/variable_transition.xml
...pos_master_configuration_workflow/variable_transition.xml
+44
-0
master/bt5/slapos_configurator/PathTemplateItem/workflow_module/slapos_master_configuration_workflow/29.xml
...rkflow_module/slapos_master_configuration_workflow/29.xml
+0
-99
master/bt5/slapos_configurator/PathTemplateItem/workflow_module/slapos_master_configuration_workflow/42.xml
...rkflow_module/slapos_master_configuration_workflow/42.xml
+0
-78
master/bt5/slapos_configurator/PathTemplateItem/workflow_module/slapos_master_configuration_workflow/43.xml
...rkflow_module/slapos_master_configuration_workflow/43.xml
+0
-78
master/bt5/slapos_configurator/PathTemplateItem/workflow_module/slapos_master_configuration_workflow/45.xml
...rkflow_module/slapos_master_configuration_workflow/45.xml
+0
-78
master/bt5/slapos_configurator/PathTemplateItem/workflow_module/slapos_master_configuration_workflow/47.xml
...rkflow_module/slapos_master_configuration_workflow/47.xml
+0
-101
master/bt5/slapos_configurator/TestTemplateItem/portal_components/test.erp5.testSlapOSConfigurator.py
...tem/portal_components/test.erp5.testSlapOSConfigurator.py
+0
-1
master/bt5/slapos_configurator/bt/template_path_list
master/bt5/slapos_configurator/bt/template_path_list
+2
-2
No files found.
master/bt5/slapos_configurator/PathTemplateItem/business_configuration_module/slapos_master_configuration_workflow.xml
View file @
c969e980
...
...
@@ -64,7 +64,7 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
resource/
workflow_module
/slapos_master_configuration_workflow
</string>
<string>
resource/
portal_workflow
/slapos_master_configuration_workflow
</string>
</tuple>
</value>
</item>
...
...
master/bt5/slapos_configurator/PathTemplateItem/
workflow_module
/slapos_master_configuration_workflow.xml
→
master/bt5/slapos_configurator/PathTemplateItem/
portal_workflow
/slapos_master_configuration_workflow.xml
View file @
c969e980
...
...
@@ -12,23 +12,6 @@
<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>
...
...
@@ -45,10 +28,16 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
source/
workflow_module/slapos_master_configuration_workflow/1
</string>
<string>
source/
portal_workflow/slapos_master_configuration_workflow/state_start
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
configuration_after_script_id
</string>
</key>
<value>
<string>
BusinessConfiguration_invokeSlapOSMasterPromiseAlarmList
</string>
</value>
...
...
@@ -70,13 +59,9 @@
<value>
<string>
current_state
</string>
</value>
</item>
<item>
<key>
<string>
state_variable
_name
</string>
</key>
<key>
<string>
state_variable
</string>
</key>
<value>
<string>
current_state
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Slapos Master Configuration Workflow
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
master/bt5/slapos_configurator/PathTemplateItem/
workflow_module
/slapos_master_configuration_workflow/default_image.xml
→
master/bt5/slapos_configurator/PathTemplateItem/
portal_workflow
/slapos_master_configuration_workflow/default_image.xml
View file @
c969e980
File moved
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/state_customer_bt.xml
0 → 100644
View file @
c969e980
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow State"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
destination/portal_workflow/slapos_master_configuration_workflow/transition_install
</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>
state_customer_bt
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Workflow State
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Customer BT
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_configurator/PathTemplateItem/
workflow_module/slapos_master_configuration_workflow/11
.xml
→
master/bt5/slapos_configurator/PathTemplateItem/
portal_workflow/slapos_master_configuration_workflow/state_download
.xml
View file @
c969e980
...
...
@@ -2,34 +2,22 @@
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"State"
module=
"erp5.portal_type"
/>
<global
name=
"
Workflow
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>
<key>
<string>
categories
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
<tuple>
<string>
destination/portal_workflow/slapos_master_configuration_workflow/transition_finalize
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
c
ategories
</string>
</key>
<key>
<string>
c
omment
</string>
</key>
<value>
<tuple>
<string>
destination/workflow_module/slapos_master_configuration_workflow/64
</string>
</tuple>
<none/>
</value>
</item>
<item>
...
...
@@ -40,11 +28,11 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
11
</string>
</value>
<value>
<string>
state_download
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
State
</string>
</value>
<value>
<string>
Workflow
State
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
...
...
@@ -53,26 +41,4 @@
</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/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/state_draft.xml
0 → 100644
View file @
c969e980
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow State"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
state_draft
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Workflow State
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Draft
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_configurator/PathTemplateItem/
workflow_module/slapos_master_configuration_workflow/63
.xml
→
master/bt5/slapos_configurator/PathTemplateItem/
portal_workflow/slapos_master_configuration_workflow/state_end
.xml
View file @
c969e980
...
...
@@ -2,26 +2,20 @@
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"State"
module=
"erp5.portal_type"
/>
<global
name=
"
Workflow
State"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_count
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<
persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent
>
<
tuple/
>
</value>
</item>
<item>
<key>
<string>
_mt_index
</string>
</key>
<key>
<string>
comment
</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>
<none/>
</value>
</item>
<item>
...
...
@@ -32,11 +26,11 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
63
</string>
</value>
<value>
<string>
state_end
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
State
</string>
</value>
<value>
<string>
Workflow
State
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
...
...
@@ -45,26 +39,4 @@
</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/slapos_configurator/PathTemplateItem/
workflow_module/slapos_master_configuration_workflow/5
5.xml
→
master/bt5/slapos_configurator/PathTemplateItem/
portal_workflow/slapos_master_configuration_workflow/state_standard_bt
5.xml
View file @
c969e980
...
...
@@ -2,34 +2,22 @@
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"State"
module=
"erp5.portal_type"
/>
<global
name=
"
Workflow
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>
<key>
<string>
categories
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
<tuple>
<string>
destination/portal_workflow/slapos_master_configuration_workflow/transition_setup_customer_bt5
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
c
ategories
</string>
</key>
<key>
<string>
c
omment
</string>
</key>
<value>
<tuple>
<string>
destination/workflow_module/slapos_master_configuration_workflow/30
</string>
</tuple>
<none/>
</value>
</item>
<item>
...
...
@@ -40,11 +28,11 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
5
5
</string>
</value>
<value>
<string>
state_standard_bt
5
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
State
</string>
</value>
<value>
<string>
Workflow
State
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
...
...
@@ -53,26 +41,4 @@
</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/slapos_configurator/PathTemplateItem/
workflow_module/slapos_master_configuration_workflow/1
.xml
→
master/bt5/slapos_configurator/PathTemplateItem/
portal_workflow/slapos_master_configuration_workflow/state_start
.xml
View file @
c969e980
...
...
@@ -2,34 +2,22 @@
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"State"
module=
"erp5.portal_type"
/>
<global
name=
"
Workflow
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>
<key>
<string>
categories
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
<tuple>
<string>
destination/portal_workflow/slapos_master_configuration_workflow/transition_setup_standard_bt5
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
c
ategories
</string>
</key>
<key>
<string>
c
omment
</string>
</key>
<value>
<tuple>
<string>
destination/workflow_module/slapos_master_configuration_workflow/56
</string>
</tuple>
<none/>
</value>
</item>
<item>
...
...
@@ -40,11 +28,11 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
1
</string>
</value>
<value>
<string>
state_start
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
State
</string>
</value>
<value>
<string>
Workflow
State
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
...
...
@@ -53,26 +41,4 @@
</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/slapos_configurator/PathTemplateItem/
workflow_module/slapos_master_configuration_workflow/64
.xml
→
master/bt5/slapos_configurator/PathTemplateItem/
portal_workflow/slapos_master_configuration_workflow/transition_finalize
.xml
View file @
c969e980
...
...
@@ -2,47 +2,50 @@
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Transition"
module=
"erp5.portal_type"
/>
<global
name=
"
Workflow
Transition"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_count
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
<tuple>
<string>
action_type/workflow
</string>
<string>
destination/portal_workflow/slapos_master_configuration_workflow/state_end
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_mt_index
</string>
</key>
<key>
<string>
comment
</string>
</key>
<value>
<
persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent
>
<
none/
>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<key>
<string>
description
</string>
</key>
<value>
<
persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent
>
<
none/
>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<key>
<string>
guard_expression
</string>
</key>
<value>
<string>
python: True
</string>
</value>
</item>
<item>
<key>
<string>
guard_permission
</string>
</key>
<value>
<tuple>
<string>
destination/workflow_module/slapos_master_configuration_workflow/63
</string>
<string>
Modify portal content
</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>
<value>
<string>
transition_finalize
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Transition
</string>
</value>
<value>
<string>
Workflow
Transition
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
...
...
@@ -57,26 +60,4 @@
</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/slapos_configurator/PathTemplateItem/
workflow_module/slapos_master_configuration_workflow/14
.xml
→
master/bt5/slapos_configurator/PathTemplateItem/
portal_workflow/slapos_master_configuration_workflow/transition_install
.xml
View file @
c969e980
...
...
@@ -2,28 +2,10 @@
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Transition"
module=
"erp5.portal_type"
/>
<global
name=
"
Workflow
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>
...
...
@@ -34,10 +16,17 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
destination/workflow_module/slapos_master_configuration_workflow/11
</string>
<string>
action_type/workflow
</string>
<string>
destination/portal_workflow/slapos_master_configuration_workflow/state_download
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
...
...
@@ -48,13 +37,21 @@
<key>
<string>
guard_expression
</string>
</key>
<value>
<string>
python: True
</string>
</value>
</item>
<item>
<key>
<string>
guard_permission
</string>
</key>
<value>
<tuple>
<string>
Modify portal content
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
14
</string>
</value>
<value>
<string>
transition_install
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Transition
</string>
</value>
<value>
<string>
Workflow
Transition
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
...
...
@@ -62,31 +59,11 @@
</item>
<item>
<key>
<string>
transition_form_id
</string>
</key>
<value>
<string>
BusinessConfiguration_displayDownloadForm
</string>
</value>
<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/slapos_configurator/PathTemplateItem/
workflow_module/slapos_master_configuration_workflow/30
.xml
→
master/bt5/slapos_configurator/PathTemplateItem/
portal_workflow/slapos_master_configuration_workflow/transition_setup_customer_bt5
.xml
View file @
c969e980
...
...
@@ -2,28 +2,10 @@
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Transition"
module=
"erp5.portal_type"
/>
<global
name=
"
Workflow
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>
...
...
@@ -32,10 +14,17 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
destination/workflow_module/slapos_master_configuration_workflow/29
</string>
<string>
action_type/workflow
</string>
<string>
destination/portal_workflow/slapos_master_configuration_workflow/state_customer_bt
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
...
...
@@ -46,41 +35,33 @@
<key>
<string>
guard_expression
</string>
</key>
<value>
<string>
python: True
</string>
</value>
</item>
<item>
<key>
<string>
guard_permission
</string>
</key>
<value>
<tuple>
<string>
Modify portal content
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
30
</string>
</value>
<value>
<string>
transition_setup_customer_bt5
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Transition
</string>
</value>
<value>
<string>
Workflow
Transition
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Setup customer BT5
</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/slapos_configurator/PathTemplateItem/
workflow_module/slapos_master_configuration_workflow/56
.xml
→
master/bt5/slapos_configurator/PathTemplateItem/
portal_workflow/slapos_master_configuration_workflow/transition_setup_standard_bt5
.xml
View file @
c969e980
...
...
@@ -2,45 +2,10 @@
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Transition"
module=
"erp5.portal_type"
/>
<global
name=
"
Workflow
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_setupSlapOSMasterStandardBT5
</string>
</value>
...
...
@@ -55,7 +20,8 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
destination/workflow_module/slapos_master_configuration_workflow/55
</string>
<string>
action_type/workflow
</string>
<string>
destination/portal_workflow/slapos_master_configuration_workflow/state_standard_bt5
</string>
</tuple>
</value>
</item>
...
...
@@ -73,41 +39,33 @@
<key>
<string>
guard_expression
</string>
</key>
<value>
<string>
python: True
</string>
</value>
</item>
<item>
<key>
<string>
guard_permission
</string>
</key>
<value>
<tuple>
<string>
Modify portal content
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
56
</string>
</value>
<value>
<string>
transition_setup_standard_bt5
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Transition
</string>
</value>
<value>
<string>
Workflow
Transition
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Setup standard BT5
</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/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/variable_action.xml
0 → 100644
View file @
c969e980
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Transition id
</string>
</value>
</item>
<item>
<key>
<string>
for_catalog
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
variable_action
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Workflow Variable
</string>
</value>
</item>
<item>
<key>
<string>
variable_default_expression
</string>
</key>
<value>
<string>
transition/getReference|nothing
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/variable_actor.xml
0 → 100644
View file @
c969e980
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Name of the user who performed transition
</string>
</value>
</item>
<item>
<key>
<string>
for_catalog
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
variable_actor
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Workflow Variable
</string>
</value>
</item>
<item>
<key>
<string>
variable_default_expression
</string>
</key>
<value>
<string>
user/getIdOrUserName
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_configurator/PathTemplateItem/
workflow_module/slapos_master_configuration_workflow/52
.xml
→
master/bt5/slapos_configurator/PathTemplateItem/
portal_workflow/slapos_master_configuration_workflow/variable_client_id
.xml
View file @
c969e980
...
...
@@ -2,75 +2,41 @@
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Variable"
module=
"erp5.portal_type"
/>
<global
name=
"
Workflow
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>
<key>
<string>
automatic_update
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<key>
<string>
comment
</string>
</key>
<value>
<
persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent
>
<
none/
>
</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>
<value>
<string>
variable_client_id
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Variable
</string>
</value>
<value>
<string>
Workflow
Variable
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
client_id
</string>
</value>
</item>
<item>
<key>
<string>
variable_default_expression
</string>
</key>
<value>
<string>
python: request.get(\'client_id\', None)
</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/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/variable_comment.xml
0 → 100644
View file @
c969e980
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Comment about transition
</string>
</value>
</item>
<item>
<key>
<string>
for_catalog
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
variable_comment
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Workflow Variable
</string>
</value>
</item>
<item>
<key>
<string>
variable_default_expression
</string>
</key>
<value>
<string>
python:state_change.kwargs.get(\'comment\', \'\')
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_configurator/PathTemplateItem/
workflow_module/slapos_master_configuration_workflow/46
.xml
→
master/bt5/slapos_configurator/PathTemplateItem/
portal_workflow/slapos_master_configuration_workflow/variable_configuration_save_url
.xml
View file @
c969e980
...
...
@@ -2,32 +2,20 @@
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Variable"
module=
"erp5.portal_type"
/>
<global
name=
"
Workflow
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>
<key>
<string>
automatic_update
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<key>
<string>
comment
</string>
</key>
<value>
<
persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent
>
<
none/
>
</value>
</item>
<item>
<key>
<string>
automatic_update
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
...
...
@@ -36,43 +24,21 @@
</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>
<value>
<string>
variable_configuration_save_url
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Variable
</string>
</value>
<value>
<string>
Workflow
Variable
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
configuration_save_url
</string>
</value>
</item>
<item>
<key>
<string>
variable_default_expression
</string>
</key>
<value>
<string>
python: request.get(\'configuration_save_url\', None)
</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/slapos_configurator/PathTemplateItem/
workflow_module/slapos_master_configuration_workflow/44
.xml
→
master/bt5/slapos_configurator/PathTemplateItem/
portal_workflow/slapos_master_configuration_workflow/variable_displayed
.xml
View file @
c969e980
...
...
@@ -2,77 +2,43 @@
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Variable"
module=
"erp5.portal_type"
/>
<global
name=
"
Workflow
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>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
44
</string>
</value>
<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>
i
nitial_value
</string>
</key>
<value>
<string>
python: None
</string>
</value>
<key>
<string>
i
d
</string>
</key>
<value>
<string>
variable_displayed
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Variable
</string>
</value>
<value>
<string>
Workflow
Variable
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
comment
</string>
</value>
<value>
<string>
displayed
</string>
</value>
</item>
<item>
<key>
<string>
variable_default_expression
</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/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/variable_error_message.xml
0 → 100644
View file @
c969e980
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Error message if validation failed
</string>
</value>
</item>
<item>
<key>
<string>
for_catalog
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
variable_error_message
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Workflow Variable
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/variable_history.xml
0 → 100644
View file @
c969e980
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
automatic_update
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Provides access to workflow history
</string>
</value>
</item>
<item>
<key>
<string>
for_catalog
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
variable_history
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Workflow Variable
</string>
</value>
</item>
<item>
<key>
<string>
status_included
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
variable_default_expression
</string>
</key>
<value>
<string>
state_change/getHistory
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/variable_portal_type.xml
0 → 100644
View file @
c969e980
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
automatic_update
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Portal type (used as filter for worklists)
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
variable_portal_type
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Workflow Variable
</string>
</value>
</item>
<item>
<key>
<string>
status_included
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_configurator/PathTemplateItem/portal_workflow/slapos_master_configuration_workflow/variable_time.xml
0 → 100644
View file @
c969e980
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Transition timestamp
</string>
</value>
</item>
<item>
<key>
<string>
for_catalog
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
variable_time
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Workflow Variable
</string>
</value>
</item>
<item>
<key>
<string>
variable_default_expression
</string>
</key>
<value>
<string>
state_change/getDateTime
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_configurator/PathTemplateItem/
workflow_module/slapos_master_configuration_workflow/59
.xml
→
master/bt5/slapos_configurator/PathTemplateItem/
portal_workflow/slapos_master_configuration_workflow/variable_transition
.xml
View file @
c969e980
...
...
@@ -2,32 +2,20 @@
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Variable"
module=
"erp5.portal_type"
/>
<global
name=
"
Workflow
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>
<key>
<string>
automatic_update
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<key>
<string>
comment
</string>
</key>
<value>
<
persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent
>
<
none/
>
</value>
</item>
<item>
<key>
<string>
automatic_update
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
...
...
@@ -36,43 +24,21 @@
</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>
<value>
<string>
variable_transition
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Variable
</string>
</value>
<value>
<string>
Workflow
Variable
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
transition
</string>
</value>
</item>
<item>
<key>
<string>
variable_default_expression
</string>
</key>
<value>
<string>
python: request.get(\'transition\', None)
</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/slapos_configurator/PathTemplateItem/workflow_module/slapos_master_configuration_workflow/29.xml
deleted
100644 → 0
View file @
e4cc1058
<?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/slapos_master_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/slapos_configurator/PathTemplateItem/workflow_module/slapos_master_configuration_workflow/42.xml
deleted
100644 → 0
View file @
e4cc1058
<?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/slapos_configurator/PathTemplateItem/workflow_module/slapos_master_configuration_workflow/43.xml
deleted
100644 → 0
View file @
e4cc1058
<?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/slapos_configurator/PathTemplateItem/workflow_module/slapos_master_configuration_workflow/45.xml
deleted
100644 → 0
View file @
e4cc1058
<?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/slapos_configurator/PathTemplateItem/workflow_module/slapos_master_configuration_workflow/47.xml
deleted
100644 → 0
View file @
e4cc1058
<?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/slapos_configurator/TestTemplateItem/portal_components/test.erp5.testSlapOSConfigurator.py
View file @
c969e980
...
...
@@ -251,7 +251,6 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin):
'upgrade_decision_module'
,
'web_page_module'
,
'web_site_module'
,
'workflow_module'
,
]
# If mixin contains a custom definition that introduce new business templated from
# the project scope, them include it on expected list.
...
...
master/bt5/slapos_configurator/bt/template_path_list
View file @
c969e980
business_configuration_module/slapos_master_configuration_workflow
workflow_module/slapos_master_configuration_workflow
workflow_module/slapos_master_configuration_workflow/**
\ No newline at end of file
portal_workflow/slapos_master_configuration_workflow
portal_workflow/slapos_master_configuration_workflow/**
\ No newline at end of file
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