Commit 33385ce3 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_cloud: Fixup name convetions on scripts

parent 0bb3ae23
Pipeline #10853 failed with stage
in 0 seconds
......@@ -4,7 +4,7 @@ portal.portal_catalog.searchAndActivate(
portal_type=["Slave Instance", "Software Instance"],
validation_state="validated",
specialise_validation_state="archived",
method_id='Instance_tryToGarbageCollect',
method_id='SoftwareInstance_tryToGarbageCollect',
activate_kw={'tag': tag},
**{"slapos_item.slap_state": ("start_requested", "stop_requested")}
)
......
......@@ -7,7 +7,7 @@ portal.portal_catalog.searchAndActivate(
select_dict=select_dict,
left_join_list=select_dict.keys(),
method_id='Instance_tryToGarbageCollectNonAllocatedRootTree',
method_id='SoftwareInstance_tryToGarbageCollectNonAllocatedRootTree',
activate_kw={'tag': tag},
**{"slapos_item.slap_state": ['start_requested', 'stop_requested']}
)
......
......@@ -4,7 +4,7 @@ portal.portal_catalog.searchAndActivate(
portal_type=["Software Instance", "Slave Instance"],
default_aggregate_relative_url="computer_module/%/%",
validation_state="invalidated",
method_id='Instance_tryToUnallocatePartition',
method_id='SoftwareInstance_tryToUnallocatePartition',
activate_kw={'tag': tag}
)
......
......@@ -8,7 +8,7 @@ portal.portal_catalog.searchAndActivate(
portal_type=["Slave Instance", "Software Instance"],
validation_state="validated",
specialise_validation_state="validated",
method_id='Instance_tryToStopCollect',
method_id='SoftwareInstance_tryToStopCollect',
activate_kw={'tag': tag},
**{"slapos_item.slap_state": "start_requested"}
)
......
......@@ -54,7 +54,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Instance_tryToGarbageCollect</string> </value>
<value> <string>SoftwareInstance_tryToGarbageCollect</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -54,7 +54,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Instance_tryToGarbageCollectNonAllocatedRootTree</string> </value>
<value> <string>SoftwareInstance_tryToGarbageCollectNonAllocatedRootTree</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -54,7 +54,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Instance_tryToStopCollect</string> </value>
<value> <string>SoftwareInstance_tryToStopCollect</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -54,7 +54,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Instance_tryToUnallocatePartition</string> </value>
<value> <string>SoftwareInstance_tryToUnallocatePartition</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -100,11 +100,13 @@
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
<global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
</pickle>
<pickle>
<tuple>
<none/>
<dictionary>
<item>
<key> <string>_log</string> </key>
<value>
<list>
<dictionary>
<item>
......@@ -117,7 +119,9 @@
</item>
</dictionary>
</list>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment