From 51b6a73c9e1a2568349956db94eeb756fdb05718 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Tue, 14 Jun 2011 17:43:29 +0200 Subject: [PATCH] Fetch SLA from software instance. --- .../scripts/SoftwareInstance_requestComputerPartition.xml | 4 ++-- master/bt5/vifib_base/bt/revision | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/master/bt5/vifib_base/WorkflowTemplateItem/portal_workflow/software_instance_slap_interface_workflow/scripts/SoftwareInstance_requestComputerPartition.xml b/master/bt5/vifib_base/WorkflowTemplateItem/portal_workflow/software_instance_slap_interface_workflow/scripts/SoftwareInstance_requestComputerPartition.xml index aa2b76bd7..cae7b5924 100644 --- a/master/bt5/vifib_base/WorkflowTemplateItem/portal_workflow/software_instance_slap_interface_workflow/scripts/SoftwareInstance_requestComputerPartition.xml +++ b/master/bt5/vifib_base/WorkflowTemplateItem/portal_workflow/software_instance_slap_interface_workflow/scripts/SoftwareInstance_requestComputerPartition.xml @@ -1,4 +1,4 @@ -<?xml version="1.0"?> +<?xml vers_n="1.0"?> <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> @@ -61,7 +61,7 @@ hosting_subscription_uid = state_change.kwargs[\'hosting_subscription_uid\']\n shared = state_change.kwargs[\'shared\']\n software_type = state_change.kwargs["software_type"]\n tag = state_change.kwargs[\'tag\']\n -filter_kw = state_change.kwargs["filter_kw"]\n +filter_kw = software_instance.getSlaXmlAsDict()\n \n # Assertion: No packing list line should be related to this software instance\n packing_list_line = software_instance.getAggregateRelatedValue(portal_type=\'Sale Packing List Line\')\n diff --git a/master/bt5/vifib_base/bt/revision b/master/bt5/vifib_base/bt/revision index c72784c8c..7371afb09 100644 --- a/master/bt5/vifib_base/bt/revision +++ b/master/bt5/vifib_base/bt/revision @@ -1 +1 @@ -235 \ No newline at end of file +236 \ No newline at end of file -- 2.30.9